ewrgewg - PHP Online

Form of PHP Sandbox

Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php in the places where the PHP script should be executed.



Your result can be seen below.

Result of php executing





Full code of ewrgewg.php

  1. <?php
  2. add_shortcode ( "my_shortcode_btn_js_jquery", "my_shortcode_btn_js_jquery_func" );
  3. function my_shortcode_btn_js_jquery_func ()
  4. {
  5. return <<<BTNJQ
  6.  
  7. <button id="openformeven" class="btn_open">ОТКРЫТЬ</button>
  8.  
  9. <div id="cls_ctnr">
  10.   <div id="cls_pop">
  11.     <span class="cls_close" onclick="document.getElementById('cls_ctnr').style.display='none'; return false;">×</span>
  12.     <h4>Добавим событие?</h4>
  13.     <p> <?php echo do_shortcode("[event_form]"); ?> </p>
  14.   </div>
  15. </div>
  16.  
  17. BTNJQ;
  18. }
  19.  
File Description
  • ewrgewg
  • PHP Code
  • 24 Apr-2021
  • 512 Bytes
You can Share it: