Jump to content

GET Not Working


unemployment

Recommended Posts

I'm currently making a product tour.  I am rewriting the url with javascript and sending the user to their profile pages.

 

example:

http://dev.mysite.com/u/jason?welcome

 

I then use php to load my javascript via a get variable.

 

if (isset($_GET['welcome']))
{
echo 'test';
?>
<script type="text/javascript">
$(function(){
	focus.set('FOCUSTHIS', 0, 'absolute', 'Personal Information', function (body){
		$('<div class="test">.</div><div class="center ptm pbs"><a id="next_4" class="button" href="javascript: void(0)">Continue</a></div>').appendTo(body);
	});
});
</script>
<?php
}

 

Any reason why this wouldn't at least echo properly?  I am rewriting the URLs with mod rewrite.

Link to comment
https://forums.phpfreaks.com/topic/254961-get-not-working/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.