I figured out what was causing those errors. I left out the database connect command at the beginning of the script. *shakes head* I had figured out that it wasn't connecting to the database but I didn't know why not. I was copying the code from a MySQL tutorial book and skipped that line when editing a previous script from the book.
The page posts info now but not quite correctly. It posts the time/date/status fine but the content section shows DBI::Hash(0x8ccc) where c is some other numbers I don't remember and the stripping of whitespace doesn't seem to work correctly.
Thank you for offering to help. :) I'll keep fiddling with it and look at the code concerning the content field and see what's causing the problem.
Comments 2
Reply
The page posts info now but not quite correctly. It posts the time/date/status fine but the content section shows DBI::Hash(0x8ccc) where c is some other numbers I don't remember and the stripping of whitespace doesn't seem to work correctly.
Thank you for offering to help. :) I'll keep fiddling with it and look at the code concerning the content field and see what's causing the problem.
Reply
Leave a comment