Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #3K
~3K People Reached
Favorite Forums
Favorite Tags

8 Posted Topics

Member Avatar for deraad

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 …

Member Avatar for deraad
1
249
Member Avatar for Thevenin

this is a simple way of automatically focusing on the input so you don't have to click it... [CODE] <body onLoad="document.getElementById('yourinput').focus()"> [/CODE]

Member Avatar for niranga
0
182
Member Avatar for deraad

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 …

Member Avatar for deraad
0
132
Member Avatar for deraad

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 …

Member Avatar for Member #120589
0
164
Member Avatar for asif49

i made a working example for you... [CODE] <form method="get" action="example.php" name="myform" id="myform"> <input type="text"> <input type="submit" id="go" name="go" style="display: none"> <img src="http://s.ytimg.com/yt/favicon-vflZlzSbU.ico" onClick="go.click()"></img> </form> [/CODE]

Member Avatar for simplypixie
0
626
Member Avatar for deraad

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 …

Member Avatar for cwarn23
0
191
Member Avatar for deraad

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: …

Member Avatar for deraad
0
99
Member Avatar for deraad

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; } …

Member Avatar for deraad
0
1K

The End.