Skip to content

SQL not Inserting using PHP

I have the following code sending data from a form to an SQL database: My database table is structured as with studentID being a primary key auto incrementing and all fields apart from dob as text (dob is set as datetime) The form which is sending the data looks like this: I’m not getting a PDO error bu…

Read and join multiple remote files PHP

I’m using this code to read multiple remote files: $filters = [ “https://example.com/file.txt”, “https://example.com/file1.txt”, “https://example.com/file3.txt” ] …