something like

printf("%+4d", $int_var);

Andrey

----- Original Message -----
From: "Martín Agüero" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 06, 2003 4:52 PM
Subject: [PHP-DB] Help about printing an integer variable


I need to print an integer varible using this format '0000', I mean it
always have to show four digits.  How can I do that?

Thanks,

Martin.



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to