MySQL Forums
Forum List  »  PHP

Re: query mysql and pass array to a form to create dynamic drop down list in PHP
Posted by: laptop alias
Date: January 24, 2013 06:15AM

Please note that PHP's mysql_ functions are being deprecated in favour of mysqli_ and/or PDO alternatives. Also, and I guess this is just personal preference, consider separating the mysql stuff from the html stuff as much as possible, so pushing the mysql result set into a PHP array (or a bit of JSON) for use as and when required.

Options: ReplyQuote


Subject
Written By
Posted
Re: query mysql and pass array to a form to create dynamic drop down list in PHP
January 24, 2013 06:15AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.