View Single Post
  #2 (permalink)  
Old 03-01-2007, 05:14 AM
Cristian's Avatar
Cristian Cristian is offline
Administrator
 
Join Date: Feb 2007
Location: Sibiu, Romania
Posts: 99
Default

Hello,

Question. Is not easier to use rather something more simple rather than going to Zend_DB_Table ?

Cause i would personally go better for this:

$field1 = $db->quote($field1);

$field2 = $db->quote($field2);

$sql = "SELECT * FROM `myTbl` ..... LEFT JOIN ...........................";

$result $db->fetchAll($sql);

Try this way and see what's happening.
Reply With Quote