cgi question

Discussion in 'Programming' started by versus2, May 15, 2008.

  1. #1
    Hi,

    I have a cgi script and i don't realy have a clue in cgi..

    There are variables like $name or $temp that i use in several places on the cgi page.

    The problem is that some of the values of these variables have underscore (_) inside and i'd like to display the value without the underscore. It means to replace the _ with space.

    For example if the value is "George_W_Bush" it will display "George W Bush".

    Is there a simple way to do it - something like commandname($temp) ?

    Or a hard way ?

    Please help, Thanks,
    E-A.
     
    versus2, May 15, 2008 IP