Jump to content


Check out our Community Blogs

__ak

Member Since 13 Nov 2008
Offline Last Active Jun 01 2011 02:14 AM
-----

Posts I've Made

In Topic: Number with zero

21 April 2011 - 12:42 AM

Thanks once again!

In Topic: Number with zero

20 April 2011 - 08:00 AM

Wouldn't

$new = sprintf("%02d",$old);

work as well? Instead of string_pad?

In Topic: Using PHP Com

13 April 2011 - 11:13 AM

To be honest I haven't read much about this, and idea just popped into my mind when I read your question.

But would it be possible for you to determine which command to execute through some kind of switch-case statement?

That way you would bypass the direct-user-input problem.... I think?

In Topic: Custom MySQL Error [HELP]

13 April 2011 - 09:04 AM

Thanks alot!
Makes great sense.

In Topic: Custom MySQL Error [HELP]

10 April 2011 - 03:02 PM

@Alexander

Just out of curiosity; what is the difference between your code and this?
error_reporting(E_ALL^E_WARNING);

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download