Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[NEED HELP] PHP Form post, get, echo
#5
Type casting will give the exact same result. Its just the way i like to do things.
PHP Code:
$id intval($_GET['id']);
//is the equivalent of type casting: 
$id = (int) $_GET['id']; 
Reply


Messages In This Thread
RE: [NEED HELP] PHP Form post, get, echo - by Haxalot - 02-06-2012, 10:31 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PHP Framework List: An Ultimate Guide to 102 PHP Frameworks for Web Developers tk-hassan 0 936 07-27-2020, 11:26 PM
Last Post: tk-hassan
  PHP echo contents of folder help DAMINK™ 3 1,242 06-01-2012, 04:07 PM
Last Post: DAMINK™
  PHP email input form - having trouble getting the form to work... abayindi 4 2,722 03-19-2012, 10:02 AM
Last Post: RainbowDashFTW
  How to make a form. HB Virus 10 3,623 12-30-2011, 08:03 PM
Last Post: BreShiE
  PHP Video Tutorials (PHP For Beginners) Eleqtriq 4 3,659 10-10-2011, 01:00 PM
Last Post: Greyersting

Forum Jump:


Users browsing this thread: 2 Guest(s)