Forum Moderators: coopster

Message Too Old, No Replies

Hello all

         

codyturk

11:18 pm on Mar 20, 2006 (gmt 0)

10+ Year Member



Just wanted to say hey and that I will probably be here "ALOT" since I'm now starting to learn php and mysql.

Ok here is my problem.

The site I am working on is <snipped>

When I paste the css code in the "code submit" fields and submit it works fine. The problem that I am having is when I goto search and click submit. The css actually changes my page.

What I want it to do is when I paste the css code and click submit. I want it to carry over and paste the code in the search box, instead of actaully change the page. :)

Here is the code on my search.php page
--------------------------------------
while($row = mysql_fetch_array($doSearch))
{
echo("name: $row[name]<br>
band: $row[band]<br>
genre: $row[genre]<br>
code: $row[code]<br><br/>
<textarea name='code' class='form_field' id='code'>$row[css]</textarea>");

}
?>
---------------------------------------

Any help would be greatly appreciated. :)
Once again I look forward to meeting everyone.

Cody Turk

[edited by: coopster at 11:20 pm (utc) on Mar. 20, 2006]
[edit reason] removed url per TOS [webmasterworld.com] [/edit]

coopster

12:14 am on Mar 21, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, codyturk.

What do you mean the CSS actually changes your page?

codyturk

11:40 am on Mar 21, 2006 (gmt 0)

10+ Year Member



Hey thank you for the reply. I figured it out with the help of a friend. :)