Page 1 of 1

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

Posted: Sun Jan 11, 2009 3:11 am
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...

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

Posted: Sun Jan 11, 2009 3:33 am
by requinix
This is such a ridiculously vague question...

How do you do it? You learn, that's how.

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

Posted: Sun Jan 11, 2009 3:39 am
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...

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

Posted: Sun Jan 11, 2009 3:53 am
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.

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

Posted: Sun Jan 11, 2009 3:00 pm
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