🔒 Closed Help po ulit sa PHP!

Status
Not open for further replies.

SakuraX

Fanatic
Ask ko lang po kung paano maread o maselect lang yung mga age na greater than or equal to (>=) 60? Ito po yung code ko sa baba. Salamat po.

<?php
$con=new mysqli('localhost','root','','database');
$query = "SELECT * FROM table WHERE age LIKE ( >= '60')";
$query_run = mysqli_query($con, $query);
$row = mysqli_num_rows($query_run);
echo '<h1>'.$row.'</h1>';
?>
 
Status
Not open for further replies.

About this Thread

  • 2
    Replies
  • 463
    Views
  • 3
    Participants
Last reply from:
Splekenesis

Trending Topics

Online now

Members online
1,050
Guests online
6,256
Total visitors
7,306

Forum statistics

Threads
2,354,136
Posts
29,382,329
Members
1,079,338
Latest member
Dope3
Back
Top