Jump to content

Search the Community

Showing results for tags 'If else'.

  • Search By Tags

    • if else ×
    Type tags separated by commas.
  • Search By Author

Content Type



Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Found 2 results

  1. I have the following code which creates a 2 column div. In the first I check to see if there are any images present and only echo an image if there is. If I don't do this, I get an error. But I was wondering if there was a more efficient way to do this? I don't know the proper termino...
  2. I'm trying a twist on a simple if / else statement. If the blog_category field is populated (page select), display the categories. If not, don't output anything. This works: <?php if ($page->blog_category){ foreach($page->blog_category as $cat){ echo"<a href=\"{$cat->url}\">{$cat->title...
×
×
  • Create New...