Jump to content

fetching info


astralaaron

Recommended Posts

I suppose you understand a bit about connection to databases.<?php$con = mysql_connect("server","user","password");mysql_select_db("database name",$con);$query = mysql_query("SELECT * FROM table_name");$q = mysql_fetch_array($query);// the following line stores the table cell 'row name' into the variable $n$n = $q['row name']

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...