I am using dreamweaver to edit a php page. How do I save a page that contains a php string in the name of the page?
Ex: website.com/<?php echo $row['name']; ?>.php
Any help would be greatly appreciated!
Path info - how do you save a page as <?name?>
Moderator: General Moderators
Path info - how do you save a page as <?name?>
Last edited by zander213 on Tue Nov 09, 2004 12:14 pm, edited 1 time in total.
- genetix
- Forum Contributor
- Posts: 115
- Joined: Fri Aug 01, 2003 7:40 pm
- Location: Sask, Regina
- Contact:
if your saying your editting a script someone else made and your thinking thats a real page its most likely not. Here are two examples:
Vitual Page: page.php?id=4
Real Page: page4.php
The virtual page isn't actually there most of the times. What appears in a web browser all depends on whats in the id=
In your case I'm not sure though because there is another .php at the end.
Could you provide more information?
Vitual Page: page.php?id=4
Real Page: page4.php
The virtual page isn't actually there most of the times. What appears in a web browser all depends on whats in the id=
In your case I'm not sure though because there is another .php at the end.
Could you provide more information?
I have 2 pages that I am creating...
Page A is a list of all items on one page. Each link on this page points to each individual item:
website.com/<?php echo $row['item']; ?>.php
My question is - how do I set up Page B so the links from Page A will open the correct item in Page B?
Do I have to save each Page B as :
<?php echo $row['item']; ?>.php
Or am I confused here?
Page A is a list of all items on one page. Each link on this page points to each individual item:
website.com/<?php echo $row['item']; ?>.php
My question is - how do I set up Page B so the links from Page A will open the correct item in Page B?
Do I have to save each Page B as :
<?php echo $row['item']; ?>.php
Or am I confused here?
Certainly you are. Page A is supposed to be preprocessed by PHP interpreter on the fly, yielding something like this:zander213 wrote: Or am I confused here?
Code: Select all
website.com/1.php
website.com/2.php
website.com/3.php
//.... and so on