taynet29
asked on
Array in an Array
When I am retrieving the value for the $_FILES super global I am getting Array returned. How do I get the value of the elements inside the array to get returned?
<label for="file"><strong>File:</ strong> <?php echo $details['file'] ?></label><br />
Form
<?php foreach ($cars as $car => $details) { ?>
<h3><?php print $car ?></h3>
<label for="format"><strong>Forma t:</strong > <?php echo $details['format'] ?></label><br />
<label for="rotation"><strong>Rot ation(%):< /strong> <?php echo $details['rotation'] ?></label><br />
<label for="size"><strong>Size:</ strong>
<?php echo $details['724x90']; ?>
<?php echo $details['300x250']; ?>
<?php echo $details['160x600']; ?></label>
<label for='other'><strong>Other: </strong> <?php echo $details['othertx'] ?> </label><br />
<label for="layout"><strong>Layou t:</strong > <?php echo $details['layout'] ?></label><br />
<label for="bannerlink"><strong>B anner Link:</strong> <?php echo $details['bannerlink'] ?></label><br />
<label for="file"><strong>File:</ strong> <?php echo $details['file'] ?></label><br />
<label for="dspecific"><strong>De al Specifics:</strong> <?php echo $details['dspecific'] ?></label><br />
<label for="disclaimer"><strong>D isclaimer: </strong> <?php echo $details['disclaimer'] ?></label><br /><br /><br />
<?php } ?>
<label for="file"><strong>File:</
Form
<?php foreach ($cars as $car => $details) { ?>
<h3><?php print $car ?></h3>
<label for="format"><strong>Forma
<label for="rotation"><strong>Rot
<label for="size"><strong>Size:</
<?php echo $details['724x90']; ?>
<?php echo $details['300x250']; ?>
<?php echo $details['160x600']; ?></label>
<label for='other'><strong>Other:
<label for="layout"><strong>Layou
<label for="bannerlink"><strong>B
<label for="file"><strong>File:</
<label for="dspecific"><strong>De
<label for="disclaimer"><strong>D
<?php } ?>
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
What I have tried is
<?php if(isset($_FILES["file"][0
<?php if(isset($_FILES["file"]["
<?php if(isset($details["file"][
<?php if(isset($details["file"][
They all do not return a value.
Please let me know what I am doing incorrectly. How do I print the file name?