
A script that detects hashtags in PHP?
Anybody know how I could create a script that detects hashtags(like twitter) so during the submit script it would find any #then a word. Please help, send me a link to a tutorial or explain how; I know basic php. I’m still learning.
You are going to want to look into php’s regular expressions, or regex. This will do what you are looking for. Some people find it complicated at the beginning, but once you understand them, then they become an indispensable tool. Just be careful not to over use them. They are resource heavy and many developers use them in place of inherit string functions. This is a mistake. Learn what the proper uses are for them, and what is simply a waste of resources.
Cheers,
Gitlez
|
|
Twitter Profits Unleashed – eBook & Videos on CD $12.99 |
|
|
Advertise your Message to 55,000+ Twitter Followers $5.00 |
|
|
10k Real Looking Twitter Followers No Password Needed $35.00 |
|
|
Twitter Advertising to 40,000+ followers TWITTER AD $0.99 |
|
|
~AT&T Apple iPhone 16GB 3G ATT~WiFi Facebook MP3 Twitter~3 G 16 g b~ BLACK! 839 $159.91 |
Tags: css, design, php twitter tutorial, php twitter tutorial oauth, tutorial, twitter, twitter api php tutorial oauth, twitter search api php tutorial, twitter streaming api tutorial php, webdesign
