Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach ($products as $product) {
- $productlink = "";
- foreach ($results as $row) {
- if ($row['id'] == $product['id']) {
- if ($row['fv_page'] == 0) {
- $productlink = "test1";
- } else {
- $productlink = "test";
- }
- }
- }
- if ($productlink == "") {
- //its not in the db
- $productlink = "test2";
- }
- $link1 .= $productlink;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement