For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > July 2007 > Re: [PHP-DB] PHP & MySQL Issue!









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DB] PHP & MySQL Issue!
Niel

2007-07-13, 3:58 am

Hi

Give us a clue? What's the error(s) you get returned?
--
Niel Archer
Dwight Altman

2007-07-13, 6:58 pm


On Jul 12, 2007, at 9:50 PM, Austin C wrote:

> Hello, I dont get any errors. Just a blank page. But, I go to the
> database,
> and it did what I told it to with the header table, but not with the
> circulation table.


Check your error log or add this as the first line in your script.
ini_set('display_errors', '1');

Maybe you are testing this on a production server with errors not
displayed.

Remove the line before you deploy the code.

Hopefully you will see a meaningful message now.

Regards,
Dwight



Dwight Altman

2007-07-13, 6:58 pm


On Jul 12, 2007, at 9:50 PM, Austin C wrote:

> Hello, I dont get any errors. Just a blank page. But, I go to the
> database,
> and it did what I told it to with the header table, but not with the
> circulation table.


After you built the SQL for the circulation table, you did not
execute it [with a $query = mysqli_query($cxn,$sql);]. Instead, you
selected the db again. Your code did what you told it to do. Hence,
no error messages.


Regards,
Dwight



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com