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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux