Overclock.net banner

PHP MySQL Updating help

479 Views 3 Replies 3 Participants Last post by  technik
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:

See less See more
2
1 - 4 of 4 Posts
Unless your server has been reconfigured you need to use a .php extension. That would be the first step.
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
See less See more
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