so i have this textfield in a form named textbox1 where user puts a name and i have a database and i want to get all the information of the name the user type..for example if someone types in textbox 1 "mathew" the database will display "mathew", lastname, and phone.. i don't know what is wrong with my code i have
$numbergrade = $_POST["textbox1"];
and somewhere down the file i have
WHERE example_name = .$textbox1
IM USING SLQ IN PHP... PLEASE HELP.. I'M SURE THE PROBLEM IS IN WHERE example_name = .$textobox1 i've already tried puting example_name=$textbox1 and also tried .$textbox1. but none of them work.. please keep in mind i have all my connection ready because i can get another info from my database but i'm just having problems with the textbox because i'm mostly using if ($selection == 'example') thankss in advance
$numbergrade = $_POST["textbox1"];
and somewhere down the file i have
WHERE example_name = .$textbox1
IM USING SLQ IN PHP... PLEASE HELP.. I'M SURE THE PROBLEM IS IN WHERE example_name = .$textobox1 i've already tried puting example_name=$textbox1 and also tried .$textbox1. but none of them work.. please keep in mind i have all my connection ready because i can get another info from my database but i'm just having problems with the textbox because i'm mostly using if ($selection == 'example') thankss in advance