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
Link to comment
Share on other sites

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..........

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.