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:

 

·
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
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top