thanks :)
that helps
g
On May 24, 2006, at 3:19 PM, Brady Mitchell wrote:
This works:
$rs= $this->conn->GetAll("SELECT title FROM content WHERE
page_id= ?",
$id);
You can't iterate through an array like you are trying to do.
Using the
GetAll() function returns an array, you have to use
> This works:
> $rs= $this->conn->GetAll("SELECT title FROM content WHERE
> page_id= ?",
> $id);
You can't iterate through an array like you are trying to do. Using the
GetAll() function returns an array, you have to use the Execute()
function to be able to iterate through $rs like you are tryi
What is the correct syntax for calling methods from other classes
into your own class ?
Example:
Calling the ADODB class with:
$this->conn=&ADONewConnection('mysql');
This works:
$rs= $this->conn->GetAll("SELECT title FROM content WHERE page_id= ?",
$id);
This fails:
while (!$rs->$this->
3 matches
Mail list logo