MySQL Forums
Forum List  »  PHP

Re: Connection to existing database
Posted by: Phillip Ward
Date: November 06, 2019 06:19AM

Quote

But it won't work so far.

Whilst there are some very good people around here, none of them are psychic [as far as I know].
What error(s) do you get when you run the script?

Might it be complaining about something near ',)'?

INSERT INTO testomgevingplugin_horsemanager_horses (id, external_id, name,) VALUES (9089, '9', 'paard')
                                                                         ^ Lose this!  
                                                                         | The comma goes between field names, not after.

As far as the rest goes, The PHP mysqli library is still supported, but showing its age. PDO is the database access Tool of Choice these days.

Options: ReplyQuote


Subject
Written By
Posted
Re: Connection to existing database
November 06, 2019 06:19AM


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.