Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $sql = sprintf("select first_name, last_name from clients where age>20 ");
- $result = mysql_query($sql);
- while ($row = mysql_fetch_assoc($result)) {
- $firstName = $row['first_name'];
- $lastName = $row['last_name'];
- print ($first_name . $last_name);
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement