help with insert and update
Posted by: Jerry Harden
Date: June 21, 2005 06:23AM

Pardon my limited expertise on MySQL. I am a 'C' programmer with limited experience with the 'C' APIs for MySQL. I am trying to get existing 'C' programs (web-based-cgi) that do SQL inserts and updates to work on a new server. If the program makes a simple query it works and returns the data. If there is an insert or update invloved the call fails with the ususal -> Error message:
Premature end of script headers: register

I've compiled using: gcc program.c -l mysqlclient -o program

Is this something simple that I've overlooked? (I hope)

Any assistance is much appreciated. Thanks.

Options: ReplyQuote


Subject
Views
Written By
Posted
help with insert and update
943
June 21, 2005 06:23AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.