🔒 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.

Similar threads

About this Thread

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

Online now

Members online
636
Guests online
916
Total visitors
1,552

Forum statistics

Threads
2,277,904
Posts
28,979,570
Members
1,229,144
Latest member
Karisma18
Back
Top