tags:

views:

114

answers:

1

I think I have to enter a function in the blank space, but I'm not sure because I am a beginner:

=\"
.php\">Add Or Delete Product In Your System

I don't know what should be written in the blank space,after the (=\") so that the user will be brought to the next page and will be able to change the settings. I know I have to make it a hyperlink but I took it away so that you can see it in it's source coding. Any help would be much appreciated.

+2  A: 

You've probably got fair learning curve ahead of you, but for what it's worth, the missing element is the filename of the PHP script you want to execute.

Here's an example which illustrates both linking and passing a value to a script. Suppose you had this as step1.php:

<a href="step2.php?myvar=foo">Foo!</a>
<a href="step2.php?myvar=bar">Bar!</a>

In step2.php you can pick up the passed value in the $_GET array

<?php

echo "you clicked on ".$_GET['myvar'];

?>
Paul Dixon
Agreed on the learning curve.
Jonathan Leffler