Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Geeks

Privileged
  • Joined

  • Last visited

Everything posted by Geeks

  1. I would agree with adamsmith, try learnin java, it is extremely powerful and cross-platform
  2. Geeks replied to tlmsolutions's topic in Server Side
    Good stuff, keep us posted
  3. Geeks replied to tlmsolutions's topic in Server Side
    All good this side, sunny and hot Inkscape is a vector program, open source and free. it is not perfect but does the job. personally I use Corel Graphics suite X5 (been using it since version 3) also for layout etc. try Komposer it is pretty good. and for coding try PSPad, highlighted sintax etc. and when developing, use firefox until you are happy then test Internet Explorer.
  4. Thanks, was going for a facebook/twitter approach with a signup form on the homepage ? Anyone else think it should go ?
  5. Thanks for everyone's input, I have applied some changes, hows it looking ?
  6. much better thanks, went with one of those and it worked well, I think
  7. Hi, I am by noooo means a designer, I am however an end-user, also a developer. but anyways. I this that any site that is not centered is on the wrong path, start by centering you site then get back to us
  8. Hi All, I have had this site up for review here before, and got alot of good feedback. I applied much of the advice and would like to know if anyone has any new suggestions ? Thanks in advance http://www.betright.co.za/
  9. forgive my ignorance, but doesn't PDO cover most of this already ?
  10. try changing strict to transitional on this page as on the previous code you sent
  11. got me, without being able to get to the page etc. it would be difficult to troubleshoot, what version of IE ?
  12. chance this to <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> might help
  13. where is the page ?
  14. mistake would be harsh, but try to make use of jQuery, it is cross-browser compatible
  15. Shouldn't need to be removed, IE is a web-devs worst nightmare ! are you using jquery ?
  16. it is the beast that is IE it is a javascript error most likely, are you using AJAX ?
  17. Haha my bad. did a quick replace text before i posted.
  18. try if($result){ // handle result here }else{ // handle no result here }
  19. my little codes class : class codes { public function __cryptMe($string) { $Crypt = hash('sha512',($string)); // first sash the string $Crypt = str_ireplace(array("F","X","N","O","V","V"),"",$Crypt); // random characters are removed, change this $Crypt = hash('sha512',($Crypt)); // hash again return md5($Crypt); // return unique code } public function GeneratePassword($username,$password) { $password = $this->__cryptMe($password.$username); return $this->__cryptMe(md5($password)."fsadfdawe32432fasfsa".md5("$username")); } }
  20. Geeks replied to tlmsolutions's topic in Server Side
    Try inkscape
  21. my 2 cents : <?php // use full opening statement, some servers have issues otherwise and it is only 3 letters // lets do a bit of input checking if( isset($_GET['id']) // is the id actually set ? and // we use and, because all of these critia must be met is_numeric($_GET['id']) // is the id actually a number and // we use and, because all of these critia must be met strlen($_GET['id']) <= 7 // allow for up to 9999999 games not crucial but still nice to limit as much as possible ) { // open if statement // this file is crucial so we use require require_once 'dbsettings.php'; // assume dbsettings.php has an array (named $sqlconf) with database settings in it $gameID = preg_replace('/[^\d]/','',$_GET['id']); // remove anything that is not a digit ; being pedantic but over caution is good $pdo = new PDO('mysql:host='.$sqlconf["host"].';dbname='.$sqlconf['dbase'],$sqlconf["login"],$sqlconf["pass"]); // new pdo instance $stmt = $pdo->prepare("SELECT * FROM `game` WHERE `game_ID` = ? "); // the ? is a place holder for the variable to be passed through $stmt->execute(array($gameID)); // pass the ID to the prepared statement, it replaces the ? $gameSet = $stmt->fetchAll(PDO::FETCH_ASSOC); // fetch an array with the Game's details if(count($gameSet) > 0) { // if there was a result echo '<table border="1"><tr><th>Game Name</th><th>Platforms</th><th>Description</th></tr>'; // single quotes proccess faster foreach($gameSet as $gameRow) { echo '<tr> <td>',$gameRow['gameName'],'</td> <td>'.$gameRow['platform'],'</td> <td>',$gameRow['description'],'</td> </tr>'; // using muliple echo's is slower } echo '</table>'; } else {//if there was no result echo 'No Game with this ID found.'; } }// close If Statement else{ // handle bad inputs echo 'Input Error !'; } include 'close.php'; ?>
  22. Geeks replied to tlmsolutions's topic in Server Side
    I would do this : make it a general thing, before each match check that both teams have 16 players, if not assign a random player who is not in there team. players in team each have an id so lets say // array of team's player's IDs $teamOneIDs = array(1454,1232,1111,1456,345,567,876,987,143,654,7643,1234,4646,6542,414); // note only 15 players $teamTwoIDs = array(11454,11232,11111,14156,1345,1567,1876,1987,1143,1654,17643,11234,14646,16542,1414); // note only 15 players a side note, consider that team 1 and team 2 can't have the same players (I would think) or would certain players be available to certain teams ? now we assign a random player to team 1 if(count($teamOneIDs) < 16){ // create the WHERE clause from the array $where = 'WHERE '; foreach($teamOneIDs as $pID){ $where .= ($where != 'WHERE ' ? 'AND ': '').'`id` != '.$pID.' '; } foreach($teamTwoIDs as $pID){ $where .= ($where != 'WHERE ' ? 'AND ': '').'`id` != '.$pID.' '; } // get all players from database that are not assigned to either team as an array // the SQL would be something like : $sql = 'SELECT `id` from `PLAYERS` '.$where.' LIMIT 1'; // execute the SQL using whatever method you perfer, I use PDO, the where would be slightly different // this returns a random id now we assign that id to team 1 $teamOneIDs[] = $returnedID; } // now repeat for team two again it goes back to my earlier sentiment, figure out the logic then the code is easy
  23. Geeks replied to tlmsolutions's topic in Server Side
    I would make a retirement age (the player retires at the end of the season) at which point that player is no longer selectable. it is up to managers to manually replace him, else the "manager" side of the game kinda gets lost.
  24. Geeks replied to tlmsolutions's topic in Server Side
    I got busy during my reply yesterday, so here is the rest of what I wanted to say you are going about this the right way and don't give up, feel free to PM me anytime
  25. Geeks replied to tlmsolutions's topic in Server Side
    HTML - Know this CSS - Know this JQuery = Javascript (Jquery is a Javascript framework) SQL/MySQL <- whats the difference (sorry) - SQL is Structured Query Language it is the language used to query and manipulate your database, mySQL is a type of database PHP - server side coding (your backend essentially) ASP - server side coding (your backend essentially) alternative to PHP AJAX - is more of a concept that a language, it is (in this case) javascript combined with PHP

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.