|
There are a lot of mistakes, some trivial, some logical, some syntatic, and there are others just did not make sense. Just to mention a few:
for the html part:
1. The values of checkboxes are all 1, in that way, we would not be able to know which ones are being voted.
2. The checkTheBox function only check up to 5 selections but there are 10 checkboxes and yet the subsequent code that followed is suggesting that one can only vote exactly 5 candidates. I am confused.
3. ...
for the php part:
1. The $values is never used after the foreach.
2. The sql statement does not make sense.
3. The header is incomplete and in the wrong place.
4. ...
May I take a look at the database table admin, what are the fields and their data types?
I will try to suggest sometime if it is not too time consuming.
modified 20-Nov-13 12:29pm.
|
|
|
|
|
Did you try with the checkbox value="true" ?? i think it should be working if this is the only problem of your code...
|
|
|
|
|
|
|
Try asking in the support forum[^] for that project.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
i typed
firefox -P in run but it open firefox home page
|
|
|
|
|
You might have better luck on the Mozilla support site[^]. However, a quick search turns up this article[^], which suggests that Firefox is still running in the background.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
thanks that's helped me firefox was working in the background
|
|
|
|
|
|
i'm really worried that if i enable GZIP Compression many consideration 1-
Older browsers
2-
CPU-load also i wanna i ask should compress minified css and js ????
|
|
|
|
|
|
i searched google before i ask that question i need developers whom already work with gzip advice me
|
|
|
|
|
The links I found contain a wealth of information that will help you make a decision.
Veni, vidi, abiit domum
|
|
|
|
|
you just provide google search link
|
|
|
|
|
And did you bother to follow that link and read any of the articles?
Veni, vidi, abiit domum
|
|
|
|
|
i read them
Quickly it's using asp.net and for IIS not APACHE
|
|
|
|
|
|
i'm using php also i know how to enable gzip compression i asked about how to avoid old browsers and cpu load
|
|
|
|
|
|
ok thanks but again i'm using only apache not IIS
|
|
|
|
|
|
|
hi
i want discuss the connection and facth the data by database table
on run time of web page .
and how write the asp.net C# on Dremweaver.
|
|
|
|
|
|
Hi,
I have used PDO with PHP but I wanted to ask about your experience? which database API your recommend when using PHP and MySQL?
Thanks,
Jassim[^]
Technology News @ www.JassimRahma.com
|
|
|
|