[PHP] Php Directory structures

2001-12-22 Thread Martin Hughes
Heya, Can PHP count the number of a certain ftile in a directory and then print the result to the screen? I have articles on my site that are in XML/XSL format like: root/articles/00_head.xml 00_body.xml 01_head.xml 01_body.xml

Re: [PHP] JavaScript php question - mainly JS though so slightly OT but hep needed!!! :o)

2001-12-19 Thread Martin Hughes
Many Thanks everyone!! Mart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] RE: How should I do this site...?

2001-12-19 Thread Martin Hughes
Thank you! What is the point of using unset here (sorry - newbie question I know but I'm learning all the time :o)) Is it possible therefore to create more than 2 levels this way? If my heirachy goes 3 or 4 levels deep in some places? And could I also get a navbar to be generated dynamically

[PHP] PHP XML

2001-12-19 Thread Martin Hughes
Heya, Is it possible to integrate XML with PHP - ie get data out of an XML file and format it in html using php? Or alternatively, use php within an XSL file...? Cheers Mart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] Re: PHP XML

2001-12-19 Thread Martin Hughes
Sorry - I should perhaps say that I'm only intending to code this site for IE(5/6) - there are too many issues with NetS - I **KNOW** that that's bad and lazy, but that's the way it's gonna be :o) M -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] PHP XML

2001-12-19 Thread Martin Hughes
tags ?php find this line: short_open_tag = On change On to Off bvr. On Thu, 20 Dec 2001 01:34:58 -, Martin Hughes wrote: Heya, Is it possible to integrate XML with PHP - ie get data out of an XML file and format it in html using php? Or alternatively, use php within an XSL file

[PHP] Crashing in Win2K with IIS and latest PHP installed when loading an open page...

2001-12-18 Thread Martin Hughes
Help!!! If I'm editing a php file have it open (or have recently done so) in notepad sometimes when i do reload or open the file in IE6 my computer pauses for a second, then shuts itself off with a resounding click of the hard disks and promptly restarts. I don't think it's a disk problem - it

[PHP] JavaScript php question - mainly JS though so slightly OT but hep needed!!! :o)

2001-12-18 Thread Martin Hughes
How could I write the function windowPopup(XX) where XX is a variable that can change from link to link, for a popup info window to load a php file with the variable XX in the url? So the link would look like: a href=javascript:windowPopup(XX);Link Text/a and I want that link to open the page

[PHP] Re: Please Help - getting a hightlight depending on selected page

2001-08-24 Thread Martin Hughes
Sorry Hugh - didn't mean to send it just to you!! Hi! Thanks for the help! It works great, but I've now made the array 2 dimensional: ?php $index = array ( The Music Behindbr /Les Miseacute;rables = array (About Les Miseacute;rables), Introduction = array (About Les Miseacute;rables),

[PHP] Re: Please Help - getting a hightlight depending on selected page

2001-08-23 Thread Martin Hughes
Thanks everyone for the help!!! Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Please Help - getting a hightlight depending on selected page

2001-08-22 Thread Martin Hughes
Hi can anyone help me please!? I have a page that has a navigation table on the left with various links: Information Software Cars Dishwashers Paper Contact etc... (not the real links ;)) and I want the cell of the section I am in to be highlighted (ie if I am in Cars I want the Cars link to

[PHP] Re: Please Help - getting a hightlight depending on selected page

2001-08-22 Thread Martin Hughes
OK here's the code in the page: !-- Start Navigation -- div id=navbar table class=navtable width=160 cellpadding=4 !-- Navigation Bar Heading -- tr td class=navheadWelcome/td /tr trtd class=navtext id=sela href=Home/a/td/tr trtd class=navtexta href=Introduction/a/td/tr trtd class=navtexta

[PHP] Including file...

2001-03-10 Thread Martin Hughes
I seem to be making a mistake somewhere... # Define the navigation bar array $navbar = array("navmain", "info", "music", "orch", "synth", "syntype", "audio", "recordings"); # Define the pages in arrays by section $main = array("home"); $info = array("infomain", "about", "contact",

[PHP] Please Help!!!! - Really BASIC stuff!

2001-03-06 Thread Martin Hughes
Hi, Could someone please help me? If I have links on my page: a href="side.php?page=audio"Link 1 Here/a a href="side.php?page=visual"Link 2 Here/a And then side.php is the following: html /head Blah /head body FILE CONTENTS GO HERE /body /html Where the files to be

[PHP] Please Help!!!! - Really BASIC stuff!

2001-03-06 Thread Martin Hughes
My God!! You're all stars!!! (This is the **fastest** mailing list I've ever joined) If I have *loads* of links (not just audio visual) is there a way to create a file to include them all? Basically - what I've got is a frameset with side main frames (side is for nav, main is for... well,