Jump to content

Recommended Posts

It shouldn't... Getting a 500 probably means there was a fatal error in the script. I don't know where but there's an option to turn on and turn off that "if the script has a problem then show a 500 error" setting; doing that means you'll get to see error messages right in the browser. Otherwise take a look at Apache's error log for more information about what went wrong.

 

Your code will probably look something like

include/require files that let you connect to the database

run the first query

stuff

run the second query

maybe disconnect but it's not required

Doesn't having 2 queries break the script and show a 500 error? or thats what happens whenever ive done 2 queries in one script...

 

No...  Take a look at the bottom of the Freak board, there are usually 12-20 queries each load.  How would that be possible?

 

If you have a specific question, show the goods.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.