Forum Moderators: coopster

Message Too Old, No Replies

Post Script

post doesnt work here im noob explain i will remember then

         

Twisted Mind

5:24 pm on Nov 4, 2005 (gmt 0)

10+ Year Member



Hey dudes im in a hurry wont be here can u tell me whats wrong here im only testing something please tell me answer then i know how the post script works too here is scripts:

<html>

<table>
<form method ="post" action="updatepage.php";>
<tr>
<td>
Page Title:
</td>
<td>
<input type="text" size="20" value="" name="title">
</td>
</tr>
<tr>
<td>
Link title:
</td>
<td>
<input type="text" size="20" value="" name="link">
</td>
</tr>
<tr>
<td>
Page Content:
</td>
<td>
<textarea value="content" name="content" cols="50" rows="10"></textarea>
</td>
</tr>
<tr><input type="submit" action="post" class="submit"></tr>
</form>
</table>
</html>

updatepage:

<html>
<? include "dbconn.php";
echo $POST_['title'];?>
</html>

thanks anyway i hope u answer this will be back at this form over i think 17 hours bye love u

jatar_k

5:33 pm on Nov 4, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



underscore issue

echo $POST_['title'];

should be

echo $_POST['title'];

AjiNIMC

6:10 pm on Nov 4, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Sometimes these kind of errors are annoying, use a debugger.

Twisted Mind

2:18 pm on Nov 5, 2005 (gmt 0)

10+ Year Member



Thanks dudes