On Mon, Feb 28, 2011 at 3:22 AM, Niel Archer <[email protected]> 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