Jump to content

agentm

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Everything posted by agentm

  1. thank you - I did read the manual and looked at the example. Somehow it gave me errors. But it is working now. I am not sure why you say the code is not protected. Sorry - new to this - and much to learn! thanks anyway!
  2. Thanks for the quick response! Im not sure where to put the code. Here is my code. $text and $newsbox will need to be modified. $text = $_POST['subject']; $newsbox = $_POST['newsbox']; $sql = "INSERT INTO newslines (Subject, Newsline, Date) VALUES ('$text', '$newsbox', '$Date')";
  3. Not sure where to post this question. I have a MySQL database and add records with a PHP form to the tables. I have 2 fields (char) in one table. When the fields contain the character ' it wont write the record to the table! For example...if I enter. " John's house" it wont accept the record since ' appears in John's name! How do I work around this? Thanks
×
×
  • 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.