Hello everyone. I have setup a website and the common.php is configured but the site seems to not be linking to the database. For example, if I mouse over a link mydomain.com/details.php?id=1 and click the link it takes me to mydomain.com/details.php and says no results found. In the database it shows a value 1 in that spot but does not populate.
Sutarusu
0
Newbie Poster
Recommended Answers
Jump to PostAny error logging available? With not much to go it it would appear that the code that reads the parameter and does the SQL query is failing or can't connect.
Either thing should be putting out a log hopefully. What platform are you using?
Jump to Postin line 9 you are displaying $id. GET value of id is missing.
**ie **
$id = $_GET['id'];
All 6 Replies
hericles
289
Master Poster
Featured Poster
Sutarusu
0
Newbie Poster
bolfescu
0
Junior Poster in Training
Sutarusu
0
Newbie Poster
rpv_sen
59
Junior Poster
Sutarusu
0
Newbie Poster
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.