I have this statement for sql:
SELECT * FROM `used_autos` WHERE `mileage` >= 25000 AND <= 50000 ORDER by make
I'm trying to pull all used autos where the mileage is greater than or equal to 25,000 and less than or equal to 50,000. Obviously, I have something wrong in my syntax.
Thanks in...
I have this sql statement:
SELECT * FROM projects WHERE `username` = 'FAA' OR `username` = 'faa' AND `password` = 'ASW2004' OR `password` = 'asw2004'
in order to check for whether for the correct combination whether the user used upper or lower case. It's returning 2 rows from the database but...
I changed the function name, as recommended, and it not only isn't clearing the form, but I'm getting an "Error on page" message in the info line at the bottom of the screen when I click on the Reset button.
I have a file where I want a Reset button to clear the form.
I have put
<SCRIPT LANGUAGE="JavaScript">
function clear(form) {
document.form1.wid.value="";
document.form1.heigh.value="";
}
</script>
as the script within the head codes and
<INPUT TYPE="reset" VALUE="=RESET="...
I know this should be a piece of cake but I've looked at the code until I'm foggy-eyed and can't see my problem; maybe a fresh pair of eyes can spot the problem.
I have two php pages; I "think" I have identical code on the reset button for both but cannot get it to refresh the fields to empty...
I need to select two projects from my database. I have the statement:
Select * from projects WHERE `project_name` = "A New Project" && WHERE `project_name` = "John's Project"
It doesn't like that; what is the syntax for selecting multiple entries? I tried it without the second "WHERE" and...
I have a php which takes input from a form. I do error-checking on what the user has keyed in; if there are problems, I re-display the form and populate the fields with what they originally keyed in. I have the program working with the exception of the "description" field which comes from a text...
I have a regular vanilla form with 2 dropdown menus. An AOL friend does not see the dropdown choices - that area is just blank. Is it AOL and, if so, how can I fix it so AOL users see the choices?
Thanks in advance.
Anna Sue
I am new to PHP and I know this is a very simple question; please forgive me.
I want to write a function that will print an entire table in html.
I have:
function writetable() {
?>
"ALL THE HTML TABLE STUFF"
<?php
}
then I try calling the function as:
writetable();
I'm getting an error -...
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.