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!
in the page itself the correct options appear in the select menu, but all the values are 0 !, you can see it @ http://www.wormaholic.com/temp/report,php, the page works fine, the report works fine too, exept the values of the "winning clan" and the "losing clan" are 0 and not the tag itself.
PS, the script for the losing clan is the same as the winning.
Does anyone know why its always 0 ?
Thanks in advance,
Flamie [/php_man]
I looked thru it over 100 times and still cant see why its 0, but whenever some1 submits, teh values in the DB are 0 for the wining clan and the losing clan
When you view the html source of the link above the values look ok (to me anyway), so maybe the problems in your DB code?
Maybe post the relevant chunk of code that handles the db insertion/form posting ?
Well in the select bar, all the correct "tags" appear, so I dont see why it doesnt get the tag as a value.
Anyways here's the script where I insert the values in the DB: