Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Hosting Credits
NeXDesigns
post May 5 2005, 09:56 PM
Post #1


Super Member
*********

Group: Members
Posts: 260
Joined: 12-August 04
From: Hurricane Alley, Florida
Member No.: 770



why when my hosting credits fall to 0, it jumps to -4? is there something wrong or what is it?
Another thing is, can anyone give me an example script of how to make it pull tables from the database and then format it correctly for the site (like in the proper tables on the site, and have it repeat the tables for like a list of it?)

like say on www.good-tutorials.com something in that order, how would i do that?
Go to the top of the page
 
+Quote Post
whyme
post May 6 2005, 12:25 AM
Post #2


Privileged Member
*********

Group: Members
Posts: 661
Joined: 10-January 05
Member No.: 3,189



your hosting credits will continue to drop, as you use up 1 hosting credit per day, therefore, if you haven't posted in four days, then you'll have lost 4 more hosting credits, meaning you have -4. That's why it's highly suggested you have at least 10 days of hosting credits.

My MySQL knowledge is, in my humble opinion, rather slacky, but here's what you can do to display the data.

CODE

<?
$username="username";
$password="password";
$database="your_database";

mysql_connect(localhost,$username,$password);
@mysql_select_db($database) or die( "Unable to select database");
$query="SELECT * FROM contacts";
$result=mysql_query($query);

$num=mysql_numrows($result);

mysql_close();

echo "<b><center>This is the MySQL Data</center></b><br><br>";

$i=0;
while ($i < $num) {

$data1=mysql_result($result,$i,"dataone");
$data2=mysql_result($result,$i,"datatwo");

echo "$data1 <br> $data2 ";

$i++;
}

?>


Simple add more variables and more echo statements as you would like to display your data.

hope this helps,

whyme
Go to the top of the page
 
+Quote Post
NeXDesigns
post May 6 2005, 01:16 AM
Post #3


Super Member
*********

Group: Members
Posts: 260
Joined: 12-August 04
From: Hurricane Alley, Florida
Member No.: 770



the credits went from 0.31 to -4.97 in 12 hours. and ill try to work with the code to see how it will work, thanks
Go to the top of the page
 
+Quote Post
whyme
post May 6 2005, 01:48 AM
Post #4


Privileged Member
*********

Group: Members
Posts: 661
Joined: 10-January 05
Member No.: 3,189



in that case, a moderator may have deleted your post, and that would have resulted in the lost of your credits.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Asp.net Hosting On Linux Servers?(2)
  2. How Much For This Hosting Package?(8)
  3. The Matter Of Hosting Credits(51)
  4. Credit System V2.0 Online(27)
  5. The Best Free Web Hosting Ever(3)
  6. Please Clear My Hosting Related Doubts(8)
  7. Free Web Hosting Application [denied](1)
  8. Other Free Hosting Sites(44)
  9. Problem Concerning Credits Reduced(12)
  10. Default Hosting Package Plan Upgrade!(48)
  11. Problem With Hosting(4)
  12. 110mb Hosting(49)
  13. I Would Like To Tell You About Free Web Hosting Service I Use Now.(3)
  14. Zymic Hosting(16)
  15. Free Web Hosting Application [screened] [approved](3)
  1. Free Web Hosting Account Request [approved](1)
  2. Do You Use Imagefilez.com?(36)
  3. The System Doesn't Let Me Apply For Hosting Upgrade [resolved](4)
  4. **** Read Before You Post! ****(48)
  5. Linux Or Windows Hosting Os?(9)
  6. Free Web Hosting Application [denied](1)
  7. Free Web Hosting: (bk2070) [screened] [approved](2)
  8. Free Web Hosting Application (reapply) [screened] [approved](2)
  9. Editing Posts Alters Credits?(24)
  10. Read This Before Applying For Hosting!(58)
  11. Best Free Host(11)
  12. Free Web Hosting Request [denied](1)
  13. Hosting Credits Problem? [resolved](9)
  14. Free Hosting Application Help(1)
  15. Referral Credits?(5)


 



- Lo-Fi Version Time is now: 12th October 2008 - 05:16 PM