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

Trending Topics

Online now

Members online
613
Guests online
3,885
Total visitors
4,498

Forum statistics

Threads
2,308,608
Posts
29,186,187
Members
1,192,095
Latest member
Jhayr10121993
Back
Top