RE: is this right?
| From: | Tim Ward | Date: | Fri, 20 Jul 2001 08:41:08 +0000 |
| Subject: | RE: is this right? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-58862@lists.php.net to get a copy of this message | ||
looks to me like like GLOBAL $company should be partr of the php code, not
sql.
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html
> -----Original Message-----
> From: Jeremy Morano [mailto:jeremy@prepresshelp.com]
> Sent: 19 July 2001 16:20
> To: php-general@lists.php.net
> Subject: is this right?
>
>
> is this right?
> cause its not working.
>
>
>
> first I connect,
> then I select my db,
>
> and then the problem
>
>
> $sql = "GLOBAL $company;
> DROP TABLE $company ";
> $result = @mysql_query($sql,$connection) or die("Couldn't
> execute query.");
>
>
>
>