我正在创建magento模块,在控制器中,我试图生成一个查询。例:"INSERT INTO ". $resource->getTableName('mymod/mymodtable')."SETpid='".mysql_real_escape_string($pp['id'])."'";在我的本地设置中正常工作,我在pid中得到了预期的id。我知道数据库连接是存在的,因为它在服务器上插入了一个带有空pid的
***** ***** ***** *****$link = @mysql_connect("Ip Addres to another website","username for mysql 2","passowrd 2 ")or die("Couldn't make connection.");
@<e