Skip to main content

Mysql top function in mysql and php

Mysql top function in mysql and php


<?php
$sql="select top 3 from 'your table name ' ";
?>
or
<?php
$sql="select top 5  from 'your table name ' ' where name LIKE 's%' ";
?>

Comments

Popular posts from this blog