Menu
learning PHP from w3school.
what does this code means
[CODE]
<?php
$con = mysql_connect(“localhost”,”peter”,”abc123″);
if (!$con)
{
die(‘Could not connect: ‘ . mysql_error());
}
// some code
?>
what does mysql_connect returns ? does it return boolean value ? i guess so because i see the usage if (!$con) .
[U]Where do i get the return type of these functions ?