Tag: return
Tidbit Tuesday on PHP: Simple MySQL Database Insert Function
This builds on a function I did last week: db_query(). You can send any array straight to a MySQL database and it’ll even check to make sure the column actually exists. Oh, and it returns the id of the record you just added in case you needed it.
<?php
function db_array_insert($cfg_array, $table, $array) [...]
PHP Function Friday: function
So, I’ve decided to start including a new post every Friday – kind of as a discipline thing. I’m going to write a post on a PHP function every Friday. I’m not just going to regurgitate the post in the official PHP manual, but I’m going to list my experience with it along [...]
Subscribe
Facebook
Twitter
Digg
Sphinn
LinkedIn