Re: Why?? SPRINTF("SELECT sequence,prodnum,childdesc....);
| From: | Steve Werby | Date: | Fri, 02 Feb 2001 03:19:39 +0000 |
| Subject: | Re: Why?? SPRINTF("SELECT sequence,prodnum,childdesc....); | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-37774@lists.php.net to get a copy of this message | ||
"Karl J. Stubsjoen" <karlflips@kstub.com> wrote:
> What is the purpose of the SPRINTF in this instance?
> SPRINTF("SELECT
>
equence,prodnum,childdesc,onhand,openorders,avlallocate,bakorder,webpricing
> FROM prodaval");
It appears as though the sprintf() function is being misused. There's no
advantage to using it to wrap around an SQL statement.
--
Steve Werby
COO
24-7 Computer Services, LLC
Tel: 804.817.2470
http://www.247computing.com/