User Profile

Collapse

Profile Sidebar

Collapse
kenno69
kenno69
Last Activity: Aug 19 '07, 12:09 AM
Joined: Jun 3 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • kenno69
    replied to How to display integer data as currency USD
    in PHP
    maybe try
    [PHP]echo "$", $your variable to get the integer;[/PHP]
    that will echo $678321
    or if there is loads of numbers you want it doing to
    [PHP]while($row = mysql_fetch_arr ay($result))
    {
    echo "$" .$row['thesqltable'].
    }

    [/PHP]
    See more | Go to post

    Leave a comment:


  • kenno69
    replied to text area/php code?
    in PHP
    ok thanks for the reply, but i mean where??
    please give me an example to help me understand better..
    edit. actually i figured it out, thanks alot dude
    See more | Go to post
    Last edited by kenno69; Jul 3 '07, 10:34 PM. Reason: Figured it out

    Leave a comment:


  • kenno69
    started a topic text area/php code?
    in PHP

    text area/php code?

    Hey, i am not sure weather its the right section or html.
    Well i have like a register(add info) page, a submit page, and a view page.
    On the register i have the the usual name email ...etc, but i also have a text area box so they can enter on different lines
    like so, this is for they would like to join
    everything is fine, but once i submit it, it goes to the php fine and everything, but then once i view it, it shows it...
    See more | Go to post

  • Oh i didn't see that bit sorry. Thanks alot tho
    See more | Go to post

    Leave a comment:


  • Thanks, i really cannot see anything to do with changing the colour of the message, i must be blind or something cos i have really searched for it
    See more | Go to post

    Leave a comment:


  • Thanks, but when i read my email it just shows me
    "<span style="color:re d;">am testing</span>"
    Any other way of sorting that out
    See more | Go to post

    Leave a comment:


  • kenno69
    started a topic Changing text color in a string (email message)
    in PHP

    Changing text color in a string (email message)

    Hello am just a simple question.I have a contact us page that sends mail to the admin, i got it finally working but i was wondering if there is anyway to change the colour of what it sends to the admin.
    Here is what it is sending
    [PHP]$message = <<<MSG
    This message was sent from the contact us page,
    The user said,
    $_POST[message]
    this user has in anyway missused this page please contact an adminstator...
    See more | Go to post

  • kenno69
    replied to _POST check then _POST same info
    in PHP
    Wow thanks, your a star :) its working thanks alot...
    See more | Go to post

    Leave a comment:


  • kenno69
    started a topic _POST check then _POST same info
    in PHP

    _POST check then _POST same info

    Well its a registry form and i want them post there info then when they press submit it will show them there name, email and all that stuff, then i wanted to know if it is possible to submit the same info again if they press yes, without then typing out, help would be appreciated
    here is a sample of my check page
    [code=php]
    <? echo <<<EOF
    Is this you're correct information?<br >
    Name: $_POST[name]<br>...
    See more | Go to post
    Last edited by pbmods; Jun 3 '07, 03:00 PM. Reason: Added code tags.
No activity results to display
Show More
Working...