engel


Member since 11/28/2007

Location: Phoenix, AZ, USA

Website: http://engel.uk.to

4 snippets

1090 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet popular snippet:having a snipplet with 20 favorites

engel's Recent Snippets



« Prev 1 Next »
Searches an array $haystack for $needle. Returns the value of the element which contains the first result. Use strstr_array() for case-sensitive searches and stristr_array() for case-insensitive searches.
1 453 posted 12 years ago by engel
Running this command will append a line with given values to a file you specify. Replace words between < and > with the values you desire.
1 210 posted 12 years ago by engel
Add this template before functions in a library, in order to give a good description of what it is and what it does. Replace all in < and > with your values.
2 162 posted 12 years ago by engel
Pass a user-inputted variable to this function in order to prevent SQL injection. Example: mysql_query("INSERT INTO table VALUES('" . sql_sanitize($_POST["variable") . "')"); Instead of: mysql_query("INSERT INTO table VALUES('" . $_POST["var...
34 879 posted 12 years ago by engel
« Prev 1 Next »