ok, so i've got a site im integrating with a MySQL database.
on the index page i have a table with space for a date and text and whatnot, but right now, my current code will not get the text from the database. here is what i have:
PHP Code:
<body>
<?php include ("secure/mysqlsubs.inc");
connect_to_cms(); ?>
thats to start the body. and below that is a mess of tables that looks good when you view it smile.gif
and then in this specific table:
PHP Code:
<div class="cboxes">
<h4>
<?php
$find = mysql_query("select * from News");
$f=mysql_fetch_array($find);
$NewsDate=$f["NewsDate"];
echo "$NewsDate ";
?>
</h4>
i know the code is right, but nothing is getting output!
if anyone knows PHP/MySQL/HTML better than i seem to, i can let you look at the full source if you want. i just cant figure this out!