Dynadot .com transfer sale, only $10.12 with coupon code DYNA12, available while supplies last, ends October 31, 2026.

Revenue Sharing Hack Correct?

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Watch

Boardhost

Established Member
Impact
0
Well instead of getting noe like NP i made one for a friend. Only problem is I don't think i can test it so i am going to ask here if it will work.

Basically i have a custom profile field they put their google ad in. then the google script looks like this:

Code:
<?php require_once('Connections/google.php'); ?>
<script type="text/javascript"><!--
google_ad_client = "pub-<?php
$query= "SELECT * FROM 'userfields' COL 'field5' ORDER BY RAND() LIMIT 1";
?>";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_channel ="";
google_color_border = "03225A";
google_color_bg = "03225A";
google_color_link = "FFFF00";
google_color_url = "FFCC00";
google_color_text = "FFFFFF";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

The db connection works fine. Just hinking, will this take a random row from the database? it works at the moment but only one google ad is in the fields

Danny
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
your setting the query variable but your not loading the data from the db by the looks of it.
 
0
•••
ok thanks for that

Danny
 
0
•••
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
Escrowly
CryptoExchange.com
Domain Recover

NamePros updates

New in Parking: updated way to act on many domains or inquiries at once
Your domain list and inquiry list now have a bar above and below the list. Check the items you want, then choose an action in the bar...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back