0) { for($i=0;$i<$num;$i++) { while($selectexhb_fetch = mysql_fetch_array($selectexhb)) { $imgarr[] = $selectexhb_fetch['main_image'].'~'.$selectexhb_fetch['main_image_caption'].'~'.$selectexhb_fetch['name'].'~'.$selectexhb_fetch['class'].'~'.$selectexhb_fetch['medium_used'].'~'.$selectexhb_fetch['school'].'~'.$selectexhb_fetch['type']; $subquery1=implode($imgarr,'|'); } } $image1 = explode('|',$subquery1);//fech image from field foreach($image1 as $value) { $arr_value = explode('~',$value); $img3=$arr_value[0]; $title= $arr_value[1]; $namenew= $arr_value[2]; $classnew= $arr_value[3]; $mediumnew= $arr_value[4]; $schoolnew= $arr_value[5]; $ETYPE= $arr_value[6]; if($ETYPE =='Students') { $class_state_city='Class'; } if($ETYPE =='Artists' || $ETYPE =='Others') { $class_state_city='State & City'; } if($ETYPE =='Students') { $school_profession='School Name'; } if($ETYPE =='Artists' || $ETYPE =='Others') { $school_profession='Profession/Occupation'; } $src_image=eregi_replace('exhibition-images/','',$img3); echo '
'.$title.'
Name : '.$namenew.'
'.$class_state_city.' : '.$classnew.'
Medium : '.$mediumnew.'
'.$school_profession.' : '.$schoolnew.'
'; } } else { ?>
9) echo $pagination; ?>
Upload your art to display here!!
Name*
Upload Image*
About Image*
*
*
Medium used*
Mobile \ Telephone No*
Email*
Enter security code *

Can't read the image? click here to refresh
 
* Required mandatory Fields!!