que cualquier persona pueda poster
solo que pida
nombre
titulo
post
y ya enviar a mipagina...
gracias le agradeceria mucho su ayuda...





| |||
Ayuda Poster en web hola finjense que estoy haciendo una web...pero ya me canse de estar actulizando....para agregar programas.... y juegos....por eso queria ver si me ayudan a canseguir el codigo php....para postear... que cualquier persona pueda poster solo que pida nombre titulo post y ya enviar a mipagina... gracias le agradeceria mucho su ayuda... ![]() ![]() ![]() ![]() ![]() |
| ||||
Re: Ayuda Poster en web Hola, Te prepare este codigo ( tiene asata paginacion ): form.html Código HTML: <form action="post_new.php" method="post" name="form1"> <strong>Nombre:<br> <input name="nombre" type="text" id="nombre"> <br> Titulo:<br> <input name="titulo" type="text" id="titulo"> <br> Post:<br> <textarea name="post" id="post"></textarea> </strong> <br> <label> <input id="enviar" type="submit" name="enviar" value="Enviar"> </label> <label> <input type="reset" name="Submit2" value="<<Borrar>>"> </label> </form> Código PHP: Código PHP: despues tienes que crear un arvhivo txt llamado "contador" y ponele un 0. Y listo, el codigo anda de 10 Suerte Salu2 ![]()
__________________ Half Music - www.halfmusic.com |
| ||||
Re: Ayuda Poster en web Se me ocurio que queres dibidir en categorias, y ise este otro codigo: form.html Código HTML: <form action="post_new.php" method="post" name="form1"> <strong>Nombre:<br> <input name="nombre" type="text" id="nombre"> <br> Titulo:<br> <input name="titulo" type="text" id="titulo"> <br> Post:<br> <textarea name="post" id="post"></textarea> </strong> <br> <strong>Categoria:</strong><br> <select name="cat" size="1" id="cat" onChange="MM_jumpMenu('parent',this,0)"> <option selected>Juegos</option> <option>Programas</option> </select> <br> <label> <input id="enviar" type="submit" name="enviar" value="Enviar"> </label> <label> <input type="reset" name="Submit2" value="<<Borrar>>"> </label> </form> Código PHP: Código PHP: Para agregar una nueva categoria tienes que aserlo en el form.html y poner en la lista esto: <option>Categoria</option> Para ir a cada categoria tenes que ir asi: ver.php?action=categoria ejemplo: ver.php?action=juegos Suerte Salu2 ![]()
__________________ Half Music - www.halfmusic.com Última edición por pato12; 09/03/2008 a las 13:36 |