darkshad0w Posted April 18, 2011 Share Posted April 18, 2011 Hey so i need help searching for contacts in my telephone directory...how do i do that in my php? is it a form method or if statements? Quote Link to comment Share on other sites More sharing options...
floridaflatlander Posted April 18, 2011 Share Posted April 18, 2011 Hey so i need help searching for contacts in my telephone directory What kind of phone directory do you have? Quote Link to comment Share on other sites More sharing options...
darkshad0w Posted April 18, 2011 Author Share Posted April 18, 2011 very simple type using form methods and $_GET global to retrieve information sample: form action="Addinfo.php" method="get">First Name <input type="text" name="first" size="15" /> Last Name <input type="text" name="last" size="15" /><br /> <br /> Address <input type="text" name="address" size="15" /> City <input type="text" name="city" size="15" /><br /> <br /> <select name="state"> Quote Link to comment Share on other sites More sharing options...
floridaflatlander Posted April 18, 2011 Share Posted April 18, 2011 You could just use a table and sort any way you like if there aren't to many. Or use something simple in your sql like like. LIKE '%$first-name%' or something like that. Quote Link to comment Share on other sites More sharing options...
darkshad0w Posted April 18, 2011 Author Share Posted April 18, 2011 not using any SQL/MYSQL in my coding so it would have to be through other means...when i type in a name it goes to my other php file to input name/or update (can't get update file to work either) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.