View Full Version : php Help
05-28-2009, 09:37 PM
Hi can any one tell me how to list all my "inc files" on a php page, then when you click on the link of the file it will open on that page if this is possible?
and yes I'm new to all this coding and got alot to learn as I'm trying to build a site for our MXclub
05-28-2009, 09:43 PM
It depends on what your "inc files" are ... some plain text? some HTML? some images?
You might be describing something different than what I'm thinking about.
Are you wanting to display the same page (such as "index.php") with different content
each time a menu link is clicked?
Maybe you can show us the website (give us a URL) and explain it to us.
05-28-2009, 10:08 PM
My "inc files" are all plain text (http://www.orkneymotocross.co.uk/Don%20and%20Dee%20cups.inc) but it would be great if I could add a few photos, at the moment this story is on our "news" page, as the year goes on we will be adding more this is why I would like them only to be listed then click to open.
(http://www.orkneymotocross.co.uk) your view on our site would be very welcome but remember that this is my first one please be gentle.
05-28-2009, 10:30 PM
Why didn't you ask in the php forum? So you are wanting to list all of the files that are dependencies of the current page you are on so everything included you want to list?
05-28-2009, 11:05 PM
Oops I'm sorry if I put it in the wrong forum like I said I'm new to all this.
Yes that sounds about right, how or whats the best way to do it
05-29-2009, 12:48 AM
My personal opinion is that you should be using WordPress or Joomla for a website.
WordPress can be used in a form of a website CMS, not so much like a blog.
Many people are finding and using custom WP templates for non-blog sites.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.