no not that way i thinked !
somthing more !
all what i need, to view the data (id,photo,des.) from mysql tabel with this way, once the the photo on right and des. on the left, and under it, the photo on the left,and des. on the right !
so i was trying to put var. as $i++, into while circle, and if the $i value is (1,3,5,7,8,..ect.) view the data with this way else with onther way !
coz of this i was trying to check if the $i value is real or not by divison with 2 .
thx for ur help ...