im trying to get the username of the personal profile.
the url is example.com/theusername/index.php
the "theusername" i want to make into a variable.
How do i do that? i want the variable to be called "theusername"
so how do i make that into a variable? does anyone know?
with php
cause i want to plug each individual variabl in to the rest of the code so its unique and can show the users information of the profile being viewed. i dont know any other way?
does anyone else?
there will be more than one profile obviously.(with different usernames ex. example.com/difusername)
or is there a simpler way to plug in the users information to be written on the page?
SKANK!!!!! 5 Posting Pro in Training
danishbacker 0 Junior Poster in Training
cwarn23 387 Occupation: Genius Team Colleague Featured Poster
kvprajapati 1,826 Posting Genius Team Colleague
FlashCreations 20 Posting Whiz
sDJh 39 Posting Whiz in Training
FlashCreations 20 Posting Whiz
SKANK!!!!! 5 Posting Pro in Training
FlashCreations 20 Posting Whiz
SKANK!!!!! 5 Posting Pro in Training
SKANK!!!!! 5 Posting Pro in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.