Jump to content

New to MySQL- Simple query on an HTML page????


jeffery1493

Recommended Posts

Hi All,

I have a PHP application running off a MySQL database, and this my problem:

I have an HTML "front page" that is outside of PHP, and I just want to pull the top ten users out of the MySQL database and put them on a list.

Is there any way to do a quick MYSQL query, like a little grid, in HTML all by itself?

I would convert the front page to PHP, but it has alot of graphics and frames (.css templates and such) and I fear that might be a nightmare.

Any advice would help a great deal- thanks

JEFFERY1493
My going theory is that you can rename the file to .php (which worked), then use <?php ...... ?>
sections within the code. 

If it's that easy, thats a testament to PHP.  If not, I will most assuredly go down in flames.  Then again, this sad boat was hardly keeping afloat as it was..........

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.