i am still pretty new to php and i need to extract a value from the url and not quit sure wich is the best rout to take or the most efective
now i need to get the value of the userspage because it is the name of the table storing all of there inputed info on there page
any help is welcome or if i need to give more info on my question let me know
btw how do i marke the thread resoleved?? i have another post that i figured out and i need to do that
Last edited by mikefly; 04-06-2006 at 11:12 AM.
you'll probably want to do this:
for example, your page is index.php
and your link would be www.awebsite.com/index.php?page=x (where 'x' is whatever you want, a number or a string, that would be your table name)
this table name is accessible through:
$page = $_GET['page'];
to mark a thread resolved click on thread tools at the top of the 1st post and click on "mark thread resolved"
Not sure if this is what you're looking for:
$thisFileName = basename(__FILE__); // 2 underscores on each side of FILE
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
How to Ask Questions the Smart Way
(not affiliated with this site, but well worth reading)
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)