|
|
|
| Title : |
How to avoid the slashes (\) when retriving information from
sql when MagicQuotes are on? |
| Categories : |
Strings, PHP |
 David Robley |
| Date : |
Apr 27th 1998 |
| Grade : |
4 of 5 (graded 1 times) |
| Viewed : |
3262 |
| File : |
No file for this code example. |
| Images : |
No Images for this code example. |
|
| Search : |
More code by David Robley |
|
| Action : |
Grade This Code Example
|
|
| Tools : |
My Examples List |
|
|
|
|
|
|
You need to use stripslashes() when retrieving the data to avoid
displaying the slashes.
If you are not using magic quotes, you need to escape the ' and " with a
slash anyhow! You can use addslashes() for this.
|
|
| The Porter Word Stemming Algorithm in PHP
Reduces words to their base stem for search engines and indexing Categories : Algorithms, PHP, Strings | | | Random Password Generator Categories : PHP, Strings, Security | | | WWW interface to Unix Manual(phpMan)
Categories : Program Execution, Strings, Arrays, PHP | | | Get TemplateMonster data Categories : Arrays, Ecommerce, PHP, Strings | | | How to find the name of the current file? Categories : PHP, Filesystem, Strings | | | Can the word DO be used in arrays? Categories : Arrays, PHP, Strings | | | Making sure a string containes only digits or no digits. Categories : Strings, PHP, Regexps | | | Customizable encoding and decoding strings with security. Categories : PHP, Strings, HTML and PHP | | | Parse string to find sub-string between two arbitrary strings Categories : PHP, Strings, HTML and PHP, Arrays | | | Class TStringList include some metods from class TStringList
implemented in INPRISE/BORLAND-DELPHI Categories : PHP Classes, PHP, Strings | | | Adding dashes to credit card numbers Categories : Strings, Credit Cards, PHP | | | Finding numbers within a string Categories : PHP, Regexps, Strings | | | Convert a string to Title Case Categories : Strings, PHP | | | How to ifconfig down/up a list of IP's Categories : Arrays, Strings, Filesystem, PHP | | | Variable serialization and unserialization. Loading and saving variable structures
to and from file. Categories : Arrays, Filesystem, Variables, Strings, PHP | |
| |
| |
|