This is a discussion on "what is gid=314???" within the PHP Forum section. This forum, and the thread "what is gid=314??? are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
what is gid=314???
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
what is gid=314???
Hi,
I'm looking over some code trying to teach myself and was wondering what gid=314 was here... <a class="headline" href="javascript '500')">Heading</a></b><br>Sub Heading What is gid and what is the 314? Anybody know? Cheers, Dal79 |
|
|
|
|||
|
Re: what is gid=314???
gallery id
He has just named his id field in the database gid thats all it is. You can name it anything. |
|
|||
|
Re: what is gid=314???
Can you explain a little about this if poss?
|
|
|||
|
Re: what is gid=314???
You must of learn Access at some point?
An id field signifies each record in a table. id 1 2 3 etc. You can name the id field whatever you want. So the url basically fetches record number 314 and displays the info. |
|
|||
|
Re: what is gid=314???
It doesn't have to represent an SQl table. It could represent a file called "1.html", or "1.php".
Take this code, for example:
Hope that helps. |
|
||||
|
Re: what is gid=314???
Some confusing explanations there for you. It's alot simpler than all of that. It's a variable that he's passing between pages. 'gid' is the variable name, and '314' is the value of that variable.
You can access the variable by using
|
![]() |
| Tags |
| gid314 |
| Thread Tools | |
|
|