mattal999 Posted October 19, 2007 Share Posted October 19, 2007 lets say we have: <td class="j">hiya</td> is there anyway to get the 'hiya' part out of that with php? thanks Quote Link to comment https://forums.phpfreaks.com/topic/73925-solved-taking-text-out-of-html/ Share on other sites More sharing options...
dingus Posted October 19, 2007 Share Posted October 19, 2007 take a look at this here http://au2.php.net/preg_match Quote Link to comment https://forums.phpfreaks.com/topic/73925-solved-taking-text-out-of-html/#findComment-373033 Share on other sites More sharing options...
mattal999 Posted October 19, 2007 Author Share Posted October 19, 2007 ok, ive made it work! this is kinda off the topic, but how do you make spaces, turn into %20? i think its preg_replace but i cant figure it out... Quote Link to comment https://forums.phpfreaks.com/topic/73925-solved-taking-text-out-of-html/#findComment-373038 Share on other sites More sharing options...
mattal999 Posted October 19, 2007 Author Share Posted October 19, 2007 nvm, i did it: str_replace lol Quote Link to comment https://forums.phpfreaks.com/topic/73925-solved-taking-text-out-of-html/#findComment-373041 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.