Need help about php passing variables
Posted: Sat Apr 16, 2011 1:24 pm
Well, it's so pitty having a hard time on this thing but I'm telling you guys. I'm just starting to learn php so please don't throw your "boo!" at me.
I actually need help about this simple method which i know some of you already know this. It's about passing variables in php, actually i use <form> tag and use post method on it and I failed.
My project is like this, I'm developing a simple gallery site which has many albums, approx. 16 albums. I want my gallery to have 4 pages, 4 albums in each page and i want my page to look like this
../gallery/index.php?page=1
Four Albums for page one.
../gallery/index.php?page=2
another four albums for page two. and so on.
Can someone please teach me how to do this simple script.??
I actually need help about this simple method which i know some of you already know this. It's about passing variables in php, actually i use <form> tag and use post method on it and I failed.
My project is like this, I'm developing a simple gallery site which has many albums, approx. 16 albums. I want my gallery to have 4 pages, 4 albums in each page and i want my page to look like this
../gallery/index.php?page=1
Four Albums for page one.
../gallery/index.php?page=2
another four albums for page two. and so on.
Can someone please teach me how to do this simple script.??