note 59775 added to function.mysql-select-db

From: Date: Thu, 15 Dec 2005 14:44:24 +0000
Subject: note 59775 added to function.mysql-select-db
Groups: php.notes 
Request: Send a blank email to php-notes+get-100194@lists.php.net to get a copy of this message
Thats my script but its just not displaying the details. How ever the ref & customer are passed over in the url. beta/letters/?customer=Zengeya&ref=GT/05/110 <?php include 'db.php'; $id = $_REQUEST['id']; $query = "SELECT id, customer, ref FROM contacts WHERE id = '$id' LIMIT 1"; $result = mysql_query($query) or die(mysql_error()); $row = mysql_fetch_assoc($result); ?><br /> <br /> <?=$row['ref'];?> <br /> <br /> <br /> <?=$row['customer'];?> </div> Any help in regards to this matter would be much appreciated. Feel free to add me to msn: webcrawler2050@hotmail.com ---- Manual Page -- http://www.php.net/manual/en/function.mysql-select-db.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+59775 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+59775&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+59775&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+59775&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+59775&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+59775&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+59775&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+59775&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+59775&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#100194) next »