Sorthy359 Posted September 19, 2007 Share Posted September 19, 2007 yeah thats what my impression was when i joined a long time ago. i suggest studying up on php.net.. thinks like fwrite,fsockopen,and etc. are used alot in php. also, i learned alot from reading books on php. i went from beginner to intermediate because i bought a couple books on php&mysql from a book store. you learn more out of those books in 2 days then you can in weeks learning on your own just trying to understand tutorials(not to put down phpfreaks' tutorials they are great but mostly when you understand them). phpfreaks community is almost like your personal debugger when something has gone wrong. i used to IM all my contacts every time i had a problem and half the time they didnt know. lol Quote Link to comment https://forums.phpfreaks.com/topic/69677-solved-creating-a-folder-and-page-with-php/page/2/#findComment-350996 Share on other sites More sharing options...
blueman378 Posted September 19, 2007 Author Share Posted September 19, 2007 lol fair enough just one final question howdo i go about putting php variables into a html link eg mysite.com/users/(variable username here)/index.php cheers Quote Link to comment https://forums.phpfreaks.com/topic/69677-solved-creating-a-folder-and-page-with-php/page/2/#findComment-350997 Share on other sites More sharing options...
JJohnsenDK Posted September 19, 2007 Share Posted September 19, 2007 $username = "Oppo"; echo mysite.com/users/".$username."/index.php Quote Link to comment https://forums.phpfreaks.com/topic/69677-solved-creating-a-folder-and-page-with-php/page/2/#findComment-350999 Share on other sites More sharing options...
Sorthy359 Posted September 19, 2007 Share Posted September 19, 2007 wtf.johnson no..little wrong buddy. echo "http://yoursite.com/users/".$username."/"; or in most cases you can echo "http://yoursite.com/users/$username/"; Quote Link to comment https://forums.phpfreaks.com/topic/69677-solved-creating-a-folder-and-page-with-php/page/2/#findComment-351012 Share on other sites More sharing options...
remlabm Posted September 19, 2007 Share Posted September 19, 2007 actually sorthy it is better if you get in the habit of breaking out of of " because if you start getting into arrays and echoign results, it will not work... ex BAD: echo "http://www.yoursite.com/$test[array][name]/blah/"; ex GOOD: echo "http://www.yoursite.com/".$test[array][name]."/blah/"; Quote Link to comment https://forums.phpfreaks.com/topic/69677-solved-creating-a-folder-and-page-with-php/page/2/#findComment-351091 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.