eTianbun Posted January 4, 2012 Share Posted January 4, 2012 Is it possible to have JS inside php?EX: <?php if("a"=="a")alert("equal")> Thanks!Just trying to understand how PHP work! Link to comment Share on other sites More sharing options...
thescientist Posted January 4, 2012 Share Posted January 4, 2012 why not just try it? Link to comment Share on other sites More sharing options...
regicidedelferoz Posted January 5, 2012 Share Posted January 5, 2012 <?phpif("a"=="a"){?>alert("equal")<?php}?> this one will work,. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.