Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach ($result as $row) {
- if ($row['parent'] === "hdskin1024") {
- $parent = "hdskin1024";
- } else if ($row['parent'] === "hdskin512" && $parent !== "hdskin1024") {
- $parent = "hdskin512";
- } else if ($row['parent'] === "hdskin256" && $parent !== "hdskin1024" && $parent !== "hdskin512") {
- $parent = "hdskin256";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement