Thread
:
Mysql columns in a loop
View Single Post
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
04-30-2015 , 13:10 Re: Mysql columns in a loop
#
4
This will work too
PHP Code:
foreach (
$row
as
$key
=>
$value
){
if (
preg_match
(
"/^year_/"
,
$key
)){
echo
$value
;
}
}
__________________
https://amxmodx-es.com
Neeeeeeeeeel.-
View Public Profile
Send a private message to Neeeeeeeeeel.-
Find More Posts by Neeeeeeeeeel.-