shinigamisnight
New member
$actorID is storing an integer that I want passed.
I've tried it these ways:
echo'<a href="http:// okaram. spsu.edu/~lwatling/Project/
movie.php?id=$actorID">Submit</a>';
returns $actorID
echo'<a href="http:/ /okaram. spsu.edu/~lwatling/Project/
movie.php?id=actorID">Submit</a>';
returns actorID
echo'<a href="http:// okaram. spsu.edu/~lwatling/Project/
movie.php?id=".$actorID>Submit</a>';
echo'<a href="http:// okaram. spsu.edu/~lwatling/Project/
movie.php?id=".actorID>Submit</a>';
both return nothing
I've tried putting the variable in a header also, but I get the same results.
(Sorry for the formatting, but half wasn't showing up)
I just tried:
echo"<a href='http://okaram. spsu. edu/~lwatling/Project/
movie.php?id=$actorID'>Submit</a>";
but still returned $actorID instead of the stored value.
(and I named it id because I was just testing it in one place and didn't feel like being creative)
I've tried it these ways:
echo'<a href="http:// okaram. spsu.edu/~lwatling/Project/
movie.php?id=$actorID">Submit</a>';
returns $actorID
echo'<a href="http:/ /okaram. spsu.edu/~lwatling/Project/
movie.php?id=actorID">Submit</a>';
returns actorID
echo'<a href="http:// okaram. spsu.edu/~lwatling/Project/
movie.php?id=".$actorID>Submit</a>';
echo'<a href="http:// okaram. spsu.edu/~lwatling/Project/
movie.php?id=".actorID>Submit</a>';
both return nothing
I've tried putting the variable in a header also, but I get the same results.
(Sorry for the formatting, but half wasn't showing up)
I just tried:
echo"<a href='http://okaram. spsu. edu/~lwatling/Project/
movie.php?id=$actorID'>Submit</a>";
but still returned $actorID instead of the stored value.
(and I named it id because I was just testing it in one place and didn't feel like being creative)