Jump to content

ginerjm

Members
  • Posts

    6,906
  • Joined

  • Last visited

  • Days Won

    99

Everything posted by ginerjm

  1. I wouldn't call it an "auto-complete" in that case. IMHO, an auto-complete does its thing while still presenting the same page with only the proposed results(s) being modified. To me it sounds like you want to regenerate the page after each character is typed which would be more time consuming than simply letting the user type in their search request.
  2. What are the limits of this exercise? Interesting that you began some code, but never produced any output.
  3. Is this search bar being used to pinpoint an item in a dropdown or some other screen element or do you expect this to trigger an ajax request to hit the server with some kind of 'like' query? The latter could be very cumbersome with a slow or unreliable connection, especially if you expect it to interpret your input value as your example showed, and not be just a straight auto-complete.
  4. I am all about helping! I gave you the code, didn't I? BUT - when you then say that your 'real' task is to carry this on to absurd lengths, I proposed to you that your valuable time and learning focus should be spent in better ways to help you improve as a php programmer.
  5. The change doesn't fit the syntax for the mail function. Check the manual
  6. At first glance nothing seems to be wrong. Turn on error checking and let's be sure that your script is running to the end.
  7. If you had spent 30 minutes reading a tutorial on CSS, you would have solved this by now. You create css styles in the style tag in the header section. Classes (which we are using here) are identified by a period in front of their name. The styles are described inside of braces. Hence: .color1 { color:red; font-size:16px; } creates a 'class' named 'color1' which defines the font color to be 'red' and to be 16 pixels in size; In your html you get this style by writing: <span class='color1'> blah blah blah </span> or in any other html tag. Note there is no period used here, only in the css definition.
  8. Read up on CSS for styling tips. A simple <center> tag preceding the table defn will center all data in each cell if that's all you want.
  9. Define 'name' please. And please use code tags for your postings
  10. You grab the first row of results and take its first element as your row count. Errorneous as well as the reason you lose your first row of data for display.
  11. None of you POSTED code even has a "<doctype...." in it, let alone any CSS. You Do realize that some forum readers never open up any attached files or links to such?
  12. Where is your definition of the id of character_grid?
  13. So many problems...... 1 - why do you assign querystring - you never use it. Besides - it seems rather pointless. 2 - you do error suppression on your call to query(). Why? Why? Why would you NOT want to know about an error in that call? 3 - you check if your query ran, then pull one row from it and THEN show an error and quit. I quit too.
  14. We must be speaking in tongues because the last post of code you provided does NOT have any if statement in it. Have fun. My work here is done.
  15. What IS this? Where is the implementation of the ideas I gave you? STOP USING INLINE STYLES and STOP USING DEPRECATED THINGS like <font> tags.
  16. I'm confused. Your subject mentions an if-then-else problem, but you have isolated a section of code that does not have an if statement in it.
  17. Hopefully i helped
  18. It's a little late now. If the database doesn't have the image name saved with the product, and if the image name is not simply product id, no amount of programming is going to join them for you. You have to develop a scheme to connect the two before you can continue with this project.
  19. If you really want to allow multiple users to update a given record, then you will have to do a chck of the record on file when you prepare to do the update. If the record is different than when it was previously read for the current user to change, then you should return the changed data to the current user so that he can assess what has transpired.
  20. ginerjm

    help

    It's true - you can learn something every day.
  21. Your CSS is now correct. Where is the php & html that uses it?
  22. Why don't you echo the vars that are being used in the call to mail() and see if they are correct. Also - lose the @ sign - you certainly want to see any possible problems now while you are testing this! Also - use the proper tags when posting code here and on other forums.
  23. ginerjm

    help

    First two lines are definitely a problem. You can't have a GET and a POST parm simultaneously.
  24. WAY too much code to look at. When you figure out where exactly you are having trouble, then try a re-post.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.