06.08.2011, 20:14
Quote:
In the vast majority of cases sprintf is overkill, and PHP offers alternative methods:
PHP allows for variables to be parsed inside strings (like in your example) with double quotes ("), but not single quotes like you are using. |
Quote:
(I also hope that $svr is sanitized if it is based on any kind of user input!)
|
