Overclock.net banner

1 - 4 of 4 Posts

·
Registered
Joined
·
2,410 Posts
Discussion Starter #1
I have here an html page I made which is supposed to show the mysql data in the input fields for me to edit or view.

Code:
Code:
<?php
include("database.php");

mysql_select_db(my_db, $con);

$result = mysql_query(SELECT * FROM teams);

$row = mysql_fetch_array($result);

?>

"/>
"/>
"/>
"/>
"/>
"/>
"/>
Verified: <? print $row['veri']; ?>

<?
}
mysql_close($con);
?>
For some reason, this is the result:

 

·
Some call me... Bifford
Joined
·
5,265 Posts
Unless your server has been reconfigured you need to use a .php extension. That would be the first step.
 

·
Registered
Joined
·
2,410 Posts
Discussion Starter #3
For some reason, the first server I uploaded the file to didn't echo errors. After I uploaded it to one of my servers, fixed the errors, then changed the ext to php, it worked. Thanks BFRD
 
1 - 4 of 4 Posts
Top