Forum Moderators: coopster

Message Too Old, No Replies

Call to undefined method

What am I doing wrong?

         

Clay213

4:54 am on Aug 7, 2009 (gmt 0)

10+ Year Member



I am getting this error Fatal error: Call to undefined method PDO::insertRow()

Line that causes it is:

$status = $data->insertRow($table, $vars, $nulls, $format, $types);

What does this mean?

dreamcatcher

8:51 am on Aug 7, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Clay213,

Either you aren`t declaring the class correctly or you are accessing a function inside the class that doesn`t exist.

How are you initialising the class?

dc