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

Richard Quadling <[email protected]>
Newsgroups gmane.comp.php.windows
Message-ID <[email protected]>
On 28 February 2011 02:22, Niel Archer <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.