Online Shopping : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to
Did You Find This Entry Useful?

23 of 29 people (79%) answered Yes
Recently 7 of 10 people (70%) answered Yes


Mysql: fetch and print the value of a single cell

Nov 28th, 2008 00:30
healthy man, dman, Matt Rudderham, mr fitz,

Connect to the Mysql Server and select the database:
$db = mysql_connect("localhost", "User", "Password");
Run a query:
-->Get the result:
Display it:
echo $myrow["Cellname"];
Put the stuff in between the --> to display all the results if multiple.
- Matt