note 75090 added to function.mysql-result

From: Date: Fri, 11 May 2007 19:08:41 +0000
Subject: note 75090 added to function.mysql-result
Groups: php.notes 
Request: Send a blank email to php-notes+get-126417@lists.php.net to get a copy of this message
<? $link = mysql_connect("host", "user", "passw"); mysql_select_db("database", $link); $number = 3; $insert = mysql_query("SELECT test1.*, test2.*, FROM test1, test2, ` WHERE ((test1.author = test2.ID) AND (test2.ID ='$number')) ORDER BY toetsen.autoID DESC",$link); echo mysql_result( $insert , 0, 'test1.question') ; #here he echoes the questions the stuff out of the first table echo mysql_result( $insert , 0, 'test2.name') ; #here he echoes the questions the stuff out of the second table ?> ---- Server IP: 83.137.20.120 Probable Submitter: 83.160.37.121 ---- Manual Page -- http://www.php.net/manual/en/function.mysql-result.php Edit -- https://master.php.net/note/edit/75090 Del: integrated -- https://master.php.net/note/delete/75090/integrated Del: useless -- https://master.php.net/note/delete/75090/useless Del: bad code -- https://master.php.net/note/delete/75090/bad+code Del: spam -- https://master.php.net/note/delete/75090/spam Del: non-english -- https://master.php.net/note/delete/75090/non-english Del: in docs -- https://master.php.net/note/delete/75090/in+docs Del: other reasons-- https://master.php.net/note/delete/75090 Reject -- https://master.php.net/note/reject/75090 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#126417) next »