Insert Array elements to MySql

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • radhak
    New Member
    • Jul 2007
    • 10

    #1

    Insert Array elements to MySql

    how to insert array?using php mysql
  • mwasif
    Recognized Expert Contributor
    • Jul 2006
    • 802

    #2
    [PHP]$data = array(1,2,3,4);
    foreach($data as $value)
    mysql_query("IN SERT INTO table_name values($value)" );[/PHP]

    Comment

    • ak1dnar
      Recognized Expert Top Contributor
      • Jan 2007
      • 1584

      #3
      Thread Title Changed
      Ealier: Array
      Recent: Insert Array elements to MySql

      Comment

      • radhak
        New Member
        • Jul 2007
        • 10

        #4
        Originally posted by mwasif
        [PHP]$data = array(1,2,3,4);
        foreach($data as $value)
        mysql_query("IN SERT INTO table_name values($value)" );[/PHP]
        .I WANT TO INSERT REGISTRATION PAGE USING ARRAY PHP MYSQL

        Comment

        • code green
          Recognized Expert Top Contributor
          • Mar 2007
          • 1726

          #5
          .I WANT TO INSERT REGISTRATION PAGE USING ARRAY PHP MYSQL
          Now don't start shouting.
          We have no idea what you are talking about

          Comment

          • ak1dnar
            Recognized Expert Top Contributor
            • Jan 2007
            • 1584

            #6
            Originally posted by radhak
            .I WANT TO INSERT REGISTRATION PAGE USING ARRAY PHP MYSQL
            Do not post your expressions here at the forum.All caps is similar to shouting to the other forum members.Please note that this is a FREE FORUM. (yes, now I am shouting).
            Please explain the situation nicely and cleary to the others with a polite manner.definiet ly these guys will help you.

            So please Follow posting guidelines

            It is difficult for the experts to answer questions when there is not enough details provided to understand the problem.

            (POSTING GUIDELINES: Please read carefully before posting to a forum)

            Thanks
            -Ajaxrand

            Comment

            Working...