Can't write integers to html file?
Examples:
This works: PHP Code:
PHP Code:
|
Re: Can't write integers to html file?
Code:
formatex( szString, 31, "<b>The random number is: %s</b>", randomnum )= >> Code:
formatex( szString, 31, "<b>The random number is: %i</b>", randomnum ) |
Re: Can't write integers to html file?
%s for strings.
%d or %i for integers. |
Re: Can't write integers to html file?
Facepalm.. i need some sleep.. 10am and i was up all night. I should not be allowed on alliedmods by this time. I would've known this if i had a working brain.
|
| All times are GMT -4. The time now is 06:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.