O'Reilly Forums: Chapter 20 - O'Reilly Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Chapter 20

#1 User is offline   flint 

  • Active Member
  • PipPip
  • Group: Members
  • Posts: 10
  • Joined: 07-January 13

Posted 24 January 2013 - 01:08 PM

The code for both rnheader.php and rnmembers.php use cod <a href='rnmessages.php?view=$view'>.

I've looked elsewhere on the internet and it appears that view/$view is a parameter/value pair, but I can't find anywhere in the book where this technique is used or explained.

Also, rnmembers.php uses "if (isset($_GET['view']))", yet nowhere in the code is the get method used in a form. How is a _GET array called if the get method hasn't been used in a form?

Thanks.
0

#2 User is offline   Eternalsoftsolutions 

  • New Member
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 04-February 13

Posted 26 April 2013 - 04:39 AM

Here i try explain this code : <a href='rnmessages.php?view=$view'>.
?view is the id of variable for the nnessages.php page and $view means this variable can get value of that page
"if (isset($_GET['view'])
this meaning is set the code for action on view button
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users