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.

Anth Winter

Members
  • Joined

  • Last visited

  1.    JLS reacted to a post in a topic: Georgia & Times New Roman CSS Font Issues
  2. Anth Winter replied to Stuey's topic in Frontend
    If by wrap you mean <div> within a <div> then yes, you can. <div class="parent"> <div class="child"> </div> <div class="another-child"> </div> </div>
  3. Anth Winter replied to Stuey's topic in Frontend
    I'm afraid that feeling occurs a lot in the developing world haha. It can be stressful but also rewarding, just keep at it
  4. Anth Winter replied to Stuey's topic in Frontend
    I'm guessing the image of the blue car and the dates on your screenshot should be positioned on the right of the dark red area? Is that your problem? Do you have somewhere on the web to upload the html and css so I could look at the full code and where its being applied.
  5. Hi JLS and welcome. Could you post links to each page/button on the site so that I could check the code that is being given to the buttons
  6. Anth Winter replied to Stuey's topic in Frontend
    Hi Stuey, could you link to the example of this somewhere? Or provide the code and details which parts of the code have the problem
  7. ok ive managed to use mysqli now, I just had to change a few things after reading up on it. But my original question still stands, any ideas? Id like to find out the reason it might of done this rather than just dismiss it, if anyone is able to help?
  8. mysqli does not work on my setup, i have tried it, hence the reason of using mysql.
  9. resolved this by using the below. But if anyone knows why the previous query wouldn't work then that would be cool. Thanks. $query = mysql_query("SELECT * FROM fixtures WHERE DATE(date) > NOW() LIMIT 1", $connection);
  10. I have a MySQL table where one cell of each row contains the date stored in a date format. e.g. YYYY-MM-DD. On the website, i want to show the "Next Fixture". So I want to pull the fixture from the database that is > "today", then display it. I have this currently: $query = mysql_query("SELECT * FROM fixtures WHERE DATE(date) > ". date("Y-m-d") ." LIMIT 1", $connection); while ($row = mysql_fetch_array($query)) { echo "<p class=\"xsmall uppercase\">".$row['hometeam']." v ".$row['awayteam']."</p>\n<p class=\"xsmall grey\">".$row['date']." ".$row['faceoff']."</p>\n<p class=\"xsmall grey\">".$row['venue']."</p>"; } I have an entry in the database that has today's date 2013-02-09. And the above code is displaying that result, but im not sure why when the query states > today. Anyone help? thanks in advanced.
  11.    Anth Winter reacted to a post in a topic: fputcsv with MySQL help needed
  12. thanks, your code actually did work, it was just me trying to call data from a table name with a typo in it ha. Thanks for your help
  13. oh and thanks, ill start using the mysqli thing too
  14.    Anth Winter reacted to a post in a topic: fputcsv with MySQL help needed
  15. thanks for the reply, that makes more sense to use array push! although i have tested your method and its only writing "end end end" to my file. So i tried doing: while ($row = mysql_fetch_row($r)) { array_push($list, $row[0]); array_push($list, $row[1]); array_push($list, $row[2]); array_push($list, $row[3]); } But no luck either, im still trying to look at the problem so will let you know if i find out what it is. Dont suppose you have any further ideas?
  16. Hi everyone. My aim here is to have a database I have in MySQL write to a csv file when the person visits a link via PHP. So they visit the link -> then the PHP calls the data from MySQL -> that is the written to an array -> which is used to create the csv cells. I have the below so far after reading documentation on PHP.net $query = mysql_query("SELECT * FROM my_table", $connection); $list = array ( while ($row = mysql_fetch_array($query)) { array(.$row['first-name']., .$row['last-name']., .$row['email'].), } array('end', 'end', 'end') ); $fp = fopen('file.csv', 'w'); foreach ($list as $fields) { fputcsv($fp, $fields); } fclose($fp); I know the above will not work, but i cant seem to figure out how to work around this using the "while" loop to call all the data. Anyone who can shine some light on a work around would be much appreciated. Thanks in advance.
  17. CSS can do some great styling to form elements. A site i came across for example... http://37signals.com/svn/posts/2609-customizing-web-forms-with-css3-and-webkit/
  18. I've seen translation options available on foreign posts on Facebook, but it does seem its not always there. It must only be if its able to understand the content enough to return a result.

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.