what am i doing wrong?
this script dont work either....
PHP Code:
<html><head><title>The Nova-Zone Link Database </title></head>
<body>
<?php
#connecting To mysql
$conn = @mysql_connect( "localhost" "root" "5bk3hm2agn" ) or die( "Err:conn" );
#select the database
$rs = @mysql_select_db( "linkdb", $conn ) or die( "err:db" ) ;
# create the query
$sql="select LName, URL, ld, sc from links";
# execute the query
$rs = mysql_query( $sql,$conn ) ;
#write the data
while( $row = mysql_fetch_array( $rs ) )
{
echo( "Category: " . $row["sc"]
echo( "Site Name: " . $row["LName"]
echo( "URL: " . $row["URL"]
echo( " Site Description: " . $row["ld"] ."<BR>");
}
?>
</body></html>
it is supposed to display the links that are submitted to the database..
__________________
The Nova-Zone
http://youraite.yourhost.yourusername.com - long urls
-looks bad
-who can remember it?
- Solution?
- Get a short Nova-Zone subdomain! Yoursite.nova-zone.com
- Now thats smart. just ask for one via pm,email or contact page on site.