Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: annasue
  • Order by date
  1. annasue

    SELECT STATEMENT PROBLEM

    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...
  2. annasue

    Checking username/password

    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...
  3. annasue

    Clearing Form with onclick

    Thanks to everyone who replied - the last code worked like a jewel.
  4. annasue

    Clearing Form with onclick

    Can I just delete that wid part? As I stated, I know practically nothing about javascripting. I just want a function to clear the form contents.
  5. annasue

    Clearing Form with onclick

    It says: Line: 7 Char: 4 Error: 'wid' is null or not an object Code: 0 URL: http://www.webs2impress.com/imperial/register2.php
  6. annasue

    Clearing Form with onclick

    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.
  7. annasue

    Clearing Form with onclick

    I tried that but it still isn't clearing the form.
  8. annasue

    Clearing Form with onclick

    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="...
  9. annasue

    reset button not refreshing

    Sorry, you get their through register.php - try registering there and when you use the submit button, it displays register2.php.
  10. annasue

    reset button not refreshing

    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...
  11. annasue

    Multiple &quot;WHERE's&quot;

    Thank you so much. The OR worked like a charm!
  12. annasue

    Multiple &quot;WHERE's&quot;

    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...
  13. annasue

    Text not display in form field

    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...
  14. annasue

    Dropdowns (Forms) AOL

    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
  15. annasue

    Functions - writing and calling

    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 -...
  16. annasue

    PHP - printing all data from form

    Is there a way, like in perl, to print all the data being returned to your .php file from a form? I have a Submit button and "think" I have it coded correctly but if I test: if ($submit) I get a false. Thanks in advance.
  17. annasue

    Inserting today's date to a mysql table

    Please disregard the previous post; I just found the answer.
  18. annasue

    Inserting today's date to a mysql table

    I am very new to php and mysql and I know this is simple but I've searched the www.php.net site as well as the www.mysql.com site and can't locate the answer. I have one of my fields in my table set to a date field. I cannot determine how to write today's date to it. Thanks in advance.
  19. annasue

    How do I extract multiple selectd values from the request object?

    How would you handle this with PHP? I have this code: <p><font face="Verdana"><small>Question 5 :</small><br> <small><select name="champ5[]" size="2" multiple> <option selected value="0">Choose</option> <option value="Reponse5_1">1</option> <option...
  20. annasue

    Getting all selected items from multiple dropdown box

    Thank you for your reply. What is my string, coming into my file? I've tried $champ5 and that doesn't seem to be it; I also tried $champ5[] and it can't handle that??? Thanks, Anna Sue

Part and Inventory Search

Back
Top