you can try with this
$n = sizeof($emails)/2;
for($i=0; $i<$n; $i++)
{
echo $emails[$i]."<br/>";
}
More Related Contents:
- Create PHP timestamp to insert into mysql databse [duplicate]
- if condition in php and mysql [closed]
- PHP – Using PDO with IN clause array
- How to get ID of the last updated row in MySQL?
- When should I use MySQLi instead of MySQL?
- How to repair a serialized string which has been corrupted by an incorrect byte count length?
- SQL injections in ADOdb and general website security
- php / Mysql best tree structure
- How to write a REST API?
- Best practice multi language website
- Prevent InnoDB auto increment ON DUPLICATE KEY
- PHP inserting multiple checkbox AND textbox arrays into MySQL Database
- How to know if MySQLnd is the active driver?
- How to solve time out in phpmyadmin?
- display data from SQL database into php/ html table [closed]
- MySQL: Add sequence column based on another field
- Laravel 5.4 on PHP 7.0: PDO Exception – Could not find driver (MySQL)
- Is there a way to show a WHERE clause just for one field in MySQL?
- mysql_insert_id() returns 0
- php artisan migrate throwing [PDO Exception] Could not find driver – Using Laravel
- Change name of Laravel’s created_at and updated_at
- How do I get database column names in Laravel?
- MySQL Stored Procedure vs. complex query
- PDO and MySQL Fulltext searches
- How to avoid “Using temporary” in many-to-many queries?
- How do you make good use of multicore CPUs in your PHP/MySQL applications? [closed]
- Update query PHP MySQL [duplicate]
- Do I have to use mysql_real_escape_string if I bind parameters?
- How to get a list of databases?
- How to sort MYSQL fulltext search results by relevancy