PHP - Wildcards Like
hi i am about to start building a small search where users type in what they are searching for but i am wanting to also find similar things to what they have typed in.
$data = mysql_query("SELECT * FROM users WHERE users.bizname='%$bizname%' "); would i use something like that.. i haven't tried yet. thought id ask first Similar TutorialsThis topic has been moved to PHP Regex. http://www.phpfreaks.com/forums/index.php?topic=320197.0 Okay, I have a problem. I need to display multilple output of a file with a similar file name I.E. file1: 6002010.pdf file2: 6002010.mmddyyyy.pdf Now the first part of the file stays the same, but there is a time stamp on modified versions of the file. But in my output I need to display all the files with the 6002010. Could I use a wildcard such as 6002010* to get all the files to output on the screen? Or do I need to use a regular expression? This topic has been moved to PHP Regex. http://www.phpfreaks.com/forums/index.php?topic=319445.0 |