PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php $reviews = ['Anel']; if ($reviews) { foreach ($reviews as $review) { if (!preg_match('/[^A-Za-z0-9]/', $review['text'])) { echo '<div class="review-list"> <div class="author"><b>' . $review['author'] .'</b> '. $text_on . $review['date_added'] . '</div> <div class="rating"><img src="catalog/view/theme/default/image/stars-' . $review['rating'] . '.png" alt="' . $review['reviews'] .'" /></div> <div class="text">' . $review['text'] .'</div> </div>'; } } }
Show:  
Copy Clear