Click here to Skip to main content
15,885,366 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
AnswerRe: help for deploying a PHP web application in a Linux server Pin
markkuk3-May-10 11:51
markkuk3-May-10 11:51 
GeneralRe: help for deploying a PHP web application in a Linux server Pin
alexyxj3-May-10 12:19
alexyxj3-May-10 12:19 
GeneralRe: help for deploying a PHP web application in a Linux server Pin
markkuk4-May-10 22:50
markkuk4-May-10 22:50 
Questionrecursive array search Pin
nhsal692-May-10 23:37
nhsal692-May-10 23:37 
AnswerRe: recursive array search Pin
fly9043-May-10 1:23
fly9043-May-10 1:23 
GeneralRe: recursive array search Pin
nhsal693-May-10 1:27
nhsal693-May-10 1:27 
GeneralRe: recursive array search Pin
fly9043-May-10 1:36
fly9043-May-10 1:36 
GeneralRe: recursive array search [modified] Pin
nhsal693-May-10 4:11
nhsal693-May-10 4:11 
Ok, I've been staring at that for ages and my logic has vanished...

I re wrote it to this the below....

Only problem is that I still don't get a valid response..

the array is of the form :
[1] => Array ( [Name ] => Aberdeen [Status ] => Ready [Location ] => [Jobs ] => 0 [Model ] => HPUniversalPrintingPCL6 [Comment ] => PRINT_EARL

The correct number of "@" are retuned so it's performing the correct number of itterations, but no giving me the results...

I should have mentioned that I'm completely new to PHP and am kinda winging it....


Start of code chunk

$it = new RecursiveIteratorIterator( new RecursiveArrayIterator($server1));

echo "<table border='1'>";

foreach ($it as $key=&gt;$val)

{

echo "@";

if ($val == "PRINT_EARL")


{

echo "<tr>";
echo "<td>";
echo $key;
echo "</td>";

echo "<td>";
echo $val;
echo "</td>";
echo "</tr>";

}

Else



echo $key.":".$val."\n";



}
End of code chunk



-- Modified Monday, May 3, 2010 10:51 AM
Questionhow to open pdf files in browser Pin
umeshdaiya27-Apr-10 23:35
umeshdaiya27-Apr-10 23:35 
AnswerRe: how to open pdf files in browser Pin
Peter_in_278029-Apr-10 20:41
professionalPeter_in_278029-Apr-10 20:41 
AnswerRe: how to open pdf files in browser Pin
Peace ON29-Apr-10 21:10
Peace ON29-Apr-10 21:10 
GeneralRe: how to open pdf files in browser Pin
Peter_in_27801-May-10 16:08
professionalPeter_in_27801-May-10 16:08 
AnswerRe: how to open pdf files in browser Pin
Peace ON2-May-10 23:20
Peace ON2-May-10 23:20 
AnswerRe: how to open pdf files in browser Pin
cristminix13-May-10 12:07
cristminix13-May-10 12:07 
QuestionDepriciated Function in PHP 5.3 - ereg & eregi Pin
sangeeta200926-Apr-10 2:55
sangeeta200926-Apr-10 2:55 
AnswerRe: Depriciated Function in PHP 5.3 - ereg & eregi Pin
Luc Pattyn26-Apr-10 3:15
sitebuilderLuc Pattyn26-Apr-10 3:15 
GeneralRe: Depriciated Function in PHP 5.3 - ereg & eregi Pin
sangeeta200926-Apr-10 3:30
sangeeta200926-Apr-10 3:30 
GeneralRe: Depriciated Function in PHP 5.3 - ereg & eregi Pin
Luc Pattyn26-Apr-10 3:55
sitebuilderLuc Pattyn26-Apr-10 3:55 
AnswerRe: Depriciated Function in PHP 5.3 - ereg & eregi Pin
cristminix13-May-10 12:14
cristminix13-May-10 12:14 
Questionwhich is Best php framework to use in any general project ? Pin
Peace ON25-Apr-10 20:36
Peace ON25-Apr-10 20:36 
AnswerRe: which is Best php framework to use in any general project ? PinPopular
User 171649225-Apr-10 21:46
professionalUser 171649225-Apr-10 21:46 
GeneralRe: which is Best php framework to use in any general project ? Pin
Peace ON29-Apr-10 1:26
Peace ON29-Apr-10 1:26 
GeneralRe: which is Best php framework to use in any general project ? Pin
mdusyl15-May-10 8:00
mdusyl15-May-10 8:00 
AnswerRe: which is Best php framework to use in any general project ? Pin
whatrevolution23-Jun-10 0:21
whatrevolution23-Jun-10 0:21 
Questiongetting information from the url Pin
SRJ9224-Apr-10 15:23
SRJ9224-Apr-10 15:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.