0

Okay so I am attempting to make a little sticky note type program

    $c = $_GET['post'];
    $x = $_GET['submit'];
    $a = array();
    if(isset($x)){
    array_push($a , $c);
    var_dump($a);

however every time I submit the form it replaces the data in the array so instead of ($y,$y,$y) I get ($y) sorry if I didnt explain that well. php noob you caught me!

Jite
  • 5,761
  • 2
  • 23
  • 37

0 Answers0