Is it possible to have OR with LIke, I am trying to do the following , whcih is obviously wrong as it is not working
select* from products, where category_id = 'ph100' and features_camera LIKE '%2%' or '%3%' order by auto_no desc LIMIT 0,10
It is innner class ....
To create an object of inner class we do something like this
OuterClass.StaticNestedClass nestedObject = new OuterClass.StaticNestedClass();
Now in the code below
UserAccountList.AccountData userAccountListData =
UserAccountListProxy.setUserAccountList(...
Hi , I have never seen this kind a variable type UserAccountList.AccountData, whats is going on here ?
UserAccountList.AccountData userAccountListData =
UserAccountListProxy.setUserAccountList( req, res,
userIDStr, sessionIDStr, null...
Hi, what am i doing wrong here. I have couple of variable in the constructor but when try
to print them i get errors
public class HelloWorldApp2 {
HelloWorldApp2 (String var1, int var2){
String instanceVariable1 = var1;
int instanceVariable2 =var2;
}
public static void main(String...
Hi, I am trying to understand how exception work. I understand the code below.
try {
BufferedReader in = new BufferedReader(new FileReader("infilename.txt"));
String str;
while ((str = in.readLine()) != null) {
//process(str)...
How can I use javascript and css to change the background color of my text box
I tried the following that did not work
.textHilight {
background:00BFFF;
}
<input type="text" class="textbox" name="toDate" id="toDate" size=10 maxlength=10 value=>
document.getElementById('toDate').class=...
I am trying to understand how exception work. I understand the code below.
try {
BufferedReader in = new BufferedReader(new FileReader("infilename.txt"));
String str;
while ((str = in.readLine()) != null) {
//process(str);
System.out.print("it did not...
public class HelloWorldApp1 {
//delaring constructor
public HelloWorldApp1()
{
int grade1=7;
}
....
Hi, if I have a constructor in my programe now how can I access the value of grade1.
When in my method if I do System.out.print(grade1); i get error
in my \jdk1.5.0_06\bin where I have javac I made another folder in bin called MySamples
now in the bin folder i do the following
javac \MySamples\HelloWorldApp.java I get the error saying "can not read \MySamples\HelloWorldApp.java
what am i doing wrong here?
what is wrong with the code here, no matter what radio button I pick, even if I don't pick any I get the value "by_date"
<script>
function submitRequest() {
var test=document.getElementById('dateType').value;
alert(test); }
</script>
<html>
<head>
<meta...
Hi, i know a little about regex. Following Regex is for date to have the following patteren, mm/dd/yyyy or mm-dd-yyyy or mm.dd.yyyyy
I want to have it only mm/dd/yyyy
So i want to chnage it , i believe I have to change it at all place where it has (\/|-|\.)??
I did the following (\/)...
...day and then alert to make sure. but when I create date object and print it gives me something totally different, i don't know what is going on.
************************************
<SCRIPT LANGUAGE="JavaScript">
function show_calendar(str_target, str_datetime) {
var arr_months...
what this Date object suppose to have , when I alert , it gives me wrong month, gives me July instead of June.
<script>
birthday = new Date(2007,06,03)
alert(birthday);
</script>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.