Dear All;
I have table in vehicle.php file that contains vehicle information(plate number, vehicle model, reg. and exp. dates). I pprovided each record with href(more) if he want to know more about this specific vehicle in vehicle-info.php file. in vehicle-info.php I get the plateN and I pass it to the SQL command "Select * from $table where plateN = '$plateN';" However this was not working.
Can you guide me.
I attached my vehicle-info.php
Thanks alots...
rednarjess
0
Newbie Poster
Recommended Answers
Jump to PostWhen you say it doesn't work what happens?
Jump to PostWhat is the SQL error? That error message should tell you what is wrong and point you in the right direction towards fixing it.
Jump to Postwhat does this page output as an error??
Jump to PostI took a look at the code and the only things I can see is to check the spelling (case sensitive) of the Index in your $_GET array.
Personally I would change the if statement. check if your result variable contains any data, and move your fetch array down …
All 15 Replies
stymiee
111
He's No Good To Me Dead
Team Colleague
rednarjess
0
Newbie Poster
stymiee
111
He's No Good To Me Dead
Team Colleague
rednarjess
0
Newbie Poster
w_3rabi
8
Junior Poster
rednarjess
0
Newbie Poster
GliderPilot
33
Posting Whiz
rednarjess
0
Newbie Poster
GliderPilot
33
Posting Whiz
rednarjess
0
Newbie Poster
GliderPilot
33
Posting Whiz
rednarjess
0
Newbie Poster
GliderPilot
33
Posting Whiz
rednarjess
0
Newbie Poster
GliderPilot
33
Posting Whiz
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.