Welcome Guest, Not a member yet? Register   Sign In
stdClass/row array results to uppercase
#3

[eluser]anndr0id[/eluser]
I tried that, but considering its treated as a variable, the string to upper function doesn't work in that way, so I've got no other choice but to go in, highlight them all, and uppercase them. Its rather depressing. heh.

[quote author="xwero" date="1205960910"]Can't you let your editor do it for you? Something like : replace all files /\$row\->([a-zA-Z_]+)/ strtoupper($1).

I think there is no way of changing the case of a hardcoded string dynamically.[/quote]


Messages In This Thread
stdClass/row array results to uppercase - by El Forum - 03-19-2008, 09:43 AM
stdClass/row array results to uppercase - by El Forum - 03-19-2008, 10:08 AM
stdClass/row array results to uppercase - by El Forum - 03-19-2008, 11:45 AM
stdClass/row array results to uppercase - by El Forum - 03-19-2008, 01:17 PM
stdClass/row array results to uppercase - by El Forum - 03-19-2008, 01:23 PM
stdClass/row array results to uppercase - by El Forum - 04-23-2008, 12:45 PM
stdClass/row array results to uppercase - by El Forum - 04-23-2008, 01:33 PM



Theme © iAndrew 2016 - Forum software by © MyBB