BJ-AMARAL 0 Denunciar post Postado Novembro 3, 2003 esto fazendo uma pagina mais estou muito confuso no que colocar por exemplo pagina clicada www.meusite.com/fotos.php?cod=001 estou com duvidas como pegar do banco de dado e colocar na foto_p[$aux_pagina] são vite disto na pagina e tem paginaçãome ajudem por favor <?php Compartilhar este post Link para o post Compartilhar em outros sites
BJ-AMARAL 0 Denunciar post Postado Novembro 3, 2003 esto fazendo uma pagina mais estou muito confuso no que colocar por exemplo pagina clicada www.meusite.com/fotos.php?cod=001 estou com duvidas como pegar do banco de dado e colocar na foto_p[$aux_pagina] são vite disto na pagina e tem paginaçãome ajudem por favor <?php include "abreconexao.inc";$sql = "select * FROM tb_galeria_foto_secundario where cod=$cod$rs = mysql_query($sql) or die (" não possivel fazer consulta");?><table width="100%" height="2%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td valign="top" height="8"> <div align="center"><img src="barra/ult_f.gif" width="526" height="25" align="middle"></div> </td> </tr> <tr> <td valign="top" height="610"> <table width="607" border="0" cellspacing="0" cellpadding="0" height="610" align="center"> <tr> <td height="136"> <div align="center"><strong><font face="Verdana, Arial" size=1>005<br> <img src="<? echo "foto_p[$aux_pagina] ?>" border=1 width="120" height="90" > </font><font face=Arial></font></strong></div> </td> <td height="136"> <div align="center"><strong><font face="Verdana, Arial" size=1>005<br> <a onClick="MM_openBrWindow('p_foto_pop_up.php?foto=005&cod_festa=1227','','scrollbars=yes,width=600,height=520')" href="http://www.olhaopassarinho.com/p_lista_fotos.php?cod_festa=1227&PHPSESSID=9fb7be0b6517b9cf2243ff44d7989bfb#005"><img src="<? echo "foto_p[$aux_pagina] ?>" border=1 width="120" height="90"> </a></font><font face=Arial></font></strong></div> </td> <td height="136"> <div align="center"><strong><font face="Verdana, Arial" size=1>005<br> <a onClick="MM_openBrWindow('p_foto_pop_up.php?foto=005&cod_festa=1227','','scrollbars=yes,width=600,height=520')" href="http://www.olhaopassarinho.com/p_lista_fotos.php?cod_festa=1227&PHPSESSID=9fb7be0b6517b9cf2243ff44d7989bfb#005"><img src="<? echo "foto_p[$aux_pagina] ?>" border=1 width="120" height="90"> </a></font><font face=Arial></font></strong></div> </td> <td height="136"> <div align="center"><strong><font face="Verdana, Arial" size=1>005<br> <a onClick="MM_openBrWindow('p_foto_pop_up.php?foto=005&cod_festa=1227','','scrollbars=yes,width=600,height=520')" href="http://www.olhaopassarinho.com/p_lista_fotos.php?cod_festa=1227&PHPSESSID=9fb7be0b6517b9cf2243ff44d7989bfb#005"><img src="<? echo "foto_p[$aux_pagina] ?>" border=1 width="120" height="90"> </a></font><font face=Arial></font></strong></div> </td> </tr> <tr> <td height="131"> <div align="center"><strong><font face="Verdana, Arial" size=1>005<br> <a onClick="MM_openBrWindow('p_foto_pop_up.php?foto=005&cod_festa=1227','','scrollbars=yes,width=600,height=520')" href="http://www.olhaopassarinho.com/p_lista_fotos.php?cod_festa=1227&PHPSESSID=9fb7be0b6517b9cf2243ff44d7989bfb#005"><img src="<? echo "foto_p[$aux_pagina] ?>" border=1 width="120" height="90"> </a></font></strong></div> </td> <td height="131"> <div align="center"><strong><font face="Verdana, Arial" size=1>005<br> <a onClick="MM_openBrWindow('p_foto_pop_up.php?foto=005&cod_festa=1227','','scrollbars=yes,width=600,height=520')" href="http://www.olhaopassarinho.com/p_lista_fotos.php?cod_festa=1227&PHPSESSID=9fb7be0b6517b9cf2243ff44d7989bfb#005"><img src="<? echo "foto_p[$aux_pagina] ?>" border=1 width="120" height="90"> </a></font><font face=Arial></font></strong></div> </td> <td height="131"> <div align="center"><strong><font face="Verdana, Arial" size=1>005<br> <a onClick="MM_openBrWindow('p_foto_pop_up.php?foto=005&cod_festa=1227','','scrollbars=yes,width=600,height=520')" href="http://www.olhaopassarinho.com/p_lista_fotos.php?cod_festa=1227&PHPSESSID=9fb7be0b6517b9cf2243ff44d7989bfb#005"><img src="<? echo "foto_p[$aux_pagina] ?>" border=1 width="120" height="90"> </a></font><font face=Arial></font></strong></div> </td> <td height="131"> <div align="center"><strong><font face="Verdana, Arial" size=1>005<br> <a onClick="MM_openBrWindow('p_foto_pop_up.php?foto=005&cod_festa=1227','','scrollbars=yes,width=600,height=520')" href="http://www.olhaopassarinho.com/p_lista_fotos.php?cod_festa=1227&PHPSESSID=9fb7be0b6517b9cf2243ff44d7989bfb#005"><img src="<? echo "foto_p[$aux_pagina] ?>" border=1 width="120" height="90"> </a></font><font face=Arial></font></strong></div> </td> </tr> <tr> <td> <div align="center"><strong><font face="Verdana, Arial" size=1>005<br> <a onClick="MM_openBrWindow('p_foto_pop_up.php?foto=005&cod_festa=1227','','scrollbars=yes,width=600,height=520')" href="http://www.olhaopassarinho.com/p_lista_fotos.php?cod_festa=1227&PHPSESSID=9fb7be0b6517b9cf2243ff44d7989bfb#005"><img src="<? echo "foto_p[$aux_pagina] ?>" border=1 width="120" height="90"> </a></font><font face=Arial></font></strong></div> </td> <td> <div align="center"><strong><font face="Verdana, Arial" size=1>005<br> <a onClick="MM_openBrWindow('p_foto_pop_up.php?foto=005&cod_festa=1227','','scrollbars=yes,width=600,height=520')" href="http://www.olhaopassarinho.com/p_lista_fotos.php?cod_festa=1227&PHPSESSID=9fb7be0b6517b9cf2243ff44d7989bfb#005"><img src="<? echo "foto_p[$aux_pagina] ?>" border=1 width="120" height="90"> </a></font><font face=Arial></font></strong></div> </td> <td> <div align="center"><strong><font face="Verdana, Arial" size=1>005<br> <a onClick="MM_openBrWindow('p_foto_pop_up.php?foto=005&cod_festa=1227','','scrollbars=yes,width=600,height=520')" href="http://www.olhaopassarinho.com/p_lista_fotos.php?cod_festa=1227&PHPSESSID=9fb7be0b6517b9cf2243ff44d7989bfb#005"><img src="<? echo "foto_p[$aux_pagina] ?>" border=1 width="120" height="90"> </a></font><font face=Arial></font></strong></div> </td> <td> <div align="center"><strong><font face="Verdana, Arial" size=1>005<br> <a onClick="MM_openBrWindow('p_foto_pop_up.php?foto=005&cod_festa=1227','','scrollbars=yes,width=600,height=520')" href="http://www.olhaopassarinho.com/p_lista_fotos.php?cod_festa=1227&PHPSESSID=9fb7be0b6517b9cf2243ff44d7989bfb#005"><img src="<? echo "foto_p[$aux_pagina] ?>" border=1 width="120" height="90"> </a></font><font face=Arial></font></strong></div> </td> </tr> <tr> <td> <div align="center"><strong><font face="Verdana, Arial" size=1>005<br> <a onClick="MM_openBrWindow('p_foto_pop_up.php?foto=005&cod_festa=1227','','scrollbars=yes,width=600,height=520')" href="http://www.olhaopassarinho.com/p_lista_fotos.php?cod_festa=1227&PHPSESSID=9fb7be0b6517b9cf2243ff44d7989bfb#005"><img src="<? echo "foto_p[$aux_pagina] ?>" border=1 width="120" height="90"> </a></font><font face=Arial></font></strong></div> </td> <td> <div align="center"><strong><font face="Verdana, Arial" size=1>005<br> <a onClick="MM_openBrWindow('p_foto_pop_up.php?foto=005&cod_festa=1227','','scrollbars=yes,width=600,height=520')" href="http://www.olhaopassarinho.com/p_lista_fotos.php?cod_festa=1227&PHPSESSID=9fb7be0b6517b9cf2243ff44d7989bfb#005"><img src="<? echo "foto_p[$aux_pagina] ?>" border=1 width="120" height="90"> </a></font><font face=Arial></font></strong></div> </td> <td> <div align="center"><strong><font face="Verdana, Arial" size=1>005<br> <a onClick="MM_openBrWindow('p_foto_pop_up.php?foto=005&cod_festa=1227','','scrollbars=yes,width=600,height=520')" href="http://www.olhaopassarinho.com/p_lista_fotos.php?cod_festa=1227&PHPSESSID=9fb7be0b6517b9cf2243ff44d7989bfb#005"><img src="<? echo "foto_p[$aux_pagina] ?>" border=1 width="120" height="90"> </a></font><font face=Arial></font></strong></div> </td> <td> <div align="center"><strong><font face="Verdana, Arial" size=1>005<br> <a onClick="MM_openBrWindow('p_foto_pop_up.php?foto=005&cod_festa=1227','','scrollbars=yes,width=600,height=520')" href="http://www.olhaopassarinho.com/p_lista_fotos.php?cod_festa=1227&PHPSESSID=9fb7be0b6517b9cf2243ff44d7989bfb#005"><img src="<? echo "foto_p[$aux_pagina] ?>" border=1 width="120" height="90"> </a></font><font face=Arial></font></strong></div> </td> </tr> <tr> <td> <div align="center"><strong><font face="Verdana, Arial" size=1>005<br> <a onClick="MM_openBrWindow('p_foto_pop_up.php?foto=005&cod_festa=1227','','scrollbars=yes,width=600,height=520')" href="http://www.olhaopassarinho.com/p_lista_fotos.php?cod_festa=1227&PHPSESSID=9fb7be0b6517b9cf2243ff44d7989bfb#005"><img src="<? echo "foto_p[$aux_pagina] ?>" border=1 width="120" height="90"> </a></font><font face=Arial></font></strong></div> </td> <td> <div align="center"><strong><font face="Verdana, Arial" size=1>005<br> <a onClick="MM_openBrWindow('p_foto_pop_up.php?foto=005&cod_festa=1227','','scrollbars=yes,width=600,height=520')" href="http://www.olhaopassarinho.com/p_lista_fotos.php?cod_festa=1227&PHPSESSID=9fb7be0b6517b9cf2243ff44d7989bfb#005"><img src="<? echo "foto_p[$aux_pagina] ?>" border=1 width="120" height="90"> </a></font><font face=Arial></font></strong></div> </td> <td> <div align="center"><strong><font face="Verdana, Arial" size=1>005<br> <a onClick="MM_openBrWindow('p_foto_pop_up.php?foto=005&cod_festa=1227','','scrollbars=yes,width=600,height=520')" href="http://www.olhaopassarinho.com/p_lista_fotos.php?cod_festa=1227&PHPSESSID=9fb7be0b6517b9cf2243ff44d7989bfb#005"><img src="<? echo "foto_p[$aux_pagina] ?>" border=1 width="120" height="90"> </a></font><font face=Arial></font></strong></div> </td> <td> <div align="center"><strong><font face="Verdana, Arial" size=1>005<br> <a onClick="MM_openBrWindow('p_foto_pop_up.php?foto=005&cod_festa=1227','','scrollbars=yes,width=600,height=520')" href="http://www.olhaopassarinho.com/p_lista_fotos.php?cod_festa=1227&PHPSESSID=9fb7be0b6517b9cf2243ff44d7989bfb#005"><img src="<? echo "foto_p[$aux_pagina] ?>" border=1 width="120" height="90"> </a></font><font face=Arial></font></strong></div> </td> </tr> </table> <table width="77%" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td> <div align="center"></div> </td> </tr> </table> <p> </p> </td> </tr> </table> Compartilhar este post Link para o post Compartilhar em outros sites