- Forums
- PHP
- How To Print Array Values Get Value In Php Array
This Page Contains information about How To Print Array Values Get Value In Php Array By wallpaperama in category PHP with 0 Replies. [1137], Last Updated: Tue Feb 07, 2023
wallpaperama
Sat Mar 22, 2008
0 Comments
10308 Visits
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));
?>