Jump to content

[SOLVED] array not working :/


aebstract

Recommended Posts

You can either use print_r($emails) to print the array, or just loop through it and print it's contents.

But for debugging and checking print_r() could be very useful:

 

<?php

$emails = array("[email protected]", "[email protected]", "[email protected]");
echo "<pre>";  print_r($emails);  echo "</pre>";

?>

 

Orio.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.