"ma...@behnke.biz" <ma...@behnke.biz> wrote:

>
>
>
>Nick Edwards <nick.z.edwa...@gmail.com> hat am 12. Juli 2012 um 14:00
>geschrieben:
>
>> On 7/12/12, Gibbs <li...@danielgibbs.net> wrote:
>>
>> > mysql_query("DELETE from userprefs where clientr='$User'",
>$connmy);
>
>
>Sidenote: And don't forget to validate user input and make use of mysql
>escape
>and prepared statements ;)
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php

Another way if the access credentials are the same would be to specify the full 
'path' to the table in the query:

DELETE FROM database.table WHERE clause


Thanks,
Ash
http://ashleysheridan.co.uk

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to