Skip to content

mysqli_fetch_array returning only one result

I’m trying to make a very, very simple query of a small mysql database, using the following code (with appropriate values in $host, etc.): As you can see, I printed out the results in a human-readable way, yielding: There are a few example universities in that column, so I’m not sure what I’…

php: change value of variable based on dropdown list

Learning PHP and having an issue that I can’t figure out. I have read that PHP only has scope for functions, so I’m not sure why my switch statement isn’t changing the value of variables. Goal: to …

Stripe making multiple customers with same email address

I have stripe check out with php. It creates customers and charges them. I want to create a donation form where if same customer comes back and gives with same email address that Stripe doesn’t create another customer but charges the existing customer with additional payments. Is this possible? Or does …

Implement Payum/Laravel recurring payment

I have some issues trying to get this working, I’ve implemented the checkout express (or seems to be) successfully, but also my system needs subscription option, following this example. Now, my …