Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~936 People Reached
Favorite Tags
Member Avatar for toasty525

Hi, I want to populate 2 javascript variables with data from 2 form text boxes, the javascript and form text bosex are on the same page using the following code: Form: [CODE] <form name="addSite" method="post" action=""> <label>URL: <input name="url" type="text" id="url" value="<? echo $site; ?>"> </label> <p>Title: <input type="text" name="title"> …

Member Avatar for Taywin
0
118
Member Avatar for toasty525

Hi, I have the following .htaccess file in the directory <domain>/ss/c/ [CODE] RewriteEngine On Options +FollowSymLinks RewriteBase /ss/c/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /ss/c/index.php [L] RewriteCond %{HTTP_HOST} !^www\.sexspinner\.com [NC] RewriteRule ^(.*)$ http://www.sexspinner.com/ss/c/$1 [R=301,L] [/CODE] and a index.php file with the following PHP [CODE] <?PHP $cat = $_SERVER['REQUEST_URI']; …

0
79
Member Avatar for toasty525

Hi, could someone please point me in the right direction for creating an AJAX page that displays "live" data from a mysql database ? I need the page to update its self every time data changes in a mysql table. Thanks, Mark H.

Member Avatar for ndeniche
0
159
Member Avatar for toasty525

Hi, can anyone tell me why the below PHP code keeps returning mysql_num_rows(): supplied argument is not a valid MySQL result resource ?? [code=php] $result = mysql_query("SELECT * FROM RewardGenUser WHERE UserID = 123"); $num = mysql_num_rows($result); [/code]

Member Avatar for rajarajan2017
0
81
Member Avatar for toasty525

Hi, i have a php script on server1 that sends var1 in a url to server2 like [url]http://server2/script.php?var1=test[/url] server2 then posts back to server1 with the url [url]http://server1/callback.php?var1=test&var2=somedata[/url] i then want callback.php to redirect to [url]http://server3/someScript.php?var1=test&var2=somedata[/url] but callback.php dosnt seem to be redirecting to server3 ? If i type the …

Member Avatar for saiprem
0
60
Member Avatar for toasty525

I have a mysql table with the following data in it: user_id score 1234 28 4654 -15 5986 15 3657 10 If i have PHP select the score column for user 5986 how could i then have PHP calculate the next highest score in the MySQL table ?

Member Avatar for pritaeas
0
141
Member Avatar for toasty525

Hi, i have the following snippet of php that i wrote but cant figure out why it wont work all the variables have been set before hand. Heres the PHP: [code=php]echo "<table border='1'> <tr>"; if ($win_score > $lose_score) { echo " <th>Winner</th> <th>Loser</th> <th>Win Score</th> <th>Lose Score</th> </tr>"; while($row = …

Member Avatar for network18
0
90
Member Avatar for toasty525

Hi can anyone help me with this ? Im trying to create a page that lets a user click a link and once that link has been clicked the page no longer displays that link for that user, i have all the databases set up to record clicks but i …

Member Avatar for digital-ether
0
208