Created
March 23, 2012 11:02
-
-
Save vrushank-snippets/2169619 to your computer and use it in GitHub Desktop.
PHP : Remove URLs from string
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$fh = fopen("contacts.csv", "r"); | |
while($line = fgetcsv($fh, 1000, ",")) { | |
echo "Contact: {$line[1]}"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment