PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Good day to you all !!!
I've find an directory lister and from it i need when the user click on a file that it pass the value to another page, this one in a frame, witch would be a simple php file editor so that he/she could edit the selected file and save it.
Here is thecode use for the directory lister :
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
You will need to use the 'target' attribute of '<a...>' tag in conjunction with naming the editing frame the same as the value of target. I bet if you googled 'Using hyperlinks between frames' you would come up with something good.
Before I do it for you, you should try it out yourself. Really try, and if you run into challenges along the way, post back. Everyone here is more than willing to help you do it. But there are few here that are willing to do it for you.
Before I do it for you, you should try it out yourself. Really try, and if you run into challenges along the way, post back. Everyone here is more than willing to help you do it. But there are few here that are willing to do it for you.
Yes and besides we probably won't be able to make it work how you want anyway.
NOw that you help me fix this and you understand what i'm talking about, can it be possible and can you point me ti how I can do the same in anothe page's frame ?
Something you can do to learn what you want is to download phpBB and take a look at their administration folder. Their admin pages all work that way. There is a left navigation frame that loads all admin pages in the right hand frame. Basically you are going to develop all of your code as though they were regular pages. The only difference is where your tell your markup (the HTML) to get it's source.
Maybe do a little googling for HTML frames for some tutorials on how to use the frame syntax for HTML. That would be a good place to start.