Jump to content

cmgmyr

Members
  • Posts

    1,278
  • Joined

  • Last visited

    Never

Everything posted by cmgmyr

  1. if you want to change all of the rows to the new_value...no, but if you just want to change a certain old_value...yes
  2. "UPDATE table SET column = new_value WHERE column = old_value" something like that?
  3. cmgmyr

    CSS Fill Div?

    Why don't you just use a script to re-size the image to a maximum of 300x300? that would solve your problem
  4. you could try isset() if(isset($req_user_info['Skype'])){ ... }
  5. pool boy
  6. Here is a good read: http://www.unixwiz.net/techtips/sql-injection.html
  7. mysql_query($sql);
  8. try: $output .= "<link>http://localhost/mrlumber/site_pages/index.php?do=viewtheproduct&pid=".$row[product_id]."</link>\n"; $output .= "<guid isPermaLink=\"false\">" . $row['product_id'] . "</guid>";
  9. why can't you just re-initiate it?
  10. Do something like this: <td valign=\"top\" width=\"10\"><input type=\"checkbox\" name=\"checkbox" .$id. "\" value=\"1\" /></td> then on your processor: $query = mysql_query("SELECT * FROM layout") or die(mysql_error()); while($row=mysql_fetch_object($query)) { $id=$row->id; if($_POST['checkbox'.$id] == 1){ //Delete $id from database } }
  11. This is a little easier: <?php $num = 120; if($num % 10 == 0){ echo "Do something"; }else{ echo "Don't do something"; } ?> ...then change $num between 121-129
  12. I use a DB class also. It's very handy and you can add a lot of stuff in for testing, it also cleans up your normal code a lot too.
  13. ...damn missed that anyways use something like: $id = $_GET['id']; $request = mysql_query(" SELECT rt.username, rt.Rating FROM dd_rating AS rt WHERE ItemID = $id") or die(mysql_error());
  14. That's awesome! Congratz! ...you should invite the board to the after party...that would be interesting
  15. cmgmyr

    Google help

    1. Research your topic in the website or page. 2. Get related keywords 3. Use strong meta data that reflects well on your content 4. Have good content, H tags 5. Links, links, and more links. The more links into your site the better. Put your URL everywhere you can.
  16. You don't need to know everything...just know where you can get the answer
  17. I prefer "geeky"... Geek refers more to techy stuff, and nerds refer more to books. (atleast IMO)
  18. how about: <?php require_once("conn.php"); require_once("templates/MainHeader.php"); $q1 = "select * from dd_rating where ItemID = '54' "; $r1 = mysql_query($q1) or die(mysql_error()); $numvote = mysql_num_rows($r1); //<~Semi colon missing echo "<b><center>See what Rating others gave for this joke </center></b><br><br>"; $i=0; while($i<$numvote){ $name=mysql_result($r1,$i,"username"); $rate=mysql_result($r1,$i,"Rating"); echo $name." had given a rating of ".$rate. " to this joke<br>"; $i++ } require_once("templates/MainFooter.php"); ?>
  19. try: echo $name." had given a rating of ".$rate." to this joke<br>";
  20. great little tutorial: http://www.phpfreaks.com/tutorials/114/0.php
  21. static - content/pages stay pretty much the same (brochure type) dynamic - content/pages are always changing (membership/e-commerce/products sites)
  22. I agree with everyone's comments so far. The "Web" business has a lot to do with experience and/or your portfolio. The more you have to look at the better off you are. The problem is getting started and getting people to believe in you when you are starting out. Once you get a few under your belt it will be like a snowball rolling down a hill. It took me about 5 years doing web stuff on the side until I was ready to go full time into it. But it has been great so far. It is very rewarding. I'm probably looking to do about $45k-50k this year. Not too bad Hope this helps you out a little.
  23. glad everything worked out! I get that stuff too. ...gotta love people!
  24. I know facebook has an API know. I would look into that. http://developers.facebook.com not sure if thats what you were already refering to. Hope that helps
  25. I haven't really been looking at the latest BB's in a while but it seems like it would be more beneficial to create your own. I'm pretty sure you aren't going to find anything that does what you want. If you make your own you will atleast know what you will be getting and how to use it. Plus everyone here is more then willing to help you. ...just a thought
×
×
  • 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.