On 28 February 2011 02:22, Niel Archer <n...@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. -- 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