Re: mysql add records

new topic     » goto parent     » topic index » view thread      » older message » newer message

Jim Smiley wrote:
> 
> query="INSERT INTO works (works,workid,subjectid,personid) VALUES ('','4',3))"
> aresult=run_query(query)

You have four fields and only three values. Maybe that's the problem. Plus,
there's an extra ')' at the end of the SQL.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu