Also there is function called die() that will save you alot of coding.You have:
#
$dbcnx = @mysql_connect('localhost', 'root', 'password');
#
if (!$dbcnx) {
#
exit('<p>Unable to connect to the database server at this time.</p>');
#
}
but you can do this:
$dbcnx = @mysql_connect('localhost', 'root', 'password') or die('<p>Unable to connect to the database server at this time.</p>');
See how simple it is :lol:
evstevemd
Senior Poster
3,713 posts since Jun 2007
Reputation Points: 462
Solved Threads: 392
I made the names from the database clickable, but how can I make them show the rest of the data associated with the names show when I click a name? :)
I don't get you here! What do you mean? display data from database or what? :)
evstevemd
Senior Poster
3,713 posts since Jun 2007
Reputation Points: 462
Solved Threads: 392