Hello everyone,
I am new to PHP and web server in general so please bear with me if
it's an obvious mistake.
My problem is that parameters entered in URL do not update php
variables. I am using IIS on winxp pro with the latest php installed.
PHP seems working fine, i.e. <?php echo '<p>Hello World</p>'; ?>
works as expected.
I am building an automated photo gallery that displays 15 thumbnails
on a page. The starting thumbnail is controlled by a variable called
$start, with initial value = 1. To see the next 15 thumbnails, $start
will be updated to 16. The link look like this: <a
href="gallery.p hp?start=16">. However, $start is not updated after
the link is clicked. What did I miss?
Is it a php programming problem? Or do I need to configure (if
necessary) my web server? can anyone provide a simple example to
demonstrate how URL parameters work? Please help. Thank you.
Joe
I am new to PHP and web server in general so please bear with me if
it's an obvious mistake.
My problem is that parameters entered in URL do not update php
variables. I am using IIS on winxp pro with the latest php installed.
PHP seems working fine, i.e. <?php echo '<p>Hello World</p>'; ?>
works as expected.
I am building an automated photo gallery that displays 15 thumbnails
on a page. The starting thumbnail is controlled by a variable called
$start, with initial value = 1. To see the next 15 thumbnails, $start
will be updated to 16. The link look like this: <a
href="gallery.p hp?start=16">. However, $start is not updated after
the link is clicked. What did I miss?
Is it a php programming problem? Or do I need to configure (if
necessary) my web server? can anyone provide a simple example to
demonstrate how URL parameters work? Please help. Thank you.
Joe
Comment