Forum Moderators: coopster

Message Too Old, No Replies

any one know how i should structure this to work?

         

ilustrate

9:36 am on Aug 8, 2005 (gmt 0)

10+ Year Member



Fecha:
<td>
<form name='ejemplarform' method=get ACTION=/index.php><select name=ejemplar onchange='document.ejemplarform.submit()'><OPTION VALUE=0>Fecha</OPTION>
<OPTION VALUE=519>06-ago-2005</OPTION>
<OPTION VALUE=518>05-ago-2005</OPTION>
<OPTION VALUE=517>04-ago-2005</OPTION>
<OPTION VALUE=516 SELECTED>03-ago-2005</OPTION>
<OPTION VALUE=515>02-ago-2005</OPTION>

<OPTION VALUE=514>01-ago-2005</OPTION>
<OPTION VALUE=513>31-jul-2005</OPTION>
<OPTION VALUE=512>30-jul-2005</OPTION>
<OPTION VALUE=511>29-jul-2005</OPTION>
<OPTION VALUE=510>28-jul-2005</OPTION>
<OPTION VALUE=509>27-jul-2005</OPTION>
<OPTION VALUE=508>26-jul-2005</OPTION>
<OPTION VALUE=507>25-jul-2005</OPTION>
<OPTION VALUE=506>24-jul-2005</OPTION>
</SELECT>

</form>
<tr>
<td>
Página:
<td>
<FORM NAME='pagina' METHOD=get ACTION=/index.php><SELECT NAME=pagina_id onchange='document.pagina.submit()'>
<OPTION VALUE=19529 SELECTED>pag. 1 - Promociones del Verano</OPTION>
<OPTION VALUE=19510>pag. 2 - Joyeria Denisse tiene...</OPTION>
<OPTION VALUE=19508>pag. 3 - Midas y su viaje a Tucson...</OPTION>
<OPTION VALUE=19524>pag. 4 - Smart Shop rifa una compu...</OPTION>

<OPTION VALUE=19509>pag. 5 - Empleos de la semana...</OPTION>
<OPTION VALUE=19525>pag. 6 - ¿Quien renta y/o vend...</OPTION>
<OPTION VALUE=19530>pag. 7 - Primer mes gratis en Curves...</OPTION>
<OPTION VALUE=19526>pag. 8 - Sky por solo $300 pesos ...</OPTION>
<OPTION VALUE=19527>pag. 9 - Lavoro tiene todo -15%...</OPTION>
<OPTION VALUE=19528>pag. 10 - Instituto Miravalle inscri...</OPTION>
<OPTION VALUE=19518>pag. 11 - Pintura Doal con el -10%...</OPTION>
<OPTION VALUE=19519>pag. 12 - Una Pizza con Dominos...</OPTION>
<OPTION VALUE=19520>pag. 13 - Collares de Murano...</OPTION>
</SELECT>
</FORM>
<tr>
<td>
Sección:
<td>
<FORM NAME='seccion' METHOD=get ACTION=/index.php><SELECT NAME=seccion onchange='document.seccion.submit()'>
<OPTION VALUE=48 SELECTED>Portada</OPTION>

<OPTION VALUE=49>Directorio de eventos (pág. 2)</OPTION>
<OPTION VALUE=50>Empleos</OPTION>
<OPTION VALUE=51>Casas</OPTION>
<OPTION VALUE=53>Horoscopos</OPTION>
</SELECT>
</FORM>
</table>
<p></p>

</div>
En esta sección:
<table width='320' border=0>

mcibor

10:26 am on Aug 8, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Could you write what the problem is or what do you want to achieve. And in English please - I don't speak Spanish.

BTW why do you submit only one value per time? Wouldn't it be better to submit all three values at once?

Michal Cibor

omoutop

10:29 am on Aug 8, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hi!

Can u specify what the problem is?
at first sight u got too many forms inside...u can work this out with only one form...
plz fetch mnore details/problems/requirements...

one form example:
Fecha:
<td>
<form name='ejemplarform' method=get ACTION=/index.php><select name=ejemplar onchange='document.ejemplarform.submit()'><OPTION VALUE=0>Fecha</OPTION>
<OPTION VALUE=519>06-ago-2005</OPTION>
<OPTION VALUE=518>05-ago-2005</OPTION>
<OPTION VALUE=517>04-ago-2005</OPTION>
<OPTION VALUE=516 SELECTED>03-ago-2005</OPTION>
<OPTION VALUE=515>02-ago-2005</OPTION>
<OPTION VALUE=514>01-ago-2005</OPTION>
<OPTION VALUE=513>31-jul-2005</OPTION>
<OPTION VALUE=512>30-jul-2005</OPTION>
<OPTION VALUE=511>29-jul-2005</OPTION>
<OPTION VALUE=510>28-jul-2005</OPTION>
<OPTION VALUE=509>27-jul-2005</OPTION>
<OPTION VALUE=508>26-jul-2005</OPTION>
<OPTION VALUE=507>25-jul-2005</OPTION>
<OPTION VALUE=506>24-jul-2005</OPTION>
</SELECT>


