php-general Digest 8 Sep 2012 14:36:13 -0000 Issue 7955

2012-09-08 Thread php-general-digest-help
php-general Digest 8 Sep 2012 14:36:13 - Issue 7955 Topics (messages 319011 through 319014): Re: The end of mysql 319011 by: Shiplu 319012 by: Adam Richardson 319013 by: Jim Giner a little trickery 319014 by: David McGlone Administrivia: To subscribe to

php-general Digest 9 Sep 2012 03:19:51 -0000 Issue 7956

2012-09-08 Thread php-general-digest-help
php-general Digest 9 Sep 2012 03:19:51 - Issue 7956 Topics (messages 319015 through 319023): Re: The end of mysql 319015 by: Bastien 319016 by: Jim Giner 319017 by: Jim Giner 319019 by: Daniel Brown 319020 by: Paul M Foster 319022 by: Daniel

Re: [PHP] The end of mysql

2012-09-08 Thread Jim Giner
Nope. No PDO as yet either jg On Sep 7, 2012, at 11:22 PM, Adam Richardson simples...@gmail.com wrote: On Fri, Sep 7, 2012 at 9:58 PM, Jim Giner jim.gi...@albanyhandball.com wrote: So with the announced end of the mysql functions (and switching to a different extension), one would think

[PHP] a little trickery

2012-09-08 Thread David McGlone
I have a function that reads a directory and gets all the file names of images, and I am wondering if it's possible to concatinate this function withint an image tag. Here's an example I tried. function pictures() { $dir = 'images/property_pics/'; $file = array();

Re: [PHP] The end of mysql

2012-09-08 Thread Bastien
Bastien Koert On 2012-09-08, at 9:54 AM, Jim Giner jim.gi...@albanyhandball.com wrote: Nope. No PDO as yet either jg On Sep 7, 2012, at 11:22 PM, Adam Richardson simples...@gmail.com wrote: On Fri, Sep 7, 2012 at 9:58 PM, Jim Giner jim.gi...@albanyhandball.com wrote: So with the

Re: [PHP] The end of mysql

2012-09-08 Thread Jim Giner
On 9/8/2012 10:40 AM, Bastien wrote: Change hosts. They are not keeping up That's not entirely true. They have kept up to date with most things for the 10 years I've been with them. I think they just have to get their heads around the idea that the PHP community is moving ahead on

Re: [PHP] The end of mysql

2012-09-08 Thread Jim Giner
On 9/8/2012 9:54 AM, Jim Giner wrote: Nope. No PDO as yet either jg On Sep 7, 2012, at 11:22 PM, Adam Richardson simples...@gmail.com wrote: On Fri, Sep 7, 2012 at 9:58 PM, Jim Giner jim.gi...@albanyhandball.com wrote: So with the announced end of the mysql functions (and switching to a

Re: [PHP] a little trickery

2012-09-08 Thread Stuart Dallas
On 8 Sep 2012, at 15:35, David McGlone da...@dmcentral.net wrote: I have a function that reads a directory and gets all the file names of images, and I am wondering if it's possible to concatinate this function withint an image tag. Here's an example I tried. function pictures() {

Re: [PHP] The end of mysql

2012-09-08 Thread Daniel Brown
On Fri, Sep 7, 2012 at 9:58 PM, Jim Giner jim.gi...@albanyhandball.com wrote: So with the announced end of the mysql functions (and switching to a different extension), one would think that my isp/hoster would be a bit more interested in my dilemma. I tried today to create my first

Re: [PHP] The end of mysql

2012-09-08 Thread Paul M Foster
On Fri, Sep 07, 2012 at 09:58:38PM -0400, Jim Giner wrote: So with the announced end of the mysql functions (and switching to a different extension), one would think that my isp/hoster would be a bit more interested in my dilemma. I tried today to create my first mysqli-based test script and

Re: [PHP] a little trickery

2012-09-08 Thread Daniel Brown
On Sat, Sep 8, 2012 at 10:49 AM, Stuart Dallas stu...@3ft9.com wrote: Is there just one image in the folder that starts with the 9 digit number? In that case it's dead simple (untested code): ?php function completeImageFilename($prefix) { $matches =

Re: [PHP] The end of mysql

2012-09-08 Thread Daniel Brown
On Sat, Sep 8, 2012 at 11:40 AM, Paul M Foster pa...@quillandmouse.com wrote: Please excuse my ignorance. I feel like I just stepped into the middle of a conversation. What's this about announced end of the mysql functions? Who exactly announced what, and is there a link to whatever

Re: [PHP] a little trickery

2012-09-08 Thread David McGlone
On Saturday, September 08, 2012 03:49:27 PM you wrote: On 8 Sep 2012, at 15:35, David McGlone da...@dmcentral.net wrote: I have a function that reads a directory and gets all the file names of images, and I am wondering if it's possible to concatinate this function withint an image tag.

Re: [PHP] a little trickery

2012-09-08 Thread David McGlone
On Saturday, September 08, 2012 11:19:29 PM David McGlone wrote: On Saturday, September 08, 2012 03:49:27 PM you wrote: ?php function completeImageFilename($prefix) { $matches = glob('images/property_pics/'.$prefix.'*'); return $matches[0]; } echo