Jump to content

[SOLVED] Whats wrong with this code?


tomash

Recommended Posts

[code](Line 56) $updt = "UPDATE HillHouse SET content='$_POST['pCContent']', date='$_POST['date']', time='$_POST['time']'
WHERE name='$pagename'";[/code]

the error I'm getting is:
[quote]Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in ******************************** on line 56[/quote]

It is connecting to the database fine.

I think this may be in the wrong place - sorry if it is. Its just it uses php aswell so...

Thanks for your help. It's probably something stupid i've missed!
Link to comment
https://forums.phpfreaks.com/topic/20656-solved-whats-wrong-with-this-code/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.