On 15/07/2012 17:07, Nick Edwards wrote:
> On 7/12/12, Ashley
Sheridan wrote:
>
>> "ma...@behnke.biz [5]"
wrote:
>>
>>> Nick Edwards
hat am 12. Juli 2012 um 14:00
geschrieben:
>>>
On 7/12/12, Gibbs
wrote:
> mysql_query("DELETE from userprefs where
clientr='$User'",
>>>
On 7/12/12, Ashley Sheridan wrote:
>
>
> "ma...@behnke.biz" wrote:
>
>>
>>
>>
>>Nick Edwards hat am 12. Juli 2012 um 14:00
>>geschrieben:
>>
>>> On 7/12/12, Gibbs wrote:
>>>
>>> > mysql_query("DELETE from userprefs where clientr='$User'",
>>$connmy);
>>
>>
>>Sidenote: And don't forget to valida
"ma...@behnke.biz" wrote:
>
>
>
>Nick Edwards hat am 12. Juli 2012 um 14:00
>geschrieben:
>
>> On 7/12/12, Gibbs 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 prepa
Nick Edwards hat am 12. Juli 2012 um 14:00
geschrieben:
> On 7/12/12, Gibbs 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 L
On 7/12/12, Gibbs wrote:
>>> $connmy=mysql_connect("host","user","pass", TRUE);
>>>
>>> http://php.net/manual/en/function.mysql-connect.php
>>>
>>
>> Thanks, will give that a shot
>>
> I forgot to add your queries will need the new link too. So
>
> mysql_query("DELETE from userprefs where clientr
On 7/12/12, Adam Nicholls wrote:
>
>
>> -Original Message-
>> From: Nick Edwards [mailto:nick.z.edwa...@gmail.com]
>> Sent: 12 July 2012 12:30
>> To: php-general@lists.php.net
>> Subject: [PHP] database hell
>>
>> Hi
>>
>> We have a program that manages users, throughout all database calls
On 12/07/12 12:38, Nick Edwards wrote:
On 7/12/12, Gibbs wrote:
On 12/07/12 12:29, Nick Edwards wrote:
Hi
We have a program that manages users, throughout all database calls
created as:
$connect = mysql_connect($db_host--other variables);
mysql_query("Delete from clients where id=$User");
A
> -Original Message-
> From: Nick Edwards [mailto:nick.z.edwa...@gmail.com]
> Sent: 12 July 2012 12:30
> To: php-general@lists.php.net
> Subject: [PHP] database hell
>
> Hi
>
> We have a program that manages users, throughout all database calls
>
> created as:
> $connect = mysql_connec
On 12 Jul 2012, at 12:29, Nick Edwards wrote:
> We have a program that manages users, throughout all database calls
>
> created as:
> $connect = mysql_connect($db_host--other variables);
> mysql_query("Delete from clients where id=$User");
>
> All this works good, but, we need, in the delete fun
On 7/12/12, Gibbs wrote:
> On 12/07/12 12:29, Nick Edwards wrote:
>> Hi
>>
>> We have a program that manages users, throughout all database calls
>>
>> created as:
>> $connect = mysql_connect($db_host--other variables);
>> mysql_query("Delete from clients where id=$User");
>>
>> All this works goo
On 12/07/12 12:29, Nick Edwards wrote:
Hi
We have a program that manages users, throughout all database calls
created as:
$connect = mysql_connect($db_host--other variables);
mysql_query("Delete from clients where id=$User");
All this works good, but, we need, in the delete function to delete
11 matches
Mail list logo