Hi, thank you for the help very much. When I tried that, I get array output. When I tried this:
[PHP] $data[] = $row;[/PHP]
[PHP] foreach ($row as $data) {return $data;}[/PHP]
I get the value of the first field. So how do I print the values for the remaining fields from this code. Any idea?...
User Profile
Collapse
-
How to create an array of columns from a database result?
Would you please help me in how to get the remaining column values so that I will be able to echo each value in my pages. Right now, my function is set to return just to return one field's value (line 13) but I want to do the same for all the remaining fields. How do I write loopings like foreach ....
[code=php]
class Setting extends Domain
{
function __construct()
{
parent::__const ruct( 'Settings',... -
Mysql client
Hi there,
Can some body help me please with accessing mysql located in remote server with the following info:
DATABASE_IPADDR ESS=p
DATABASE_PORT=4 407
DATABASE_USERNA ME=user
DATABASE_NAME=p wd
DATABASE_PASSWO RD=<sent separately>
They do not allow ssh at all. -
Find and replace
Need some one to help me in doing a find and replace task for all the files in my application. I have a list of pairs of old values in one file (findFile.php) and wanted to replace them with different values that are store in second file (replaceFile.ph p):
findFile.php:
Code:, "abdomen", "Abdomen"; , "afternoon", "Afternoon"; , "almost always", "Almost
-
Php Output Multi Coloumn Formating
I am outputing/printing using a combination function:
combine('<br>', $traits, 0);
And My Output Consists of the same sized multi coloumn strings that look Like:
23
2D
2E
2F
A3
AD
AE
AF
B3
BD
BE
BF
C3
CD
CE
CF
I want to have a multi coloumn output using check boxes for each... -
-
Oh no, I am trying to run the script as a web user. I am also running windows IIS....Leave a comment:
-
It has full previllage set. I think it has to do with windows xp. I read at http://www.php.net/manual/en/function.rename .php and some one is saying the same....Leave a comment:
-
rename a file in Windows XP server using php script
I am trying to rename a file in Windows XP server using the following php script but i am getting "Permission denied".
[code=php]
<?php
rename("file1.p hp", "file2.php" );
?>[/code]
[Please use CODE tags when posting source code. Thanks! --pbmods]
Pls help. -
Thank you very much. I did per your advise and finally worked out for me. Thx once more.Leave a comment:
-
Thank you very much for the prompt response and the effort to resolve the problem.
But the header() statement is also included in this header.php file and is at the top of the header.php:...Leave a comment:
-
Warning: Cannot modify headerm msg
I am getting the following error msg whenever I try to login. I tried to turn my output_bufferin g = On in my php.ini but is not working for me. Would you please help me:
Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub ........login\i nclude\header.p hp:9) in C:\Inetpub\vhos ts\.....\httpdo cs\login\login. php on line 23
And here is the content of the header.php page which...
No activity results to display
Show More
Leave a comment: