can you embed javascript in php liek this.... if (this is true){ <javascript> send javascript alert box</javascript> } i know the syntax is wrong but u get the idea...is this possible?