User submit forms
Moderator: General Moderators
User submit forms
Just wondering is it PHP that allows users to a site to add news to a page via a form, or is that asp?
If it is PHP how do i go about is there any tutorials i canm download on it?
Hope you can help me out.
Thanks.
If it is PHP how do i go about is there any tutorials i canm download on it?
Hope you can help me out.
Thanks.
- mydimension
- Moderator
- Posts: 531
- Joined: Tue Apr 23, 2002 6:00 pm
- Location: Lowell, MA USA
- Contact:
- AVATAr
- Forum Regular
- Posts: 524
- Joined: Tue Jul 16, 2002 4:19 pm
- Location: Uruguay -- Montevideo
- Contact:
start
Start in php.net
then search in google...
http://www.evilwalrus.com/
http://www.phpcomplete.com/
...
then search in google...
http://www.evilwalrus.com/
http://www.phpcomplete.com/
...
For scripts you can look under News Publishing and the same thing under tips and tutorials.
http://www.hotscripts.com/PHP/Tips_and_ ... ublishing/
http://www.hotscripts.com/PHP/Scripts_a ... ublishing/
If that does not do it for you send me a message or email me and I can give you a few examples that I use.
http://www.hotscripts.com/PHP/Tips_and_ ... ublishing/
http://www.hotscripts.com/PHP/Scripts_a ... ublishing/
If that does not do it for you send me a message or email me and I can give you a few examples that I use.
Basically i have a sit up and i was trying to merge the news page so it will show up on my index page but im not surehow to do that. IE if you have an index page i want my news script to be in the middle of it with all my nav bars and images nthere but it wontupdate when i do this i may be something wrong. Any ideas ?
Okay if you are like me you have your page set up with tables.
For a brief example I would have something like this.
So basically I am inputing that newspage into the one <td> </td>.
For a brief example I would have something like this.
Code: Select all
<?php
session_start();
include ("config.php");
?>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="150" valign="top"><table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>Menu</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td>Another menu</td>
</tr>
</table></td>
<td width="80%" valign="top"><table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>Your normal content</td>
</tr>
<tr>
<td><? include ("mynews.php"); ?></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>