Re: [PHP-DB] String Parsing/Escaping

2005-01-09 Thread Jochem Maas
hi Alexander, interesting question regarding 'safety' v. readability v. speed - I'm sure you'll get different views depending on who you ask. Here is my take: Alexander Mueller wrote: Hi, below are three versions of an SQL call along with escaping the passed value.

[PHP-DB] Fatal error: Cannot use string offset as an array?

2005-01-09 Thread mdpeters
Fatal error: Cannot use string offset as an array in I have a site PHP 5 project that for the most part, works great. I have two search links that are broken. They complain about the same error, just another line number. I'm not very good with PHP. I am almost certain that this is a typo

[PHP-DB] MySQL ENCRYPT help!

2005-01-09 Thread Kevin the Linux User
To the PHP Database Mailing-List: I joined the mailing list for this one question I just can't figure out. I used the phpMyAdmin to create table. I placed one row in this table, I used the ENCRYPT function. How do I De-Crypt the data I just encrypted to use in my PHP code. I encrypted

Re: [PHP-DB] MySQL ENCRYPT help!

2005-01-09 Thread Jochem Maas
Kevin the Linux User wrote: To the PHP Database Mailing-List: I joined the mailing list for this one question I just can't figure out. nice, we help you and then you bugger off? - community spirit are go! I used the phpMyAdmin to create table. I placed one row in this table, I used the ENCRYPT

Re: [PHP-DB] String Parsing/Escaping

2005-01-09 Thread Alexander Mueller
Jochem Maas wrote: hi Alexander, interesting question regarding 'safety' v. readability v. speed - I'm sure you'll get different views depending on who you ask. Here is my take: Thank you Jochem! :) I rate speed as the least important issue - you can alway use a faster machine, get some more