Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php href variable in javascript alert

echo "<script type='text/javascript'>alert('{$variable}');
window.location.href = '{$variable_contain_the_locaction}';
</script>
Source by forums.phpfreaks.com #
 
PREVIOUS NEXT
Tagged: #php #href #variable #javascript #alert
ADD COMMENT
Topic
Name
2+6 =