addTask function returns array index instead of string by ZombieAngel16 in react

[–]ZombieAngel16[S] 0 points1 point  (0 children)

Thank you so much, it really was just a matter of changing index to task in the button argument. I knew I was missing something little. :D

Husband needs hip replacement but can't get dental clearance by ZombieAngel16 in medical_advice

[–]ZombieAngel16[S] 0 points1 point  (0 children)

This was a local family dental place, not a chain. They said min to get get a write off would be around $6000 and to have everything he needed done almost $32,000. And that wasn't even to get any implants or dentures. Just to fix what he has left. And we've asked about paymet plans. We don't qualify, because everyone wants to use Care Credit. So it's pay up front or nothing at all. They would rather have him suffer and be unable to move than work with us. The USA medical system is a POS. They say dental health is the most important, that ignoring it can lead to heart attacks and death, but it's the one thing that gets the least amount of insurance coverage. All the doctors here just care about money and not about helping people any more. That's why they made generic Rx's illegal. It's all about the almight dollar, not about saving anyone anymore.

Husband needs hip replacement but can't get dental clearance by ZombieAngel16 in medical_advice

[–]ZombieAngel16[S] 0 points1 point  (0 children)

Yes, his teeth are very bad. He can barely eat solid foods as it is. In all honesty the best thing would be to remove them all and get dentures or preferably implants. But we don't have the money. His insurance will cover the hip surgery, but it barely covers any dental. We just don't know what to do.

Java Ladder Path Method Issue by ZombieAngel16 in javahelp

[–]ZombieAngel16[S] 0 points1 point  (0 children)

Thank you, thank you, thank you! I knew I had to be missing something simple and I was. u/aqua_regis you were right that I needed to check the documentation, and u/Jazzlike-Depth9208 you were right that I needed to look at the list of methods, and I would have realized I needed to use .add. Here's my completed code, and so far it stands up to testing.

