x_wd11 Posted July 22, 2019 Share Posted July 22, 2019 I cannot figure out where I am redefining these values: An error occurred in script 'C:\www\httdocs\ulproject\mysqli_connect.php' on line 8: Constant DB_USER already defined Warning: print_r(): Couldn't fetch mysqli_result in C:\www\httdocs\ulproject\includes\config.inc.php on line 47 An error occurred in script 'C:\www\httdocs\ulproject\mysqli_connect.php' on line 9: Constant DB_PASSWORD already defined my_error_handler(8, Constant DB_HOST already defined, Warning: print_r(): Property access is not allowed yet in C:\www\httdocs\ulproject\includes\config.inc.php on line 47 Warning: print_r(): Couldn't fetch mysqli_result in C:\www\httdocs\ulproject\includes\config.inc.php on line 47 You probably know where these issues are coming from, would you let me know, thanks much. Link to comment Share on other sites More sharing options...
Larry Posted July 24, 2019 Share Posted July 24, 2019 I don't know where those values are coming from! I'd just search through your code to see where you might have defined them more than once. Link to comment Share on other sites More sharing options...
x_wd11 Posted July 28, 2019 Author Share Posted July 28, 2019 Well, I jumped over all the chapters right to the 17th and 18th and combined users table with the other user table, so I had 2 such tables in one DB ... . Now I am back where I should be and already made it to ch11. One has to be very creative to follow thru but I did figure out finally how to work with the pictures. Not easy some of the stuff to follow but it can be done. I think I can skip over the transfers, it's more about shopping card I guess, it's not used for my web idea. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts