PHP pages not fully working

I am not able to view what is handled with php is it me who set it up wrong? Help me please

What is your website URL?

plus Youā€™ve to share your codes C:

1 Like

trxckysupreme.epizy.com

And what is your PHP code for the pages?
If you have any problems with code markup, please use the ā€œCode Formattingā€ functionality (itā€™s the </> icon on the editor) after selecting all the code you want to format.

Ok it must dynamicaly load data fetched from the database, I canā€™t see the ā€˜</>ā€™ icon. Iā€™m using the editor from the file manager.

Can you copy the code and paste it on the editor of this forum, so I can help you? There may be a </> icon that marks the Code Forwarding.

Trxcky Supreme <?php require_once 'process.php'; $result = $mysqli->query("SELECT * FROM beats") or die($mysqli->error); ?>
    <?php
        while ($row = $result->fetch_assoc()):?>
    
    
            <li class="beats"><?php echo $row['title']; ?><a href="dashboard.php?delete=<?php echo $row['id']?>" class="beats">  Delete</a></li>
    
    <?php endwhile; ?>
<?php function pre_r( $array ) { echo '
';
                print_r($array);
                echo '
'; } ?>

Your PHP file in the console returns a 500 Internal Server Error:

https://infinityfree.net/support/http-error-500/

Thank you I will go over everything and fix it. Thanks for the help

1 Like

Can you help me out with on more thing when I look at the errors. Turns out Iā€™m not connecting to my database correctly, yet I used the information given in the Cpanel. Why is that?

https://infinityfree.net/support/common-mysql-errors/

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.