Thread: Insert
View Single Post
  #1  
Old 12-20-2009, 01:04 AM
Immolate Immolate is offline
Indigo
Join Date: Dec 2009
Posts: 322
Immolate is on a distinguished road
Insert

PHP Code:
public function AddDatadata )
{
  
temp.sql "INSERT INTO immolate_items (name, display_name, power) VALUES(`" data[0] @ "`, `" data[1] @ "`, `" data[2] @ "`)";
  
sqlexecutetemp.sqlNULL );

seems to be throwing this error:

SQL Error: no such column: testsword
Query: INSERT INTO immolate_items (name, display_name, power) VALUES(`testsword`, `Testing Sword`, `3`)

Any ideas on what I'm actually doing wrong?
Reply With Quote