Re: Same code but some photos won't show.

From: Date: Mon, 28 Feb 2011 19:36:59 +0000
Subject: Re: Same code but some photos won't show.
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-30512@lists.php.net to get a copy of this message
> On 28 February 2011 02:22, Niel Archer <not@chance.now> wrote: > >> > >>          $uvquery = " > >>          SELECT u.uv_filename > >>          FROM uvphotos u > >>          JOIN species s > >>          ON u.species_name=s.species_name > >>          WHERE u.species_name = '$speciesname'"; > > > > You can't split a normal string over multiple lines like this > > > > > > > > Fix those and see what happens ;-) > > > > -- > > Niel Archer > > Neil, > > <?php > $string = "This is line 1. > This is line 2. > This is line 3."; > echo $string; > ?> > > outputs ... > > This is line 1. > This is line 2. > This is line 3. > > There is no magic here. The string contains newlines and are carried > through to the output as expected. > > Richard. Sorry my mistake. I was tired and thinking it needed HEREDOC ;-) > -- > Richard Quadling > Twitter : EE : Zend > @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Niel Archer

« previous php.windows (#30512) next »