INSERT INTO table VALUES()

A

Anonymous

Guest
i dont know anything about those things ur using but dont you have to define where ur putting the variables into?
example:

INSERT INTO company (varchar2, date, varchar3) VALUES ('$cm_ss', $cm_cd, '$cm_un)

somtin like that should work just check my spelling and whatnot
 
I must say that shiznatix is totaly right... you must define where to put your values...

Ive been using OracleDB for some time now.. still think that mysql is faster... however i must admit that most companies trust Oracle and i can understand them... Oracle IS the worlds best database :)

Well well..

Still... Use the sugestion that shiznatix gave you or use this alternative syntax INSERT INTO table SET col_1='$val1', col_2='$val_'2'

I dont know why but i prefere SET statements... however there is absolutly no difference between them in speed or way they are excecuted..
 
Back
Top