Forum Moderators: coopster

Message Too Old, No Replies

PHP Script to Pull Data from SQL Table

Need a simple php script

         

siteseo

11:20 pm on Jan 30, 2005 (gmt 0)

10+ Year Member



I'm running a php-enabled dedicated server. All my sites on said server incorporate simple php scripts (includes, month/date, etc.) and that's the extent of my php knowledge.

Some of my sites have SQL databases which I administer via phpmyadmin, but I've been unable to track down a simple php script to:
* open the database
* refer to a specific table
* extract data from the table
* display the data on a website

Can anyone point me to an online doc or provide a simple script to follow which I can customize for my purposes? Thanks!

ergophobe

12:21 am on Jan 31, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Look in our library (link on the upper left of this page) for a thread on the basic of extracting data from a mysql database. That should get you started.