engel


Member since 11/28/2007

Location: Phoenix, AZ, USA

Website: http://engel.uk.to

4 snippets

4527 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 1727 posted 16 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 860 posted 16 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 746 posted 16 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 4330 posted 16 years ago by engel
« Prev 1 Next »