php:sqldo
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| php:sqldo [2013/01/30 20:44] – created biggi | php:sqldo [2015/08/15 22:56] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | <file php sqldo.php> | ||
| function sqldo($query, | function sqldo($query, | ||
| // DB change for the query? | // DB change for the query? | ||
| Line 14: | Line 15: | ||
| $rows[] = $row; | $rows[] = $row; | ||
| } | } | ||
| - | return $rows; | + | |
| + | | ||
| + | } else { | ||
| + | return; | ||
| + | } | ||
| } else if ($howparse == " | } else if ($howparse == " | ||
| return mysql_fetch_assoc($retvar); | return mysql_fetch_assoc($retvar); | ||
| Line 21: | Line 26: | ||
| return $retvar; | return $retvar; | ||
| } | } | ||
| + | </ | ||
php/sqldo.1359575058.txt.gz · Last modified: 2015/08/15 22:56 (external edit)
