Re: Same code but some photos won't show.
| From: | Richard Quadling | Date: | Mon, 28 Feb 2011 10:20:22 +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-30511@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.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY