abdulsamad Posted October 19, 2008 Share Posted October 19, 2008 how do u use wildcards in php??? syntax nd xample plz Quote Link to comment https://forums.phpfreaks.com/topic/129084-wildcards/ Share on other sites More sharing options...
trq Posted October 19, 2008 Share Posted October 19, 2008 There is no such thing I'm afraid. Quote Link to comment https://forums.phpfreaks.com/topic/129084-wildcards/#findComment-669187 Share on other sites More sharing options...
dropfaith Posted October 19, 2008 Share Posted October 19, 2008 $sql = 'SELECT * FROM addresslist WHERE address2 LIKE "%CA%" '; http://www.phpfreaks.com/forums/index.php?topic=217189.0 Quote Link to comment https://forums.phpfreaks.com/topic/129084-wildcards/#findComment-669188 Share on other sites More sharing options...
dropfaith Posted October 19, 2008 Share Posted October 19, 2008 crap maybe i misunderstood wonders Quote Link to comment https://forums.phpfreaks.com/topic/129084-wildcards/#findComment-669189 Share on other sites More sharing options...
.josh Posted October 19, 2008 Share Posted October 19, 2008 how do u use wildcards in php??? syntax nd xample please Give an example of what you need to use wildcards for. If it's for selecting stuff from a database, your database has built-in regex functions/operators/symbols. If it's trying to find patterns in strings, php has built-in regex functions that include wildcard operators/symbols. Quote Link to comment https://forums.phpfreaks.com/topic/129084-wildcards/#findComment-669230 Share on other sites More sharing options...
abdulsamad Posted October 19, 2008 Author Share Posted October 19, 2008 i m tRYinG tO maKE thE scRipT iN whICH i wiLl giVe a usErnAMe nD password and a link nD the link would b lyk http://rs250.rsdnsi/12/23 wht i wanna do is tht put the usename nd password lyk this http://username:[email protected]/23/23 i can write it lyk echo "http".$username.$password.":".$link but the prblm is that $link also for http:// so it will b lyk http://username:password@http://rs250.asds/23/23 but i don't want tht http:// so ny suggestions? Quote Link to comment https://forums.phpfreaks.com/topic/129084-wildcards/#findComment-669334 Share on other sites More sharing options...
trq Posted October 19, 2008 Share Posted October 19, 2008 Is there something wrong with your keyboard? You seem to be having alot of trouble with caps and missing letters. Quote Link to comment https://forums.phpfreaks.com/topic/129084-wildcards/#findComment-669338 Share on other sites More sharing options...
Andy-H Posted October 19, 2008 Share Posted October 19, 2008 $link = explode("://", $link); "http://" . $username. ":" . $password . "@" . $link[1]; Quote Link to comment https://forums.phpfreaks.com/topic/129084-wildcards/#findComment-669342 Share on other sites More sharing options...
.josh Posted October 19, 2008 Share Posted October 19, 2008 If you want people to help you, you need to make an effort to type like a normal human being. Nobody is an expert but that's a disrespectful joke of a post. Quote Link to comment https://forums.phpfreaks.com/topic/129084-wildcards/#findComment-669344 Share on other sites More sharing options...
CroNiX Posted October 20, 2008 Share Posted October 20, 2008 If you were so k-rad l337 then you would know the answer. Quit being a poser. Quote Link to comment https://forums.phpfreaks.com/topic/129084-wildcards/#findComment-669767 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.