Announcement

Collapse
No announcement yet.

How can I use insert into reading data from MsAccess db for inserting into mySQL ?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    I think you have to reset you var:

    foreach($rs as $rec) {
    $thevalues = "";

    // For Each Field in that record...

    foreach ($rec as $field) {
    Last edited by robydago; 03-27-2015, 04:24 AM.

    Comment


    • #17
      Thanks Roby, I will check today... ;-)

      Comment


      • #18
        Originally posted by daveprue View Post
        In addition, between the two "foreach()" statements, add this line:

        Code:
        $thevalues = "";  // This ensures that the string is initialized, and cleared each time thru.
        Dave
        as I said before
        Dave Prue
        Code Whisperer
        Lahar International Corp
        www.lahar.net

        Comment


        • #19
          Thanks Dave !!! It was the fixing ;-)

          Comment

          Working...
          X