Thread: info into array
View Single Post
  #5 (permalink)  
Old 07-07-09, 09:38 AM
zenix zenix is offline
Newbie Coder
 
Join Date: Jun 2009
Posts: 37
Thanks: 1
Thanked 0 Times in 0 Posts
Thumbs up

Thanks job!! This looks exactly like what I was thinking!! I had the idea, but no clue of how to best implement it...kinda like a writers block i guess. Anyway, I'll be playing around with the code you've given so I can learn the programming better. I noticed something in your coding that I was hoping you could explain, please.

In this bit of coding: $array_position = !empty($_POST["key"]) ? $_POST["key"] : 0;

What does the question mark do? I can use it in a GET method and have the data in the URL, but I haven't yet (until now) seen it in plain code.

Thanks again!! YOU are the coding God!
Reply With Quote