🔒 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
  • 459
    Views
  • 3
    Participants
Last reply from:
Splekenesis

Trending Topics

Online now

Members online
648
Guests online
2,441
Total visitors
3,089

Forum statistics

Threads
2,331,955
Posts
29,261,386
Members
1,147,919
Latest member
hertz1321
Back
Top