...

View Full Version : Submit button not working [was: MySQL queery doesn't work with Windows]



ro1960
04-02-2007, 10:15 AM
I am developing on a Mac and constantly check under Windows that everything looks as it should. For the first time, it's not a layout issue that I am encountering but a database one.

Whereas my DB queries work just fine under OS X with Safari and Firefox, I get a "Couldn't execute query" error in IE 6 in Windows (I didn't check with other browsers).

I am not sure where to look for the cause of this problem.

The search page is at:
http://www.partylist.com/0new/pl.php?p=search_parties.php&search=parties

I am including the search forms and the result page as an attachment.

guelphdad
04-02-2007, 02:06 PM
your queries will work fine under any platform. mysql works independent of platform. you thus have problems somewhere else in your code.

ro1960
04-02-2007, 09:35 PM
I think I found the culprit but I don't understand why it's not working. The forms that produce the error have an image as submit button:

<input type="image" src="images/go_round_white.gif" align="middle" value="go!" name="searchparties_simple">

When I replace it by a regular submit button like this, it works:

<input type="submit" align="middle" value="go!" name="searchparties_simple">

How an I get the image submit button to work?

CFMaBiSmAd
04-02-2007, 09:53 PM
Read the following link to find out how to get PHP to work with an image submit button - http://www.php.net/manual/en/faq.html.php#faq.html.form-image



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum