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 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 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... 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 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
Archived
This topic is now archived and is closed to further replies.