Voting

: one minus zero?
(Example: nine)

The Note You're Voting On

Rodrigo de Aquino
13 years ago
If you're going to use array_push() to insert a "$key" => "$value" pair into an array, it can be done using the following:

$data[$key] = $value;

It is not necessary to use array_push.

<< Back to user notes page

To Top