Pyh.conf’25: a new PHP conference for the Russian-speaking community

Voting

: max(one, three)?
(Example: nine)

The Note You're Voting On

ian at eiloart dot com
22 years ago
This isn't all that useful. If you do, for example, foreach($row as $field) then you still get every value twice!

You can do something like this, though:

foreach ($line as $key => $cell){
if (! is_numeric($key)){
echo "<td>$key $cell</td>";
}
}

is is_numeric strict enough?

<< Back to user notes page

To Top