Ryan Sefrio

Greenhorn
+ Follow
since Jun 14, 2020
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ryan Sefrio

Here is my code:


The output when I enter good inputs, it print in the error area: Database error: Failed to register

Also, I defined the variables: DB_HOST, DB_USER, DB_PASS, DB_NAME

the same as in my Xampp phpmyadmin settings.

If you need more info just tell me and i'll try my best give it to you.
1 week ago
PHP

Norm Radder wrote:Here's a description of the Scanner problem that Dave talked about: https://www.geeksforgeeks.org/why-is-scanner-skipping-nextline-after-use-of-other-next-functions/



Thank you, that was really helpfull. With that site, I managed to solve my problem.
5 months ago
Alright, I changed the method tostring() like you said, but I still have the same problem when I'm changing the the values of movie1. It gives me the error message right after I input the new schedule.
5 months ago

Junilu Lacar wrote:The requirement for toString() It does reference an example though so it will help us if you shared that example as well.


yeah, here it is:
5 months ago
Here's the instructions that my teacher gave me. I might be misunderstanding what she really wants.
5 months ago

Dave Tolls wrote: I'm guessing he didn't get a chance.


Yeah, you're right each time it fails before letting me input the newPrice.
Also, the names of the methods are supposed to be that way because my teacher said so.(But I agree that the names aren't that great)
5 months ago
yeah of course here is the code:



5 months ago
Can you help me understand my error bcz it's driving me crazy. Please send help.
5 months ago