How To Print Array Values Get Value In Php Array



How To Print Array Values Get Value In Php Array
How To Print Array Values Get Value In Php Array
Post Description:
Post Tags: how, to, print, array, values, get, value, in, php, array
This Post Has Been Viewed 489 Times Since Sat Mar 22, 2008 10:18 am Posted By hostman with 0 replies
Next Post »» how to turn global variables on Enable Register_globals
How To Print Array Values Get Value In Php Array

array_values()



you can use the array_values() function to display the values of an array and you can see all of them, the complete list, this is helpful in troubleshooting some script problems when you are programming in php

try it for yourself: create a wallpaperama.php file and copy and paste this code, then open it in your php website:

example:
<?php
# SCRIPT PROVIDED BY WEBUNE.COM
# PHP HOSTING AND MORE

$example = parse_url($_SERVER['REQUEST_URI']);
print_r(array_values($example));

?>

Leave Your Comments     [ dejar commentarios ]
  * Name     [nombre]

  * eMail (will not be published)     [coreo electronico]

* Enter Your Reply or Comments:    [commentarios]


Add Picture To Comments         [incluir foto]
YES NO             upload
Receive Replies on my Comments (An email will be sent to you when someone replies to your comments)

     

Comments and replies About How To Print Array Values Get Value In Php Array




(0) Comments