How to process an array in a function

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
seandisanti
php-forum Fan User
php-forum Fan User
Posts: 973
Joined: Mon Oct 01, 2012 12:32 pm

Re: How to process an array in a function

Post by seandisanti » Thu Feb 27, 2014 10:15 am

Assuming that you've removed db credentials from the $connection = line, but are passing them when required to make the connection, the code looks like it should work. Try outputting $sql[$i] to verify the sql that you're trying to execute

Post Reply

Who is online

Users browsing this forum: Baidu [Spider] and 6 guests