Dear List -
I am afraid that I am missing something in a major way.
mysql printf(%b %d %f %s\n, 123, 123, 123, test);
ERROR 1064 (42000): You have an error in your SQL syntax; check the
manual that corresponds to your MySQL server version for the right
syntax to use near 'printf(%b %d %f
Mysql doesn't have a printf function
Regards
Den 2010 10 29 00:47 skrev Ethan Rosenberg eth...@earthlink.net:
Dear List -
I am afraid that I am missing something in a major way.
mysql printf(%b %d %f %s\n, 123, 123, 123, test);
ERROR 1064 (42000): You have an error in your SQL syntax;
2010/1/4 Chris dmag...@gmail.com:
Jean-Philippe Battu wrote:
Hello
I would like to print a string formatted on the right side and fill in
the left side with the unsecable character [nbsp;]
I read in the printf command I could use : printf( %#30s , $mystring ) ;
to display $mystring
Hello
I would like to print a string formatted on the right side and fill in
the left side with the unsecable character [nbsp;]
I read in the printf command I could use : printf( %#30s , $mystring ) ;
to display $mystring string with the character # before (on the left)
and I try to replace
Jean-Philippe Battu wrote:
Hello
I would like to print a string formatted on the right side and fill in
the left side with the unsecable character [nbsp;]
I read in the printf command I could use : printf( %#30s , $mystring ) ;
to display $mystring string with the character # before (on the
I need to be able to format data.
Printf() is perfect because I need a certain amount of characters (30
for address).
However I need this formatted data to be inside a file that's fwrite()
and then FTPed to a distributor who will parse it and input into their
database.
printf(%
Try sprintf().
-Original Message-
From: mayo [mailto:[EMAIL PROTECTED]
Sent: 27 May 2005 14:02
To: php-db@lists.php.net
Subject: [PHP-DB] printf() in a variable, or alternative to
I need to be able to format data.
Printf() is perfect because I need a certain amount of characters
I need to be able to format data.
Printf() is perfect because I need a certain amount of characters (30
for address).
However I need this formatted data to be inside a file that's fwrite()
and then FTPed to a distributor who will parse it and input into their
database.
printf(%
Are you looking for the sprintf() function?
graeme
mayo wrote:
I need to be able to format data.
Printf() is perfect because I need a certain amount of characters (30
for address).
However I need this formatted data to be inside a file that's fwrite()
and then FTPed to a distributor who
On Friday 27 May 2005 04:49, mayo wrote:
I need to be able to format data.
Printf() is perfect because I need a certain amount of characters (30
for address).
However I need this formatted data to be inside a file that's fwrite()
and then FTPed to a distributor who will parse it and input
I need to be able to format data.
Printf() is perfect because I need a certain amount of characters (30
for address).
However I need this formatted data to be inside a file that's fwrite()
and then FTPed to a distributor who will parse it and input into their
database.
printf(%
Hello,
I'm new to PHP and mySQL. I'm trying to find more info on printf. Specifically
setting table properties, like height,width,background. Hoping someone can point me in
the right direction.
Thanks for the Help,
Mike
12 matches
Mail list logo