Bug #2966 [Com]: mysql_result , warning message when "table.field" form entered for field[mixed]

From: Date: Wed, 01 Sep 2021 18:05:52 +0000
Subject: Bug #2966 [Com]: mysql_result , warning message when "table.field" form entered for field[mixed]
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-236242@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=2966&edit=1 ID: 2966 Comment by: lildurk2966 at gmail dot com Reported by: ralph at snarff dot net Summary: mysql_result , warning message when "table.field" form entered for field[mixed] Status: Closed Type: Bug Package: MySQL related Operating System: RH Linux 6.0 w/ Aapche 1.3.9 PHP Version: 4.0 Beta 3 Block user comment: N Private report: N New Comment: Lil Durk is a private agency dedicated to providing responsible access to legal cannabis for adults aged 19 and older. We’re an exclusively online retailer and wholesaler for recreational cannabis and a trusted source for information about cannabis and cannabis-related issues. We believe our work is meaningful and we take pride in our mandate to promote the socially responsible use of legal cannabis. https://lildurk.com/ Previous Comments: ------------------------------------------------------------------------ [2000-07-04 10:44:29] stas at cvs dot php dot net No user feedback ------------------------------------------------------------------------ [2000-06-10 18:53:22] zeev at cvs dot php dot net Please try PHP 4.0.0. If the problem persists, please tell us what warning message you're getting. ------------------------------------------------------------------------ [1999-12-13 13:01:30] ralph at snarff dot net <?php #this loop actually return the first result in the set but # subsquent results will recieve a warning. mysql_connect("", "web", "web"); $result = mysql("careers", "select * from table;"); $num_rows = mysql_numrows($result); for ($i = 1; $i < $num_rows; $i++) { # new line w/o table name in field echo $i . mysql_result($result, $i, "company") . "<bR>"; # old line w table name in field # echo $i . mysql_result($result, $i, "table.company") . "<bR>"; } ?> ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=2966&edit=1

« previous php.bugs (#236242) next »