PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hey so basically im making a script to re-order a list the catch is there are multiple lists in this case banner and item. To determine what list is later hit it checks for the type. Now when i pass the variable banner for TYPE and do the echos the first echo that comes out is "side_banners" but then once it gets to the second echo the table is suddenly "items". Any ideas?
Hey. Using a case solved it but there no errors after ptuting in the appropriate 's. still find it weird an ifelse statement didnt work...thanks though
FluxNYC wrote:Hey. Using a case solved it but there no errors after ptuting in the appropriate 's. still find it weird an ifelse statement didnt work...thanks though
As Volka has pointed out to you in multiple posts
- Start quoting things right
- Turn on error reporting following his examples
- Start using mysql_error as per his examples
These things will help make it more obvious what the problem is when things fail.