- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
I'm making a feature like stated in the title that gives suggestions based on what terms exist in the database; I have a working example below that works for one term. such as "oranges", or "yellow bananas". However, I need it to work for multiple terms so if my database … |
|
Re:
Hi all, this is my first thread here, but I've read your forum a lot as unregistered user. I've searched the web for a complete Javascript or some hint, but I didn't find an interesting script or article to implement what I've thought. There's a way to write text or … |
|
I have an input box with a 'did you mean' box that pops up under it, and it pulls it's results from another php page, however when a term with a space in it, such as "I am" vs. "Im" is entered, it stops working. This is the code i'm … |
|
Im really stumped on trying to format user input. I have an input box where users enter data separated by commas. Then I explode it: [CODE] $data = $_POST['data']; $words = explode(',', $data); [/CODE] then I'm analyzing each word. Everything works perfectly when you enter the data correctly. However, if … |
|
Re:
I have a form with a text field where some text is entered and is sent across using the GET method. But instead of a traditional submit button I'm using an image and I want that to do the function of the submit button. A simple <a href="file.php"><img src="image"></img></a> can … |
|
I'm trying to simply display some data from my database, but without duplicates, I'm working with the following code: [CODE] $query = mysql_query("SELECT answers FROM users"); $rows = mysql_num_rows($query); for ($j = 0 ; $j <= $rows ; ++$j) { $row = mysql_fetch_row($result); echo $row[0]."<br>"; } [/CODE] This works perfectly … |
|
My program works according to what day it is, and it works perfectly, however, I don't know if the date() function is relative to the date of where my website server is located, or is it relative to where the user is? Here is an exact function i'm referring to: … |
|
I have two functions that work fine individually, but when used together, create the other function not to work for some reason.. :'( My first function submits a form using ajax: [CODE]$(function() { $("#saveList").click(function() { var listname = $("input#listname").val(); if (listname == "") { $('#listnameError').fadeIn("slow"); setTimeout("$('#listnameError').fadeOut('slow')", "1200"); return false; } … |