Re: Error Msg: Wrong data type when performing "extract()"

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: Error Msg: Wrong data type when performing "extract()"
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-8699@lists.php.net to get a copy of this message
Hmmm not sure - You could try to strip out much of the sql by simply using: $sqlstmt ="SELECT * FROM stock_in, equip, vendor"; $sqlstmt.="WHERE equip.id=equip_id and vendor.id=vendor_id and equip.id='$id'"; $sqlstmt.="ORDER BY equip.id ASC"; # print $sqlstmt; $result=mysql_query($sqlstmt); # print $result; $row=mysql_fetch_array($result) That way if an error existed somewhere B4 then it'd go.. Sorry if that was next-to-useless..... Russ #-------------------------------------------------------# "Believe nothing - consider everything" "Web Developers do it on-the-fly." Russ Michell Anglia Polytechnic University Webteam www.apu.ac.uk/webteam r.j.michell@apu.ac.uk +44 (0)1223 363271 ext 2331 www.theruss.com #-------------------------------------------------------#

« previous php.db (#8699) next »