Jump to content

Recommended Posts

im a beginner learning php and i've met some errors and problems on the way.i've attached 2 codes that i've done.

 

1st,i want the initial values in the database to appear in the textbox for people to edit and update.but i could not get it out.all i got out was eg,$Name.literally $Name.that is not what i want.i want the value of $Name and not $Name.

 

2nd,even if i ignore the 1st part mentioned above and go ahead updating my stuffs,i've got this syntax error.the error message is:

Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3

 

i've tried checking my codes but they appeared fine to me.i really really need help.please help me solve my problems.sorry for the messy codes that i've attached.thank you in advance!

 

[attachment deleted by admin]

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.