Current location: Hot Scripts Forums » Programming Languages » PHP » a little bit...


a little bit...

Reply
  #1 (permalink)  
Old 04-23-06, 06:02 AM
qie's Avatar
qie qie is offline
Newbie Coder
 
Join Date: May 2005
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Question a little bit...

hi, i have a little bit question.

how to convert:
PHP Code:

$value "2"
conver to:
PHP Code:

$value 2
so easy but i don't now it.
Reply With Quote
  #2 (permalink)  
Old 04-23-06, 06:14 AM
Wuiqed Wuiqed is offline
Wannabe Coder
 
Join Date: Aug 2004
Location: Sverige
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
PHP Code:

$value "2";

 
$value intval($value); 
Reply With Quote
  #3 (permalink)  
Old 04-23-06, 06:26 AM
qie's Avatar
qie qie is offline
Newbie Coder
 
Join Date: May 2005
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
hi, thanks.....
i'm so shy......

Quote:
Originally Posted by Wuiqed
PHP Code:

$value "2";
 
$value intval($value); 
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
date problem... a bit complex piratinc PHP 0 07-31-05 09:37 PM
Auction but a little bit different JLT Script Requests 0 06-23-04 08:15 AM
Bit of help needed with a date-checker PHP SQL gadget Mikehive PHP 3 06-02-04 11:41 AM
looking for a bit of code benj PHP 4 05-23-04 06:28 AM
Need a little bit of guidance mdurrant PHP 2 05-05-04 05:59 AM


All times are GMT -5. The time now is 07:11 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.