Thanks for replies
yes i'm using
<?php and ?>
works the same as
<script language='php'>
</script>
and thanks for random record tip, I'll use that
the code I posted works fine as a .php file
but emedded in my web page code,which using css, it does not display the data.
I tried renaming the css file to php but didn't work, do I have to re-structure the css code into php code?
I have several pages on the site and only need this database info on one of them so would hate to have tor ewrite the css code into php code.
But am asking if the embedded php code, as I wrote it above , should be having problems running within <div> ... </div>
I'm new with php and mysql so not sure what my options are.
I've been writing html for some time.
Thanks again for any suggestions