Im trying to loop thru cookies. Storing cookies like "p1", "p5", "p8" asf with different values. Then trying to find the cookies actually stored with a value like:
for( $i=1; $i<$max_number_of_products; $i++)
if( "$p".$i != "" || "$p".$i != "null" ) print( "yo" );
You get the point. How to concatenate the "p" and the incremented variable and get PHP to understand its a cookie to check?? Any ideas, Im getting desperate ;]. print( $p1 ); get the correct value stored, but how to loop thru and get ONLY the != "" ones??
Thanks // Karl