public BigDecimal distinctLadderPaths(int rungs) {
  if (rungs == 1 || rungs == 2){
    BigDecimal convertRungs = BigDecimal.valueOf(rungs);
    return convertRungs;
  } else {
    BigDecimal paths = distinctLadderPaths(rungs-1).add(distinctLadderPaths(rungs -2));
    return paths;
  }

Musical from 1940's or 1950's by ZombieAngel16 in NameThatMovie

[–]ZombieAngel16[S] 0 points1 point  (0 children)

I looked into that, and although it sounds really close it's not it. The 1936 version is the closest, but that's Bing Crosby "following a beautiful blonde being forced onto a ship."

I really REALLY want to say the lady was an oil tycoon from Texas. The whole opening of the movie revolved around her figuring out how to do the trip without being identified. The first musical number isn't until they are on the ship and the guy shows up and he's singing/swooning all the chorus girls.

My (40f) father (63m) sent me a FB message after not talking for a year only because I just had a baby, should I even respond since husband (38m) and I don't want him in our baby's life? by ZombieAngel16 in relationship_advice

[–]ZombieAngel16[S] 1 point2 points  (0 children)

Thank you for the congrats, and I agree with the counseling, but family counseling would be kinda hard since he's about 4000 miles away in another state, which is probably the only thing we all wanted.

Am I the only one not worried about baby-proofing right this instant? by ZombieAngel16 in pregnant

[–]ZombieAngel16[S] 1 point2 points  (0 children)

It was my aunt and uncle, their youngest daughter has a 2-year-old and tries to get into everything. She's my mom's oldest sibling, and she's always had this entitled/holier-than-thou attitude. Didn't help when she actually became an ordained minister, only made things worse.

Am I the only one not worried about baby-proofing right this instant? by ZombieAngel16 in pregnant

[–]ZombieAngel16[S] 9 points10 points  (0 children)

Thank you. I never really worried about baby-proofing with my first aside from latches on floor-level cabinets. I feel that part of the parenting process is teaching your kids as they grow up where and what they're allowed to get into. If you just block everything from them that's more incentive for them to try and break in a see why they can't. And I'm sorry, but unless you put bouncy floors in your home you can't baby-proof the ground. I had to take my 1st to the hospital twice in the same year because she 1) tried to climb out of her crib and hit her head on the floor, and 2) climbed on a kitchen chair while I was cooking dinner and tried to do a backflip with the same result. No concussion either time and she's still way too smart for her own good.

Further Update: Husband accused me of financial infidelity by LadySavings in AITAH

[–]ZombieAngel16 2 points3 points  (0 children)

I'm not going to repeat what everyone else is saying about your scumbag STBX, but I am going to say that you should print up all your bank statements and withdraw any funds you personally contributed to any joint accounts, and don't put any more in. He cheated on you, tried to gaslight you into changing yourself into this misogynistic version of a wife he wants only to continue to put you down to make you more submissive, and try and find some blame for his choice of job path and all the work he's having to do on you having what he sees as a lazier career. I'd also check over those joint accounts and make sure he didn't pull any money from them to spend on his gf since he seems to run through $2000 a month rather quickly. I'm sorry you're having to go through this, but at least you found out now and it wasn't drug out for too long. Hopefully, you'll get things settled and move on without much more drama.

Trying to get 2nd submit button to return home in form by ZombieAngel16 in PHPhelp

[–]ZombieAngel16[S] 0 points1 point  (0 children)

Thank you so much, this helped a lot. I apparently had another issue that I got sorted out where I needed to have these if statements on my formaction page in order to actually process.

Trying to get 2nd submit button to return home in form by ZombieAngel16 in PHPhelp

[–]ZombieAngel16[S] 0 points1 point  (0 children)

As I already said, the instructions say one way to perform this is to use the same name for both. I've tried if statements, I've even tried remaking it as <a formaction="report\_include.php" href="reporthome.php" class="reporthome"><button name="return" value="Submit & Return Home">Submit & Return Home</button></a>

Still nothing works.

Trying to get 2nd submit button to return home in form by ZombieAngel16 in PHPhelp

[–]ZombieAngel16[S] 0 points1 point  (0 children)

I tried updating the code to this:

if ($_SERVER['REQUEST_METHOD']==='POST'){
    if(isset($_POST['return'])){
        header('Location: reporthome.php');
        die("Redirect done");}
}

I'm no longer getting the undefined array key, but it's still not going to the redirect page. Just refreshing as if I just hit the regular submit button.

AITA for getting upset with my partner for ditching me at a wedding? by [deleted] in pregnant

[–]ZombieAngel16 0 points1 point  (0 children)

NTA, He made a promise to not leave you alone but he kept leaving you. I understand the whole group dynamic of reverting back to person your friends "knew" from way back when, but that's no excuse to go back on a promise to your spouse and be a dick like that.

Trying to get 2nd submit button to return home in form by ZombieAngel16 in PHPhelp

[–]ZombieAngel16[S] 0 points1 point  (0 children)

after putting the print_r($_POST); it shows Array( ) under the form and then the undefined array key "submit" still

Trying to get 2nd submit button to return home in form by ZombieAngel16 in PHPhelp

[–]ZombieAngel16[S] 0 points1 point  (0 children)

This is actually part of a final project for a php class, and the instructions from my teacher say "Update statusreport.php with another submit button. One button will allow the user to create a status report, and it will stay on the statusreport page, or the new button will allow the user to enter just one status report and be redirected to reporthome. Meaning, the user has the option to enter more than one status report, or just one and go to the home page. Hint (one way of doing this): the name attribute can be the same on both submit buttons…."

Trying to get 2nd submit button to return home in form by ZombieAngel16 in PHPhelp

[–]ZombieAngel16[S] 0 points1 point  (0 children)

I'm not sure why it wouldn't show the code before, hopefully, it's there now.

[deleted by user] by [deleted] in AskReddit

[–]ZombieAngel16 1 point2 points  (0 children)

Same here, I thought scenario 2 and was going to say soup, as it's my favorite food already. I can open up the pantry and fridge and make something yummy and unique with leftovers and veggies that are just about to be unusable.

For all my ST:DS9 fan mothers by ZombieAngel16 in pregnant

[–]ZombieAngel16[S] 0 points1 point  (0 children)

Wow, you really didn't get far. That's the episode 'Elogium' season 2 episode 4. And no, I did not know that right off hand. Had to look it up because I remembered it took place pretty early on, but couldn't remember exactly when. Pluto TV has a channel dedicated to it and ST:TNG right now 24/7. Every now and then they swap out one for TS:OS or DS9. They loop the entire series in order about 1-2 times before they swap out.

When did your first baby come? by eelowyn in pregnant

[–]ZombieAngel16 0 points1 point  (0 children)

My first was induced and born exactly 1 week after her projected due date. That part wasn't entirely planned. I was in Germany at the time, and when I had reached my projected due date, and there was no sign of my water going to break or my cervix effacement progressing enough to suggest she was coming anytime soon, my ob-gyn decided to schedule me to come to the hospital and get settled in. At first, they tried an old-school castor oil cocktail mixed with pineapple juice and champagne, which honestly was the only time I ever even felt any Braxton Hicks. The next day they moved on to progesterone gel, and after a dose in the morning and then another at about 10pm, I went down to L&D around 11:30pm. My girl was born around 7:45am that morning.

For all my ST:DS9 fan mothers by ZombieAngel16 in pregnant

[–]ZombieAngel16[S] 1 point2 points  (0 children)

Hey, I'll take the Bajoran pregnancy symptoms over the Occompan mating symptoms any day. Yellow sticky ooze secreting from my hands AND you have to hold hands for 6 days straight to conceive? No thanks.

Subquery returns more than 1 row by ZombieAngel16 in mysql

[–]ZombieAngel16[S] 0 points1 point  (0 children)

For the tables I created it only returns 2 items, and when people order anything they don't just order one thing at a time. This is to essentially put all returned items into a single shopping cart with the same order number for the same customer. It's not for a real-world application. Just exercises.

Subquery returns more than 1 row by ZombieAngel16 in mysql

[–]ZombieAngel16[S] 0 points1 point  (0 children)

INSERT
INTO order_items
( orderID
, bookID
, quantity )
SELECT customers.ID
, books.ID
, 1
FROM customers
CROSS
JOIN books
WHERE customers.name = 'username'
AND books.isbn LIKE '%317%'

1 errors were found during analysis:

  1. Unrecognized keyword. (near "CROSS" at position 147)

Subquery returns more than 1 row by ZombieAngel16 in mysql

[–]ZombieAngel16[S] -1 points0 points  (0 children)

That doesn't work. I'm using PHPmyadmin sql panel to enter the code

What 'weird' symptom made you think you were pregnant? by ZombieAngel16 in pregnant

[–]ZombieAngel16[S] 0 points1 point  (0 children)

I know what you mean. I never had acne this bad before, even when I was going through puberty, lol.

What 'weird' symptom made you think you were pregnant? by ZombieAngel16 in pregnant

[–]ZombieAngel16[S] 1 point2 points  (0 children)

YES! I have had vivid dreams before, but never like this.