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

From: Date: Mon, 28 Feb 2011 02:22:36 +0000
Subject: Re: Same code but some photos won't show.
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-30508@lists.php.net to get a copy of this message
> 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 Fix those and see what happens ;-) -- Niel Archer

« previous php.windows (#30508) next »