Re: Same code but some photos won't show.
| From: | Ferenc Kovacs | Date: | Mon, 28 Feb 2011 08:38:14 +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-30510@lists.php.net to get a copy of this message | ||
On Mon, Feb 28, 2011 at 3:22 AM, Niel Archer <not@chance.now> wrote:
> > I finally got code going to show off UV fluorescent (wood) photos.
> > All pages are dynamically formed with PHP and MySQL. Most photos show
> > but, strangely --- some do not, even though it is the same code that
> > is forming each page according to what a user picks as the species to
> view.
>
> <snip>
>
> >
>
> ...................................................................................................
> >
>
> ///////////////////////////////////////////////////////////////////////////////////////////////////////
> > //
> > SECTION TO DISPLAY WOOD SCANS
> >
>
> /////////////////////////////////////////////////////////////////////////////////////////////////////
> >
> > Echo "<div align = 'center'>";
> >
> > Echo "<H2 align=\'center\'>Ultraviolet Fluorescence Photo of
> > {$_SESSION["speciesname"]}</H2>";
>
> 'center' shouldn't have the single quotes escaped.
>
>
> >
> > $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
>
>
AFAIK, yes you can.
Tyrael