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.

Man2u2uk

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Man2u2uk got a reaction from wesellssl in Rate My WordPress Blog   
    Hi All,

    It's been a while since I have posted on this forum, but I thought I would see what reviews I get the for the following site that I made for my partner the other week. (I know its going to be hard to review as WordPress provided the platform and half the hard work is already done.)

    http://www.rouge-mua.co.uk/blog/

    I've made the above blog using WordPress and then installed a few plugins to customise every part of it down to the register/logon pages. I have also tried to apply SEO as best as I could using the yoast plugin making sure that all the page titles, alt/title tags, content, meta descriptions and tags were as appropriate as possible.


  2. Like
    Man2u2uk reacted to DigitalSquid in JavaScript Alert In IE - Not Working   
    Looks like good old IE is being too strict again!
     
    Your JS is telling the browser to look for the looking for value of the inputs but you haven't set any in your options lists. All the other browsers are smart enough to realise that and pick up the text instead but IE won't.
     
    You'll either need to change all your options to this format:

    <option value="1903">1903</option>
     
    Or change the JS to pick up the text instead of the value.
  3. Like
    Man2u2uk reacted to Man2u2uk in Display Record Count For Each County   
    Hi All,
     
    I have a database containing all the places you can fly fish around the UK.
     
    How can i display how many records each county has next to its name...
     
    http://www.ukfishersonline.com/fly-fishery-directory.html (at the moment i just list all the countys, i would like to also display how many records i have for each county)
     
    for example:
     
    Hampshire (12)
    Kent (15)
    Bedfordshire (0)
     
    Many Thanks
  4. Like
    Man2u2uk reacted to Man2u2uk in Display Record Count For Each County   
    Thanks for replying..
     
    I am using a SQL database on a linux server..
     
    I am coding in PHP
     
     
    I was thinking of using "count" but i thought it was depreciated
  5. Like
    Man2u2uk reacted to Man2u2uk in Display Record Count For Each County   
    Thanks, i will give this ago when i get home....
     
    I guess i then have to "echo" next to each county
  6. Like
    Man2u2uk reacted to Man2u2uk in Display Record Count For Each County   
    Ok,
     
    I managed to get the correct SQL
     

    $sql = SELECT `fishery_county`, COUNT(*) FROM fishery_tbl GROUP BY `fishery_county`;
     
    Which gives me exactly what i want
     
    http://www.ukfishersonline.com/test.html
     
    But how can i display it in two columns like so:
     
    http://www.ukfishersonline.com/fly-fishery-directory.html
     
    Thanks
  7. Like
    Man2u2uk reacted to Man2u2uk in Display Record Count For Each County   
    Anyone?
     
    Would i use modulus to half the rows? and make it into two columns?
  8. Like
    Man2u2uk reacted to Man2u2uk in Display Record Count For Each County   
    At the moment on "http://www.ukfishersonline.com/fly-fishery-directory.html" i am just manually listing them in a two column table that i have customised with CSS.
     
    I guess what your saying is i should have two divs. with one floating left and the other floating right, then when echoing the countys out. use an if statement to echo 10 in the 1st div and 10 in the 2nd div?
     
    Thanks
  9. Like
    Man2u2uk reacted to Gibbs in Display Record Count For Each County   
    What database and server-side language(s) are you using?
     
    In MySQL you could use COUNT, like (not tested):
     
     

    SELECT county, COUNT(*) FROM directory WHERE fly_fishing = '1' GROUP BY county;
     
    It might help if you provide more specific information
  10. Like
    Man2u2uk reacted to Faevilangel in Display Record Count For Each County   
    as said use the count method ... e.g.
     

    "SELECT row_name, COUNT(name) FROM products GROUP BY type"

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.