User Profile

Collapse

Profile Sidebar

Collapse
nasse
nasse
Last Activity: Nov 23 '07, 03:21 AM
Joined: May 30 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • 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?...
    See more | Go to post

    Leave a comment:


  • 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',...
    See more | Go to post
    Last edited by Atli; Nov 11 '07, 01:46 AM. Reason: Added [code] tags and changed thread title.

  • nasse
    started a topic Mysql client

    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.
    See more | Go to post
    Last edited by nasse; Sep 25 '07, 03:23 PM. Reason: Misspelled

  • nasse
    started a topic Find and replace
    in PHP

    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
    ...
    See more | Go to post
    Last edited by pbmods; Sep 22 '07, 07:23 PM. Reason: Added CODE tags.

  • nasse
    started a topic Php Output Multi Coloumn Formating
    in PHP

    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...
    See more | Go to post

  • Oh sorry about that. Yes as a root user....
    See more | Go to post

    Leave a comment:


  • Oh no, I am trying to run the script as a web user. I am also running windows IIS....
    See more | Go to post

    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....
    See more | Go to post

    Leave a comment:


  • nasse
    started a topic rename a file in Windows XP server using php script
    in PHP

    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.
    See more | Go to post

  • nasse
    replied to Warning: Cannot modify headerm msg
    in PHP
    Thank you very much. I did per your advise and finally worked out for me. Thx once more.
    See more | Go to post

    Leave a comment:


  • nasse
    replied to Warning: Cannot modify headerm msg
    in PHP
    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:...
    See more | Go to post

    Leave a comment:


  • nasse
    started a topic Warning: Cannot modify headerm msg
    in PHP

    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...
    See more | Go to post
    Last edited by pbmods; May 30 '07, 11:33 PM. Reason: Added code tags.
No activity results to display
Show More
Working...