|
-
Mar 8th, 2007, 08:22 PM
#1
Thread Starter
Member
why doesn't the text appear in browseR? HELP NEEDED!
why doesnt the text "success" appear in the browser? when i execute this code, they did not give me any error message, instead they just give me a blank screen. issit probably because of my connection to MYSQL? or issit there is something wrong with the code?
These are the codes i am referring to.
<?
$connection = mysql_connect("localhost", "lina", "lina") or die (mysql_error());
if ($connection){
$msg = "success!";
}
?>
<html>
<head>
<title>MY SQL</title>
</head>
<body>
<?echo "$msg"; ?>
</body>
</html>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|