Posts by Rafael Saru • 11 points
5 posts
-
0
votes1
answer177
viewsQ: Query works in phpmyadmin, but does not work in PHP
I’m trying to do a query via php in Mysql , but it’s not working in PHP, but it works in PHPMYADMIN. $check_in = strtotime($arrival); $check_out = strtotime($departure); Queries I’ve tried in PHP...…
-
0
votes1
answer35
viewsA: How to turn Y-m-d to Unix midnight timestamp into PHP?
Solved, $check_in = strtotime('-6 hour' , strtotime($Arrival));
-
-2
votes1
answer35
viewsQ: How to turn Y-m-d to Unix midnight timestamp into PHP?
Good afternoon, I need to convert the data from a form that comes in the format ex: 2018-02-13 for UNIX at midnight. If I convert normally using strtotime it comes right but with the time of 6:00AM.…
-
0
votes1
answer80
viewsA: Classes do not load! Script runs on xampp but does not run on LAMP/LEMP/VPS
I found out, it was the same sensitive ! the classes had the first minute letter, so I didn’t think! Thank you all !
-
0
votes1
answer80
viewsQ: Classes do not load! Script runs on xampp but does not run on LAMP/LEMP/VPS
Guys, I made a very light and simple script. In xampp it runs normal, but when I go up to any server does not go at all. I’ve tried the Lamp, Lemp (From Digital Ocean), at VPS (Dreamhost), but it…