-1

when i testing the sql code i got the error of #1054 - Unknown column '321sa' in 'field list'how to retify that what i trid so far i attached below

INSERT INTO member (mno,pname,dob,eperson,relationship,ephone)
    VALUES         (2323,321sa,dasda,sadas,asdas,33333)
MySQL said: Documentation

#1054 - Unknown column '321sa' in 'field list'
hari dran
  • 115
  • 3
  • 16

1 Answers1

-1

what operation are you trying to perform? also heres a hack Enclose any string to be passed to the mysql server inside single quotes; e.g.:

$name = "my name"
$query = " INSERT INTO mytable VALUES ( 1 , '$name') "
RiggsFolly
  • 93,638
  • 21
  • 103
  • 149
opia austin
  • 64
  • 11