For some strange and odd reason, wamp is not displaying database errors, and i cant seem to know why, i know it showed error because i have been working with wamp and it displayed errors before, but when i installed it in a new machine recently and started working on it, it was not displaying any database errors,
For example, i was inserting in database tables and the browser was executing the php script and the mysql query but nothing was inserted, after 2 painstaking hours, i found That one of the columns name was wrong, I for a fact remember that mysql displayed a database error telling me that the column does not exist in table, after which i understood the error and corrected it, but now it is not displaying any of it.
code is:
$query = "INSERT INTO campaign (campaignName, campaignPlatform, campaignStatus,
campaignStart, campaignExpiry, campaignText)
VALUES ('{$campaignName}', '{$campaignPlatform}', '{$campaignStatus}',
'{$campaignStartDate}', '{$campaignExpiryDate}',
'{$campaignText}') ";
$result = mysqli_query($con, $query);
Here, campaignStart is actually campaignStarting, the script is processed and the page is blank, but there is no error, no mysql error and no insert on the database, when this happened before, there was always an error from mysql stating "this column does not exist",
Can anyone tell me why this is happening and how to correct it?