ok i made a script to add names and ids to a file i made called ( insert.php ) this insert file is aposed to add the info from col1 and col2 from the script below to the file called ( insert.php ) col1 would display the users name and col2 would display the users ( link ) to add them as a friend. now the file ( results.php ) is aposed to pull that info from the ( insert.php ) file and display it for every one to see by clicking on display all add me links. here is the script
........................................................................
<p><a target="_blank" href="find_id.jpg"><img border="0" alt="" width="794" height="70" src="find_id.jpg" /></a></p>
<form method="post" action="insert.php" target="_blank">
<div align="left">
<p><span class="style16"><span class="style17">.............</span>K.R CHAT NAME</span><strong>:</strong> <input size="50" name="col1" type="text" /> <br />
<span class="style16"><span class="style17">.............</span>Friend ID</span>:.............. <input size="90" name="col2" value="http://friends.myspace.com/index.cfm?fuseaction=invite.addfriend_verify&friendID=" type="text" /> <br />
.............................................................................. <input type="submit" value="Add My Account" /></p>
</p>
<!-- start section M generation --><!-- end section M generation -->
<p>
<tr>
</tr>
</p>
<table border="1" cellspac
PHP Code:
ing="0" cellpadding="0" width="800" bgcolor="#000000" align="center">
<tbody>
<tr>
<td valign="bottom">
<p> </p>
<form method="get" action="results.php" target="_blank">
<div align="left">
<p align="center"><input type="submit" value="Display All Add Me Links" /></p>
........................................................................
ok now i thought this might be the code i would use to popst and view the the info from those to collums but i keep gettin this error
........................................................................
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1024 bytes) in /www/110mb.com/k/i/l/l/e/r/c/r/killercrew/htdocs/insert.php on line 5
........................................................................
and this is the code i used to get that error
.......................................................................................................................
<?php include("insert.php");
include("results.php");
?>
<?php echo $_POST["col1"]; ?>
<?php echo $_POST["col2"]; ?>
<?php echo $_REQUEST["col1"]; ?>
<?php echo $_REQUEST["col2"]; ?>
Code:
this is a wrap
if anyone can tell me where i messed up and help me solve this i would be very greatful this is something i really need for my site