// SET SQL HOST, USERNAME, PASSWORD, DATABASE, TABLE AND GALLERY // $host = "localhost"; $user = "beth"; $pass = ""; $dbname = "tickertape"; $tablename = "gbu"; $gallerytablename = "gbugalleries"; $path = "http://www.tickertape.net/gbu/"; // CONNECT TO DB: SUPPLY HOST, USERNAME AND PASSWORD HERE // $db = mysql_connect($host, $user, $pass); // SELECT DB: SUPPLY DB NAME // mysql_select_db($dbname, $db); ?>
GBU: the good, the bad and the ugly$result = mysql_query("SELECT gallerydesc FROM $gallerytablename WHERE galleryname='$desiredGallery'",$db); $myrow = mysql_fetch_array($result); $gallerydesc = $myrow["gallerydesc"]; echo ("$gallerydesc\n"); ?>other august photos:filmschool2000 hellyeah!six
| |
|
|