<tr>
<td>
Página:
<td>
<OPTION VALUE=19529 SELECTED>pag. 1 - Promociones del Verano</OPTION>
<OPTION VALUE=19510>pag. 2 - Joyeria Denisse tiene...</OPTION>
<OPTION VALUE=19508>pag. 3 - Midas y su viaje a Tucson...</OPTION>
<OPTION VALUE=19524>pag. 4 - Smart Shop rifa una compu...</OPTION>

<OPTION VALUE=19509>pag. 5 - Empleos de la semana...</OPTION>
<OPTION VALUE=19525>pag. 6 - ¿Quien renta y/o vend...</OPTION>
<OPTION VALUE=19530>pag. 7 - Primer mes gratis en Curves...</OPTION>
<OPTION VALUE=19526>pag. 8 - Sky por solo $300 pesos ...</OPTION>
<OPTION VALUE=19527>pag. 9 - Lavoro tiene todo -15%...</OPTION>
<OPTION VALUE=19528>pag. 10 - Instituto Miravalle inscri...</OPTION>
<OPTION VALUE=19518>pag. 11 - Pintura Doal con el -10%...</OPTION>
<OPTION VALUE=19519>pag. 12 - Una Pizza con Dominos...</OPTION>
<OPTION VALUE=19520>pag. 13 - Collares de Murano...</OPTION>
</SELECT>

<tr>
<td>
Sección:
<td>
<OPTION VALUE=48 SELECTED>Portada</OPTION>

<OPTION VALUE=49>Directorio de eventos (pág. 2)</OPTION>
<OPTION VALUE=50>Empleos</OPTION>
<OPTION VALUE=51>Casas</OPTION>
<OPTION VALUE=53>Horoscopos</OPTION>
</SELECT>
</FORM>
</table>
<p></p>

</div>
En esta sección:
<table width='320' border=0>

mcibor

10:42 am on Aug 8, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



omoutop, you forgot <SELECT for the latter two...

omoutop

11:22 am on Aug 8, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Very true....
Thx Mike..

I think our friend got my point...1 form instead of 3 is better..
We need more info regarding the problem or requirement to help him...

ilustrate

5:03 pm on Aug 8, 2005 (gmt 0)

10+ Year Member



thanks guys for the interest in giving me a hand with this. basically it's for a small classified magazine that is given away to the public. the original site with the sample of what i'm trying to use for a similar site is working at <removed> i need the first selection to select a given week so that i can bring up the proper pdf's for that week. it's neat the way that when a week is selected that the 2nd and 3rd fields change to contain information related to the week selected in the first field. i hope this can illustrate the functions a little more. thanks.

[edited by: jatar_k at 5:08 pm (utc) on Aug. 8, 2005]
[edit reason] no urls thanks [/edit]

ilustrate

7:01 am on Aug 9, 2005 (gmt 0)

10+ Year Member



yesterday 3 people asked for more information, now nobody looks at the post?

jd01

7:16 am on Aug 9, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I think the problem is we don't understand the problem, still...

Do you mean what are the connections to get information out of a database? If so, what are you trying to use that is not working? How is the database set up?

Do you mean what are the connections to put information in to a database? If so, what are you trying to use that is not working? How is the database set up?

Do you mean the form is not sending the right information? If so, where are you trying to send the information and what are you trying to do with it from there?

Do you mean the form is not changing according to the selection correctly?

Do you mean the for is not loading correctly?

These are just a few of the questions that come to mind that you might be looking for the answer for...

Please, let us know and I am sure someone will be able to help you.

Justin

ilustrate

9:28 am on Aug 9, 2005 (gmt 0)

10+ Year Member



thank jd. actually i need to know a little of everything. the form is a section of source code i grabbed from a form that does exactly what i need done. i basically need to setup everything. i know how to create a database and such but i really don't know how to setup and write the index.php file that actually executes everything. i would need to have the fields bring up the different issues and place the image (pdf) in the designated area... but have no idea where to start

[edited by: coopster at 11:55 am (utc) on Aug. 9, 2005]
[edit reason] removed url per TOS [webmasterworld.com] [/edit]