php-general Digest 2 Nov 2009 08:53:33 -0000 Issue 6422

2009-11-02 Thread php-general-digest-help
php-general Digest 2 Nov 2009 08:53:33 - Issue 6422 Topics (messages 299552 through 299557): Classes and Functions 299552 by: Daniel Kolbo 299553 by: Mathieu Rochette 299554 by: Larry Garfield shell_exec fails to compile java class? 299555 by: דניאל דנ

php-general Digest 2 Nov 2009 23:24:53 -0000 Issue 6423

2009-11-02 Thread php-general-digest-help
php-general Digest 2 Nov 2009 23:24:53 - Issue 6423 Topics (messages 299558 through 299576): Re: Help with my first recursion menu 299558 by: MEM Re: PHP and Javascript escape character problem, -- those who like to solve things can try to solve this issue, its tricky I think ;)

Re: [PHP] Re: What PHP version are you using?

2009-11-02 Thread Israel Ekpo
On Mon, Nov 2, 2009 at 2:15 PM, John Black s...@network-technologies.orgwrote: Bob McConnell wrote: I just checked the Red Hat 5.4 manifest and it shows php-5.1.6-23.el5 - php-5.1.6-23.2.el5_3. CentOS simply repackages the Red Hat kit without the proprietary bits. I don't understand why they

Re: [PHP] Re: What PHP version are you using?

2009-11-02 Thread John Black
Israel Ekpo wrote: That is not good. 5.1.6 was released in August 2006. More than 3 years ago. There are a lot of bug fixes since then http://www.php.net/ChangeLog-5.php It looks like the php libraries are not maintained in CentOS and Red Hat Repositories. I posted the current RHEL version

Re: [PHP] Re: What PHP version are you using?

2009-11-02 Thread Lester Caine
Israel Ekpo wrote: On Mon, Nov 2, 2009 at 2:15 PM, John Black s...@network-technologies.orgwrote: Bob McConnell wrote: I just checked the Red Hat 5.4 manifest and it shows php-5.1.6-23.el5 - php-5.1.6-23.2.el5_3. CentOS simply repackages the Red Hat kit without the proprietary bits. I don't

[PHP] Custom function for inserting values into MySQL

2009-11-02 Thread Allen McCabe
Okay friends, I have been wondering about writing a simple function that will help me with my MySQL inserting. Not because I need to save time and space, but because I wanted to. I wrote a function for inserting 10 values (I have not been able to come up with an idea how to make the number of

RE: [PHP] Custom function for inserting values into MySQL

2009-11-02 Thread Daevid Vincent
Do you see any major hangups or screwups on first glance? Yes. There is so much wrong with this I don't even know where to begin... This function takes 22 parameters: #1 is the table name, #2-21 are the row names and the values, and #22 is the integar string. Dude. Seriously? TWENTY TWO

Re: [PHP] Custom function for inserting values into MySQL

2009-11-02 Thread Phpster
I would take a look at some of the frameworks like codeignter to see how they do things. But like Davied mentioned a simpler way to handle the passing into the function would be Function save($table, $data) Where data is an array of key value pairs which takes your 22 parameters down