Guys,
I have a bit of a dilemma. I'm currently building a site and am using php include to call content from another page, I know very little about php, and I normally only write css and xhtml.
The question I have is:
Is it possible to only display certain DIV's from the php page I am including?
For example, I am using < ?php include ("stuff.php"); ? >, in the home page (index.php) of a site, to call the following content (obviously there are no spaces between the tags in the real code):
this is what's in stuff.php:
< div id="thumb" >< a href="#"><img src="thumb.jpg" / >< /a >< /div >
< div id="photo" >< img src="photo.jpg" / >< /div >
< p id="shortDesc" >A really short desciption explaining what thumb.jpg is.< /p >
< p id="londDesc" >An Extremely long description describing in great detail what image.jpg is, this description is huge and goes on forever.< /p >
But all I want to display on index.php is the "thumb" and "shortDesc" if you catch my drift.
Is this possible, or is there an alternative method (except mysql)?
I am a web designer, not a developer, so any help would be hugely appreciated, I'll even buy you a pint at the next meet if you are there [y]