PHP Files ECHO Statements Removal
Budget: $10 – $30 USD
I have 2 PHP files that use ECHO, and I want all ECHO statements to be removed while keeping the HTML and JavaScript structure intact.
If someone is experienced with this, please reach out.
here is a example
<?php
echo ' ';
if (count(get_included_files()) != 1) {
$_PAGE = getPageName();
include 'modals.php';
if ($rModal) {
} else {
echo ' <footer class="footer">' . "\r\n" . ' ';
if ($rMobile) {
} else {
echo ' <a href="#" class="scrollToTop" id="scrollToBottom"><button type="button" class="btn btn-info waves-effect waves-light"><i class="fas fa-caret-down"></i></button></a>' . "\r\n" . ' <a href="#" class="scrollToTop" id="scrollToTop"><button type="button" class="btn btn-success waves-effect waves-light"><i class="fas fa-caret-up"></i></button></a>' . "\r\n" . ' ';
}
echo ' <div class="container-fluid">' . "\r\n" . ' <div class="row">' . "\r\n" . ' <div class="col-md-12 copyright text-center">';
echo getFooter();
echo '</div>' . "\r\n" . ' </div>' . "\r\n" . ' </div>' . "\r\n" . ' </footer>' . "\r\n\t\t";
If someone is experienced with this, please reach out.
here is a example
<?php
echo ' ';
if (count(get_included_files()) != 1) {
$_PAGE = getPageName();
include 'modals.php';
if ($rModal) {
} else {
echo ' <footer class="footer">' . "\r\n" . ' ';
if ($rMobile) {
} else {
echo ' <a href="#" class="scrollToTop" id="scrollToBottom"><button type="button" class="btn btn-info waves-effect waves-light"><i class="fas fa-caret-down"></i></button></a>' . "\r\n" . ' <a href="#" class="scrollToTop" id="scrollToTop"><button type="button" class="btn btn-success waves-effect waves-light"><i class="fas fa-caret-up"></i></button></a>' . "\r\n" . ' ';
}
echo ' <div class="container-fluid">' . "\r\n" . ' <div class="row">' . "\r\n" . ' <div class="col-md-12 copyright text-center">';
echo getFooter();
echo '</div>' . "\r\n" . ' </div>' . "\r\n" . ' </div>' . "\r\n" . ' </footer>' . "\r\n\t\t";