Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (count($result) > 1) {
- $pdo->query($insertion) === TRUE; //INSERTS AN ITEM TO DATABASE (just to test it - and it works. It adds 'Works' to the database.)
- echo "<script> alert("Test"); </script>"; //Testing it with an alert - nothing happens.
- echo "<script> document.getElementById('inforequest').style.display='block';</script>"; //This works but when the page opens - just a test though, it's not suppose to happen.
- if (count($result) > 1) {
- $pdo->query($insertion) === TRUE; //inserts 'works' into the database as a test.
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement