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.
Result of php executing
Full code of ewrgewg.php
- <?php
- add_shortcode ( "my_shortcode_btn_js_jquery", "my_shortcode_btn_js_jquery_func" );
- function my_shortcode_btn_js_jquery_func ()
- {
- return <<<BTNJQ
- <button id="openformeven" class="btn_open">ОТКРЫТЬ</button>
- <div id="cls_ctnr">
- <div id="cls_pop">
- <span class="cls_close" onclick="document.getElementById('cls_ctnr').style.display='none'; return false;">×</span>
- <h4>Добавим событие?</h4>
- <p> <?php echo do_shortcode("[event_form]"); ?> </p>
- </div>
- </div>
- BTNJQ;
- }