-
Posts
6,906 -
Joined
-
Last visited
-
Days Won
99
Everything posted by ginerjm
-
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.
- 6 replies
-
- autocomplete
- search
-
(and 2 more)
Tagged with:
-
What are the limits of this exercise? Interesting that you began some code, but never produced any output.
-
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.
- 6 replies
-
- autocomplete
- search
-
(and 2 more)
Tagged with:
-
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.
-
The change doesn't fit the syntax for the mail function. Check the manual
-
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.
-
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.
-
Displaying Data from MySQL in a table on HTML page
ginerjm replied to JBuss1503's topic in PHP Coding Help
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. -
Define 'name' please. And please use code tags for your postings
-
PHP / MySQL Users Display as a Thumbnail Grid
ginerjm replied to davidfattore's topic in PHP Coding Help
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. -
PHP / MySQL Users Display as a Thumbnail Grid
ginerjm replied to davidfattore's topic in PHP Coding Help
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? -
PHP / MySQL Users Display as a Thumbnail Grid
ginerjm replied to davidfattore's topic in PHP Coding Help
Where is your definition of the id of character_grid? -
PHP / MySQL Users Display as a Thumbnail Grid
ginerjm replied to davidfattore's topic in PHP Coding Help
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. -
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.
-
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.
-
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.
-
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.
-
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.
-
Your CSS is now correct. Where is the php & html that uses it?
-
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.
-
google.com ??
-
WAY too much code to look at. When you figure out where exactly you are having trouble, then try a re-post.