注意:未定义的变量:第35行的C:\ xampp \ htdocs \ create_tables.php中的obj

时间:2013-02-19 23:53:55

标签: php phpmyadmin

我正在尝试使用此脚本创建表并获取这些错误

  

致命错误:在第32行的C:\ xampp \ htdocs \ create_tables.php中的非对象上调用成员函数sqlExecute()

注意:未定义的变量:第35行的C:\ xampp \ htdocs \ create_tables.php中的obj

// creates object instance to Base class

// traverse the $sqlc array, and calls the method to create the tables
foreach($sqlc as $tab=>$sql) {
  $re_ct .= $obj->sqlExecute($sql) ? sprintf($lsite['create_tables'], $tab) : $obj->eror;

0 个答案:

没有答案
相关问题