Hoping someone can help me here. It's a simple question, but I'm just not
getting it.
I have two files:
<?php
$precinct = array (
array ( number=>2324,
centerlat=>-122.31705665588 379,
centerlong=>47. 710367959402525 ,
etc...
<?php
include ("precinctdata. php");
$filename = $_GET['id'];
$number = $precinct[filename-1][number];
etc...
I want to assign the value of "2324" to the variable $number. I've done
this with arrays that start with number=>1, 2, 3, etc., but not successfully
with specific values.
What am I missing?
--
Chad Lupkes
chadlupkes@gmai l.com
getting it.
I have two files:
<?php
$precinct = array (
array ( number=>2324,
centerlat=>-122.31705665588 379,
centerlong=>47. 710367959402525 ,
etc...
<?php
include ("precinctdata. php");
$filename = $_GET['id'];
$number = $precinct[filename-1][number];
etc...
I want to assign the value of "2324" to the variable $number. I've done
this with arrays that start with number=>1, 2, 3, etc., but not successfully
with specific values.
What am I missing?
--
Chad Lupkes
chadlupkes@gmai l.com
Comment