undefined function mysql_connect()
Posted: Wed Jul 26, 2006 10:49 am
Pimptastic | Please use
on browser
then its display's the follwing error
Fatal error: Call to undefined function mysql_connect() in C:\bisro\examples\conn1.php on line 5
pls
Pimptastic | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
hi all,
i run this programeCode: Select all
<?php
$con = mysql_connect("localhost:3306","root","bisro");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
?>then its display's the follwing error
Fatal error: Call to undefined function mysql_connect() in C:\bisro\examples\conn1.php on line 5
pls
Pimptastic | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]