Thread
:
Securing your MySQL Queries with Sprintf
View Single Post
03-18-2008, 03:21 PM
#
26
(
permalink
)
Salathe
Moderateur
Join Date: Apr 2007
Posts: 1,239
Thanks: 3
To print a literal percent symbol, use two together
printf('%d%% sale, today only!', 50); // 50% sale, today only!
__________________
salathe
@php.net
The Following 2 Users Say Thank You to Salathe For This Useful Post:
maZtah
(03-19-2008),
Orc
(03-18-2008)
Salathe
View Public Profile
Send a private message to Salathe
Visit Salathe's homepage!
Find More Posts by Salathe