Need help in saving data from textboxes inside foreach loop

Discussion in 'PHP' started by newphpcoder, Jul 15, 2013.

  1. sarahk

    sarahk iTamer Staff

    Messages:
    28,897
    Likes Received:
    4,555
    Best Answers:
    123
    Trophy Points:
    665
    #21
    echo out the sql and see if it saves in phpMyAdmin - you'll get better error messages

    or change the query line to
     mysql_query($sql_re, $con) or die(mysql_error().'<br>'.$sql);
    PHP:
     
    sarahk, Jul 18, 2013 IP
  2. newphpcoder

    newphpcoder Greenhorn

    Messages:
    57
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #22
    It was already save but like before it has a lot of data to save, but I need to save only is 4 data's.

    Did you see my attached file on my first post?
     
    newphpcoder, Jul 18, 2013 IP
  3. sarahk

    sarahk iTamer Staff

    Messages:
    28,897
    Likes Received:
    4,555
    Best Answers:
    123
    Trophy Points:
    665
    #23
    sarahk, Jul 18, 2013 IP