$sql = "SELECT * FROM 'crud' " ; Make sure you use proper quotes if you insert strings: from this : $sql = "SELECT * FROM 'crud' " ; to this : $sql = "SELECT * FROM crud " ;
when i try check if its connected it shows this error for me, i followed each one of ur steps :( : Fatal error: Uncaught Error: Undefined constant "conn" in C:\Users\Julian\Desktop\Academix Curso\Xamp\htdocs\crud\db_conn.php:8 Stack trace: #0 {main} thrown in C:\Users\Julian\Desktop\Academix Curso\Xamp\htdocs\crud\db_conn.php on line 8
I have created this but when I click delete button.... It shows internal server error 500. My Apache is working fine... 😓😭😭😭 Everything is working fine
Sir please, how can you encrypt the id parameter value, so it wont look simple like just '6', '1'. instead it should be like '8hgayu42466' like that. And how to prevent direct access of datat when you just change the id value in the url
you can download as simply with some RU-vid tutorials and you can use as normal, but when you adding or creating some components that time 2gb is not enough, you have to research about some alter apps for Ae. or upgrade pc
everything works fine instead of edit it shows PHP Warning: Undefined array key "id" in /Applications/XAMPP/xamppfiles/htdocs/FirstPHP/edit.php on line 7 PHP Fatal error: Uncaught TypeError: mysqli_fetch_assoc(): Argument #1 ($result) must be of type mysqli_result, string given in /Applications/XAMPP/xamppfiles/htdocs/FirstPHP/edit.php:10 Stack trace: #0 /Applications/XAMPP/xamppfiles/htdocs/FirstPHP/edit.php(10): mysqli_fetch_assoc('') #1 {main} thrown in /Applications/XAMPP/xamppfiles/htdocs/FirstPHP/edit.php on line 10