# Passing Variables between Pages

**URL:** <https://forum.kirupa.com/t/passing-variables-between-pages/268196>\
**Category:** programming\
**Created:** [August 11, 2008, 9:48am UTC](https://forum.kirupa.com/t/passing-variables-between-pages/268196 "2008-08-11T09:48:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![smith\_myles](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@smith\_myles](https://forum.kirupa.com/u/smith_myles)\
**Post date:** [August 11, 2008, 9:48am UTC](https://forum.kirupa.com/t/passing-variables-between-pages/268196/1 "2008-08-11T09:48:23Z")

</div>

Hi

What is the best way to pass data between pages in PHP?

This is for my site which I am trying to make database driven. I’m also wondering about passing text fields containing HTML and special characters (&, $, ", etc.) as the data has to be sent via SQL too.

Are there any limits to the amounts of data can be passed using the URL GET method (the one I normally use).

Thanks
