[PHP-DB] printf

2010-10-28 Thread Ethan Rosenberg
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

Re: [PHP-DB] printf

2010-10-28 Thread Peter Lind
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;

Re: [PHP-DB] printf and unsecable char

2010-01-05 Thread Richard Quadling
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

[PHP-DB] printf and unsecable char

2010-01-04 Thread Jean-Philippe Battu
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

Re: [PHP-DB] printf and unsecable char

2010-01-04 Thread Chris
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

[PHP-DB] printf() in a variable, or alternative to

2005-05-27 Thread mayo
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(%

RE: [PHP-DB] printf() in a variable, or alternative to

2005-05-27 Thread N . A . Morgan
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

Re: [PHP-DB] printf() in a variable, or alternative to printf()

2005-05-27 Thread Philip Hallstrom
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(%

Re: [PHP-DB] printf() in a variable, or alternative to printf()

2005-05-27 Thread graeme
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

Re: [PHP-DB] printf() in a variable, or alternative to printf()

2005-05-27 Thread Simon Rees
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

[PHP-DB] printf() in a variable, or alternative to printf()

2005-05-26 Thread mayo
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(%

[PHP-DB] PrintF

2001-03-27 Thread Mike Baerwolf
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