Jump to content

Todd88

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Todd88's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Gah...jeez sorry about this guys. I fixed it. Thanks again.
  2. Alright so I have a website which I modified only a tiny bit and am getting an error. Here are the error messages: Warning: Cannot modify header information - headers already sent by (output started at /home/unt1lid1/public_html/theonedollartree/program.php:259) in /home/unt1lid1/public_html/theonedollartree/program.php on line 156 Warning: Cannot modify header information - headers already sent by (output started at /home/unt1lid1/public_html/theonedollartree/program.php:259) in /home/unt1lid1/public_html/theonedollartree/program.php on line 157 Warning: Cannot modify header information - headers already sent by (output started at /home/unt1lid1/public_html/theonedollartree/program.php:259) in /home/unt1lid1/public_html/theonedollartree/program.php on line 158 Warning: Cannot modify header information - headers already sent by (output started at /home/unt1lid1/public_html/theonedollartree/program.php:259) in /home/unt1lid1/public_html/theonedollartree/program.php on line 159 Warning: Cannot modify header information - headers already sent by (output started at /home/unt1lid1/public_html/theonedollartree/program.php:259) in /home/unt1lid1/public_html/theonedollartree/program.php on line 160 I looked in program.php and found that at every one of these lines is a place where my website places a cookie of some sort. When I comment these lines out it works but I do not want to do that because then there are no cookies set. Any help would be greatly appreciated!
  3. I used a similiar method for a different section of the site but it doesn't work for this one. Here is the code for the other section: $sql=$Db1->query("SELECT clicked_today, SUM(clicked_today) FROM user GROUP BY permission"); $clickstoday=$Db1->fetch_array($sql); It works this way
  4. Fatal error: Call to a member function on a non-object in /mysite/proof.php on line 14 I am using a mysql database to get the values for proof on my payment site. I guess I have something wrong in the code and it would be great if someone could just point it out to me. Here is the file: <? $includes[title]="Proof Of Payments"; ?> <table class="tableStyle" style="width:100%"> <tr> <th>Id</th> <th>Username</th> <th>Method</th> <th>Amount</th> <th>Date</th> </tr> <? $sql=$Db1->query("SELECT * FROM payment_history ORDER BY dsub DESC"); while($row=$Db1->fetch_array($sql)) { echo "<tr> <td>".$row['id']."</td> <td>".$row['username']."</td> <td>".$row['accounttype']."</td> <td>".$row['amount']."</td> <td>".date("M.D.Y",mktime(0,0,$row['dsub'],1,1,1970))."</td> </tr>"; } ?> </table> Any help is appreciated! Thanks!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.