Jump to content

burnside

Members
  • Posts

    541
  • Joined

  • Last visited

Everything posted by burnside

  1. $ch .= "Checked: ."$value".\n"; if not ill look at rest of code
  2. code maybe??? in [ code ][ /code ] tags please.
  3. Haha you'r not wrong. 1st site: Why linux is better that windows. 2nd site: how to bake a cake in 6 east steps - i keep that 1 for later so if any 1 wants some cake lol.
  4. Im bored at work. Any one know any good site, To amuse me? Bare in mind the IT department have most good sites blocked even google LMFAO.
  5. I WOULD DO SOME THING LIKE THIS: <?php $conn = mysql_connect("localhost", "mysql_user", "mysql_password"); if (!$conn) { echo "Unable to connect to DB: " . mysql_error(); exit; } if (!mysql_select_db("mydbname")) { echo "Unable to select mydbname: " . mysql_error(); exit; } $sql = "SELECT id as userid, fullname, userstatus FROM sometable WHERE userstatus = 1"; $result = mysql_query($sql); if (!$result) { echo "Could not successfully run query ($sql) from DB: " . mysql_error(); exit; } if (mysql_num_rows($result) == 0) { // NOTHING TO DELETE exit; } while ($row = mysql_fetch_assoc($result)) { // DELETE } mysql_free_result($result); ?> Took of the php.net manual : http://uk.php.net/manual/en/function.mysql-fetch-assoc.php was to lazy to type it out.
  6. so it must mean there is no information in the data base maybe?
  7. i like cookies & also i like cake. but about your question, is he not refering to your browser font and size? correct me if i am wrong though. edit: looking at the script it seems as though you can define your own font and size from this array: $type = array("arial", "helvetica", "sans-serif", "courier"); $size = array("1","2","3","4","5","6","7");
  8. asuming your blocking ips and not your own?
  9. Try: mysql_connect("mysql3.000webhost.com", "a5200862_tine", "youknowwho") or die(mysql_error()); mysql_select_db("a5200862_shop") or die(mysql_error());
  10. I can't see any link's <a href="myscript.php?action=edit">EDIT</a> <?php if($_GET['action'] == "edit" ) { // edit stuff here } ?> i could be wrong though.
  11. 1024 x 768, I think its a work computer and they have disabled the controle panel etc .. .. so i am not a 100% sure.
  12. http://www.phpfreaks.com/forums/index.php/topic,220217.15.html the last post the dudes name is starting to go in th the topic title.
  13. Yeah but what if i only want to select 4 out of the 15 records like ONLY posts with the id value of 1,5,7 & 10? just to show then 4 posts
  14. Hiya MYSQL freaks. im just curious is it possible to select only selected records from a database. IE: $select = mysql_query("SELECT * FROM `news` WHERE 'id'='1'")or die(mysql_error()); while($woot= mysql_fetch_array( $select )) { All i want to know is in the db table nes there is 15 records, is there away to select by id like. if i only want posts with id 1,4,5 & 9? rather that having several db query
  15. ooooooo i like the green highlight on the topic solved
  16. I have no idea how i did my above ^^ post it was a mistake sorry
  17. its the new logo on the items tho isnt it?
  18. OOOOOOOO i didnt know you could get PHP FREAKS stuff http://shop.cafepress.com/design/2606479 EDIT: Yeah sorry also just found this topic http://www.phpfreaks.com/forums/index.php?topic=116955.0 sorry my bad
  19. www.phpfreaks.com ?? isnt that a famous site, i have read a few books with a links relating to it, and im sue its writen in php
  20. Try using a true image path, <img src="Http://www.mysite.com/images/myimage.png" /> sum it like that ? ???
  21. make your own? <select name="state" /> <option value=? />Blah</option> </select /> some thing like that?
  22. maybe try the freelance forum, or: www.google.com or even www.superfreecoolscripts.com
×
×
  • 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.