Go Back   Novahq.net Forum > Computers > Web design and Programming
FAQ Community Calendar Today's Posts Search

Web design and Programming Discuss website creation and other programming topics.

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-11-2005, 01:53 AM
General Nuisance is offline General Nuisance
Registered User

Join Date: Oct 2004
Posts: 616

Send a message via ICQ to General Nuisance
yet another problem...

hey guys im beginning to think that this board was created just for me.. lol

just made this become affiliates script and its getting this error...

Parse error: parse error, unexpected $ in /var/www/localhost/htdocs/novazone/become_affiliates.php on line 61

i have looked over it and found a few minor issues but still didnt fix the error...

//I know there isnt any mysql_connect commands..//

PHP Code:
<?php

$self 
$_SERVER['PHP_SELF'];
$email $_POST['email'];
$wn $_POST['wn'];
$wurl $_POST['wurl'];
$wage $_POST['wage'];
?>
<html>
<body text="#FFFFFF" background="themes/default/back.gif" link="#FFFFFF" vlink="#FFFFFF" alink="#339933">

To become an Affiliate With The Nova-Zone we expect the following:
<BR>
<BR>
<li>That your site has been in operation for a least 30 days</li>
<li>Not A squad</li>
<li>Must Have a Paid Domain</li>
<BR>
<BR>
If your site contains ANY* of the following it will be removed ASAP.
<BR>
<BR>
<LI>ANY* FORM OF CHEATS THIS INCLUDES LINKS OR DOWNLOADS</li>
<li>ANY FORM OF PORNOGRAPHIC MATERIAL</li>
<li>Not active</li>
<BR>
<BR>
We also request that you add our link to your site.
<BR>
<BR>
If you feel that your site matches the above requirements then feel free to submit your request using the form below.
<BR>
<BR>
<form method="POST" action="<?php echo (' $self ');?>">
  Your Email Address: <input type="text" name="email" size="20"></p>
  <p>Your Websites Name: <input type="text" name="wn" size="20"></p>
  <p>Your Websites URL: <input type="text" name="wurl" size="20"></p>
  <p>How long your site has been around*THIS WILL BE CHECKED*:
  <input type="text" name="wage" size="20"></p>
  <p><input type="submit" value="Submit" name="submit"></p></form>
<?php
if( $email and $wn and $wurl and $wage )
{
//create the query//
$sql="insert into affiliates (email, wn, wurl, wage) values ( $email, '$wn', '$wurl', '$wage')";
//EXECUTE THE QUERY//
$rs $DB->Query$sql );
//confirm the added entry//
if($rs)
{
echo 
'Thank You For submiting Your Request we will be in contact with you.'
}
?>
* = BUT NOT LIMITED TO.
</body>
</html>
Thanks in advance..
__________________
The Nova-Zone


http://youraite.yourhost.yourusername.com - long urls
-looks bad
-who can remember it?
- Solution?
- Get a short Nova-Zone subdomain! Yoursite.nova-zone.com
- Now thats smart. just ask for one via pm,email or contact page on site.
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
little problem Mauser 98K Tech Support 5 04-15-2008 07:32 PM
a little problem ... VooDoo- Tech Support 2 03-09-2008 11:28 PM
i have a problem .enfo. Tech Support 9 05-24-2004 04:57 PM
PROBLEM !!! csman Delta Force 1 12-24-2003 08:31 AM


All times are GMT -5. The time now is 01:16 PM.




Powered by vBulletin®