+ 13

Can i use javascript in php?

29th May 2019, 2:40 AM
‎‎‎
13 Respuestas
+ 15
Why would you want to use js in php😂😂😂... Are trying to make a bomb or something
29th May 2019, 10:08 AM
Owen Jay
Owen Jay - avatar
+ 13
Both are Scripting Language..😄😄
29th May 2019, 6:39 PM
Bharat Bhushan
Bharat Bhushan - avatar
+ 13
Nonnnnnnnn 😂😂😂😂😂
29th May 2019, 8:03 PM
Rania Ben ali
Rania Ben ali - avatar
+ 11
Lol
29th May 2019, 7:38 PM
‎‎‎
+ 10
No, i just want to know😀😀
29th May 2019, 10:17 AM
‎‎‎
+ 10
Hahahaha, a useless activity🤣🤣
29th May 2019, 8:21 PM
‎‎‎
+ 10
I did. I was tried to use PHP in JS lol
29th May 2019, 11:07 PM
Rizki Rivaldi
+ 8
hahaha😃🤣
30th May 2019, 5:01 AM
Akash Umesh More
Akash Umesh More - avatar
+ 7
<?php $user_type = app_user_type(); $js_code =<<<JS <script language="JavaScript"> if(comment = prompt("Please tell me why would you want to use JS inside PHP?"){ alert("Hahahahahahaha, {$user_type} “ + comment); } else{ alert("Good Luck my Friend!"); } </script> JS; ?>
30th May 2019, 7:43 AM
Moeketsi Mokhatla
Moeketsi Mokhatla - avatar
+ 7
PHP it's scripting language
4th Jun 2019, 12:01 PM
‎‎‎
+ 4
Yes, you can use javascript and php on the same website. If you want to put javascript code in a php script use this echo "javascript code here";
3rd Jun 2019, 4:01 PM
haydenki
haydenki - avatar
+ 1
what is a php
4th Jun 2019, 11:59 AM
Marrow Macknagnimus Emmanuel
Marrow Macknagnimus Emmanuel - avatar