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.

smithmr8

Privileged
  • Joined

  • Last visited

Everything posted by smithmr8

  1. You could actually simplify what I've done even more.. but I'm way too tired to do it. Should help you out with the right idea.
  2. Something like this should work better. Might have to tinker with a few bits to get it to work.. //This should be changed to work out the number of links $num_links = 3; # Get users links for ($i = 0, $i < $num_links, $i++){ $links[$i] = $row['link'.$i] } # Types of links $findfacebook = 'facebook'; $findtwitter = 'twitter'; $findyoutube = 'youtube'; #Work out type of link for ($i = 0, $i < $num_links, $i++){ $facebook[$i] = stripos($links[$i], $findfacebook); $twitter[$i] = stripos($links[$i], $findtwitter); $youtube[$i] = stripos($links[$i], $findyoutube); } #Select the link image for ($i = 0, $i < $num_links, $i++){ echo '<a href="'.$links[$i].'" >'; if ($facebook[$i] !== false){ echo '<img src="images/facebook.png"/>'; } elseif ($twitter[$i] !== false) { echo '<img src="images/twitter.png" />'; } elseif ($youtube[$i] !== false){ echo '<img src="images/youtube.png" />'; } else { echo '<img src="images/website.png" />'; } echo '</a>'; }
  3. Fact, most things have already been done. The point is doing something, but doing it better. Yeah, dafont is the absolute **** for font finding. But alot of the fonts on there are pure crap. A site which takes the best the free font world has to offer and showcasing it is not a bad idea. Look at the internet, everything's been done. It's just re-invention / re-imagination of the same things.. over and over.
  4. To be honest, I think calling it fontacity (as in audacity) would sound / look better. ;-). Much more of a ring to it
  5. I like them, but would never waste my money on one. They're more of a gimmick than a realistic product. Not as useful as a laptop, but twice as much. Hmm.. Then again, if I were rich.. would get one and mount it in the bathroom so you could watch TV whilst on the loo. .
  6. smithmr8 replied to cavking's topic in Server Side
    Correction, it stands for "Structured Query Language". .
  7. As you're the one pulling the strings, so to speak.. then you can't really expect them to pay for it. It's just the price of providing hosting .
  8. Yeah, I think I know a couple of ways I can get round that. Just need to get it looking decent. Always the hardest part.
  9. Username: test@test.com Password: test
  10. Working on an enhanced version, here. Want it too look as simple as possible, which is the reason for the basic menu. Thinking that in the white space underneath "snappad", might stick a 'random release'. Then the page content will be in the area it used to be. In the process of adding the functionality of a login page to it.
  11. I'd already validated it, so you could enter anything higher than 1, just forgot to do the same for the other way round . Probably won't keep it like that, but for now it'll do. Try break it now . No worries, hehe. Now... to get on with my list of changes.
  12. Yeah, it will be a lost more advanced when it's finished. . It's just a shell atm really.
  13. smithmr8 replied to cavking's topic in Server Side
    Not really, tbh. There are basic/simple steps you can take, e.g. Escaping characters ect.. Normally it isn't too bad. It's simple if you work and work on it . You won't pick it up straight away, but if you keep on at it.. you'll soon know your way around the basics. .
  14. Looks very good . But would have to agree, think you're name should be a touch bigger.
  15. if (mysql_num_rows(mysql_query($reviews_query_raw)) == "0"){ echo "Be the first to review this product!"; } else { //List out reviews... }
  16. smithmr8 replied to cavking's topic in Server Side
    Uhm. You'd need to know (roughly): How to connect to a MySQL database - ie. config files ect.. How to manipulate database content (add / remove / edit content) mysql_query("INSERT INTO.. mysql_query("UPDATE `.. mysql_query("DELETE... How to search/query a database and return results. mysql_query("SELECT... mysql_fetch_array(... while($variable = mysql_fetch_array($query)){ ... mysql_num_rows mysql_query("SELECT * FROM `property` WHERE `location` LIKE %$loc% ORDER BY `road_name` ASC"); Once you know how to do the above, and possibly a touch more, you could build a pretty decent PHP&MySQL driven site.
  17. I think that' done it. Don't have that version of FF installed, but had the same problem in Safari. It works in safari now, so is it working in 3.6.6 ?
  18. Brilliant!! Hehe. Will take a look :-)
  19. Have added a submit button. Doesn't look half bad. Also added "Highest Rated Release" to homepage.
  20. It's on my to-do list . Just wanted to get it setup and working for now. .
  21. Yeah, but then that spoils the asthetics of the site. . Might add one and see what it looks like.
  22. snappad As some of you may know, I'm undergoing a new personal project. It's now working, with a basic functionality in place. Lots more to come, and need to work on the style a touch. Thoughts ? .
  23. <?php $db = mysql_connect("localhost", "root", "*") or die ("Unable to connect to database."); mysql_select_db("quote") or die ("Unable to select database."); $sql = "SELECT * from quote"; $result=mysql_query($sql) or die(mysql_error()); $quote = htmlentities(mysql_result($result,$i,"quote")); echo "<blockquote>".$quote; mysql_close($db); ?> </body> </html> Try that.
  24. Thanks, will take a look at it

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.