note 108825 added to function.join

From: Date: Mon, 28 May 2012 10:42:50 +0000
Subject: note 108825 added to function.join
Groups: php.notes 
Request: Send a blank email to php-notes+get-188263@lists.php.net to get a copy of this message
An example of table join. <?php $conn = mysql_connect("localhost", "username", "password"); mysql_select_db("database name", $conn) or die ('Database not found ' . mysql_error() ); $sql = "select * from consumer, application where consumer.consumernum = application.consumernum and applicationnum = $variable"; $rs = mysql_query($sql, $conn) or die ('Issue arose with query' . mysql_error()); ?> ---- Server IP: 113.20.13.217 Probable Submitter: 122.108.33.226 ---- Manual Page -- http://www.php.net/manual/en/function.join.php Edit -- https://master.php.net/note/edit/108825 Del: integrated -- https://master.php.net/note/delete/108825/integrated Del: useless -- https://master.php.net/note/delete/108825/useless Del: bad code -- https://master.php.net/note/delete/108825/bad+code Del: spam -- https://master.php.net/note/delete/108825/spam Del: non-english -- https://master.php.net/note/delete/108825/non-english Del: in docs -- https://master.php.net/note/delete/108825/in+docs Del: other reasons-- https://master.php.net/note/delete/108825 Reject -- https://master.php.net/note/reject/108825 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#188263) next »