• Hi,
    I′m using checkboxes to pass along two variables via $_POST. The variables are simple post_ID′s and I′m then using them to fetch custom fields via “get_post_custom()”.
    As there are two variables I′m now using two loops that in simpliest way triggers on if-statement $count == 0.

    It was simple to put together but because I′m using the custom fields in a comparison table it is not optimal, that is because I now have to use two html-tables that are aligned together.
    The problem is when linebreaks occur in one table but not the other, then the rows are not aligned.

    I would like to have some input on how I could change this to have both get_post_custom() in one statement and also in one table.

    Thanks!

  • The topic ‘Two queries “get_post_custom()” joined?’ is closed to new replies.