Jump to content

ohdang888

Members
  • Posts

    1,285
  • Joined

  • Last visited

    Never

Everything posted by ohdang888

  1. to explain was jade was saying... Normally, with ad sense, Google will be a certain percentage, and the owner of the site will get a percentage. but if google owns the site, ( and another reason why their search engine continues to bring in huge profits)than google get 100% of the money poeple paid for that ad....
  2. i second jade's comments.
  3. what are you uploading.... text files or other?
  4. do you know CSS,.... because then you could postion the information about the graphic... and then you could jsut put <?<?php echo $username ?> <?php echo $date_joined ?> etc.
  5. How do i compare dates... for example... This is what i want to do $last = $row['time']; mysql_select_db("comments") or die(mysql_error()); //this query is comparing dates.... $result = mysql_query("SELECT COUNT(id) FROM `game_comments` WHERE `com_date` IS AFTER '{$last}' ")or die(mysql_error()); $row = mysql_fetch_array($result); $count = $row['COUNT(id)']; Thanks
  6. I'm just wondering if there is much of a difference between COUNT in mysql and Mysql_num_row.... I heard the num_row is becoming outdated and is leff efficient... is that true? Thanks
  7. look... You have 4 " double quotes.... you can't do that... Your quote in the middle of the statement must be different that the ones that are defining the "borders" of the statement. $content = "<p>Hello<?php echo "John" ?></p>";
  8. oh. hahahaah. I got that in an email a few weeks over and just scanned over it But still. youtube is extraordinarily expense to maintain. And streanme.tv is playing off the hosting sites, which isn't a bad thing, i'm just saying.
  9. Ya, youtube is actually losing money. They are actually LOSING $500,000 a month. check it out here: http://www.bivingsreport.com/2006/youtube-show-me-the-money/ But your's is a little different. Youtube actually hosts the video and stores it, which requires HUGE HUGE HUGE amounts of bandwidth and severs. It costs a s*** load to maintain them. But you're site isn't actually hosting the video, which is saving you a good amount of bandwidth. But users are often show other videos on that hosting site, thats the problem.
  10. i know mysql, not ms. most people in this forum are mysql
  11. and just curcious... Why would you want to give the, preset usernames?
  12. well they all start with first 2 numbers as 24. try this.... $data = $ip address of the person; if (preg_match('/(\d+)./', $data, $first_two_numbers)) { echo "The first to numbers are ".$first_two_numbers[1]; }else{ echo "no working"; }
  13. oh ok. Sorry.
  14. Does anyone know how to mute the page??? And i'm not talking about turn off the speakers... I'm talking about a button they can press that suppresses all audio from that page.
  15. I'm talking about once you get on the video page. And there is a box below the video giving a description... The box.... its like part of one of those 1990's websites. Its just kinda dull... Isn't there like a overhead icon you could put there or something?
  16. Then my code works fine. just adapt the ['column'] to whatever needed. <?php //contect to db mysql_select_db("picture") or die(mysql_error());//select db $result = mysql_query("SELECT * FROM table LIMIT 6")or die(mysql_error()); $x = 0; echo '<table><tr>';// the picture table while($row = mysql_fetch_assoc($result)){ if ($x % 3 == 0) {// THIS IS WHAT YOU WANT. DON'T CHANGE THIS echo '</tr><tr>'; } $x++; echo '<td>'; echo '<a href="game.php?title=';// start of picture echo $row['title'].'">'; echo '<IMG SRC="picture/'; echo $row['game_picture_url']; echo '"'.' WIDTH="90"'.' HEIGHT="90">'.'</a>'.'<br>';//end of poicture echo '<a href ="page.php?car=';//start of link code echo $row['car']; echo '">'; echo $row['title']; echo '</a></br>;// end of link code echo '</td>'; } ?> </tr> </table><!-- End picture table -->
  17. nooo. i mean in the database table.
  18. well then completely drop it.... is each picture info in a seperate row, or all in the same row? We can solve this a lot faster.... do you have AIM mine is: ohdang10
  19. are you using firefox? mozilla browsers don't use the classid or codebase. it messes them up.
  20. wow i have no idea what that is even saying.... Are you using a database?, a db is by far the easiest way
  21. well then you have to post your current code. now. Because its in the wee hours of the night where i am, and i'm going to bed in a few minutes.
  22. my example earlier should have worked just fine... <table class="new_games"><!-- the Hold Table--> <tr><td> <?php mysql_select_db("picture") or die(mysql_error()); $result = mysql_query("SELECT * FROM table ORDER BY date_added DESC LIMIT 6")or die(mysql_error()); $x = 0; echo '<table><tr>';// the picture table while($row2 = mysql_fetch_assoc($result)){ if ($x % 3 == 0) { echo '</tr><tr>'; } $x++; echo '<td>'; echo '<a href="game.php?title=';// start of picture echo $row2['title'].'">'; echo '<IMG SRC="picture/'; echo $row2['game_picture_url']; echo '"'.' WIDTH="90"'.' HEIGHT="90">'.'</a>'.'<br>';//end of poicture echo '<a href ="page.php?car=';//start of link code echo $row2['car']; echo '">'; echo $row2['title']; echo '</a></br>;// end of link code echo '</td>'; } ?> </tr> </table><!-- End icture table --> </td></tr> </table><!-- End hold table -->
  23. I know there is a way to see what browser program they are using. And if they are using firefox, is there anyway to detect certain add-ons or toolbars that firefox has??????? Such as the weatherbug thing, or ad-block plus, or anything else..... Thanks!
  24. i <3 you. thanks dude! i've been stuck on that for hours!
  25. i made my contact script to upload it to a db, then it alerts my on my browser when someone has contacted me, and i creates a page that displays all of it... i just find that way a lot easier.
×
×
  • 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.