Knowledgebase

Portal Home > Knowledgebase > Articles Database > Please help me with an EPIC problem I have


Please help me with an EPIC problem I have




Posted by Phalanxer, 07-17-2012, 11:28 AM
This error almost gave me a brake down two nights ago, because I had spent 15 hours on it trying to fix it. I still haven't solved it and hoping someone can help me. PHP updates the table to 1 fine, but then doesn't update it further after. Does anyone know why? Last edited by Phalanxer; 07-17-2012 at 11:33 AM.

Posted by Phalanxer, 07-17-2012, 11:41 AM
I now know the problem and its bizarre: $row['set0'] isn't coming through. Is there something illegal with the variable name 'set0' in PHP? All the other variables are coming through fine. EDIT: No, this is not the case. Last edited by Phalanxer; 07-17-2012 at 11:50 AM.

Posted by Phalanxer, 07-17-2012, 12:14 PM
The the issue stands as this: I have a column in a MySQL table called 'set0' which contains the single digit '1'. When I try and echo it via $row['set0'], '1' doesn't come through, yet every other column in the table does I echo does come through. Does anyone know what could be causing this to happen? Last edited by Phalanxer; 07-17-2012 at 12:18 PM.

Posted by FastServ, 07-17-2012, 12:18 PM
Looks like you're missing a right curly bracket after else.

Posted by Phalanxer, 07-17-2012, 12:20 PM
Never mind, it was echoing but I just couldn't see it as it was on a background. I'm cooked and calling it a night. Thanks for taking the time to read my pointless thread.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read


Language:

Contact us