Re: [PHP-WIN] Re: How Do I Display a table description (PHP/MySQL question)

2008-01-26 Thread Aaron Schiff
Didn't even realize I sent it to you directly...I'm sending it to the list to archive it. Here's what I said: For displaying table comments: SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'your-table-name' For displaying column comments: SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHE

Re: [PHP-WIN] Warning: eregi() [function.eregi]: REG_ERANGE in ...

2008-01-19 Thread Aaron Schiff
I think single quotes is right because you don't want PHP to escape the characters...the escape is for regex, not PHP On Jan 19, 2008 9:44 AM, Niel Archer <[EMAIL PROTECTED]> wrote: > Hi > > > OK, I don't think I searched the web hard enough. I've not found a > > definitive explanation, but I thin

[PHP-WIN] Recursive PHP method crashes Apache

2008-01-03 Thread Aaron Schiff
I call my method Assembler::PrefetchComponents with an array of valid components and it crashes only when I include the line "self::PrefetchComponents($dependencies);" Please help me solve the error in this code. Here's Assembler::PrefetchComponents: public static function PrefetchComponents($nam