how to display data in a html page from my sql using PHP?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jack1to2
Forum Newbie
Posts: 2
Joined: Sun Jan 11, 2009 3:05 am

how to display data in a html page from my sql using PHP?

Post by jack1to2 »

hi all...how to display data in a html page from my sql using PHP?..data should be displayed as soon as page is loaded.....for eg. to display how many users online...i have the database ready with the table....anyone please help me...
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: how to display data in a html page from my sql using PHP?

Post by requinix »

This is such a ridiculously vague question...

How do you do it? You learn, that's how.
jack1to2
Forum Newbie
Posts: 2
Joined: Sun Jan 11, 2009 3:05 am

Re: how to display data in a html page from my sql using PHP?

Post by jack1to2 »

tasairis wrote:This is such a ridiculously vague question...

How do you do it? You learn, that's how.
Dude... if u dont know ....please keep quiet & dont reply...
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: how to display data in a html page from my sql using PHP?

Post by requinix »

jack1to2 wrote:Dude... if u dont know ....please keep quiet & dont reply...
I do know, but I'm not going to write down everything I know just because you can't ask a specific question.
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: how to display data in a html page from my sql using PHP?

Post by califdon »

Let's cool it, folks. As a first-time visitor here, jack1to2, you need to understand that this is not a place to ask broad questions like "what is PHP?" What tasairis was doing was responding in exasperation to a meaningless question. If you want to learn "how to display data in a html page from my sql using PHP", you have to study some tutorials, not ask a question in a forum. Here are some places I suggest you could start:
http://w3schools.com/
http://www.freewebmasterhelp.com/tutorials/phpmysql
http://www.tizag.com/mysqlTutorial/
http://www.phpf1.com/tutorial/php-mysql-tutorial.html
Post Reply