Jump to content

Cheno

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Cheno's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I have a very specific idea that requires the use of an iframe. Nearly the entire function of the webpage is loading an outside page within my own page, which inherently makes me think to use an iframe. But specifically I'd like to remove most of the code within that frame. Such as the HTML command and BODY command. If possible I'd like to remove everything prior to the first instance of a specific indicator. I've also considered the php include(); command, but still have the same problem with selective importing. If anyone has an idea as to how this might work, that would be super appreciated. Thanks a billion <3
  2. I can actually answer this problem for myself..... READ exists in MySQL, Do not use as a column name.. lol Ty TY!
  3. Sorry about the rookie mistake not reading the Guidelines. MySQL Version: 5.0.77 MySQL Code: UPDATE pm SET read = '1' WHERE id = '15' MySQL 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 'read = '1' WHERE id = '15'' at line 1 Intended to update the variable from 0 to 1. I have attempted to change the syntax around a bit, contact mysql manual for my version. Still no luck. Hope this is some help.
  4. Really its not that bad. But I keep getting an error that I don't understand. Help would be appreciated. if($pm['read'] == "0"){ $sql = "UPDATE pm SET read = '1' WHERE id = '$inbox_id'"; if ( mysql_query($sql) ) {} else { echo("<P>Error!! " . mysql_error() . "</P>"); } } Error message: 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 'read = '1' WHERE id = '15'' at line 1 I guess I just don't really understand the problem. It's been working everywhere else. But doesnt seem to want to work here. Help? Thanks in advance
×
×
  • 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.