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

Trending Topics

Online now

Members online
1,285
Guests online
1,618
Total visitors
2,903

Forum statistics

Threads
2,293,344
Posts
29,083,431
Members
1,208,758
Latest member
Cellphone
Back
Top