• Member Avatar for almostbob
    almostbob

    Replied To a Post in What are you eating/drinking right now?

    lunch in queensland : more coffee, and cakes from the yowie park coffee man
  • Member Avatar for almostbob
    almostbob

    Replied To a Post in Looping JavaScript

    its real easy to *fix* code, *writing* em takes thought
  • Member Avatar for almostbob
    almostbob

    Replied To a Post in What are you eating/drinking right now?

    cawfeeeeeeeeeeeeee mmmm
  • Member Avatar for almostbob
    almostbob

    Began Watching Looping JavaScript

    Hi I am having a bit of a problem with some JavaScript and PHP. The script (below) works exactly as wanted, but if I run it with the latest version …
  • Member Avatar for almostbob
    almostbob

    Replied To a Post in Looping JavaScript

    runonce <?php if(!$_GET['runonce']) {echo <<<redir <script> if(navigator.geolocation) { navigator.geolocation.getCurrentPosition(function(position) { var lat = position.coords.latitude var lon = position.coords.longitude document.location = "prayer-times.php?runonce=done&latitude=" + lat + "&longitude=" + lon }); } </script> …
  • Member Avatar for almostbob
    almostbob

    Replied To a Post in Redirecting non-www to www with .htaccess

    I assume you replaced 'site' with your site name
  • Member Avatar for almostbob
    almostbob

    Began Watching SERP Location

    I would like to know whether it is possible to know the exact keyword ranking in the particular area. For Example: If we are targeting the keyword "Web Design Services …
  • Member Avatar for almostbob
    almostbob

    Replied To a Post in SERP Location

    RTFM, google webmaster tools
  • Member Avatar for almostbob
    almostbob

    Replied To a Post in Redirecting non-www to www with .htaccess

    Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} !^www\. RewriteRule (.*) http://www.site/$1 [R=301,L]
  • Member Avatar for almostbob
    almostbob

    Replied To a Post in Redirecting non-www to www with .htaccess

    then its not an apache config error your code is not good line 4, there should not be a nocase [NC] flag it should be L, rewrite condition in line …
  • Member Avatar for almostbob
    almostbob

    Began Watching Redirecting non-www to www with .htaccess

    How to redirecting non-www to www with .htaccess for all page's? in my main page(index) works, but if i go mywebsite.com/page2, will not redirect me to my preference domain www.mywebsite.com/page2. …
  • Member Avatar for almostbob
    almostbob

    Replied To a Post in Redirecting non-www to www with .htaccess

    the $1 parameter passes everything after .com to the rewritten url it should work except when something is missed or changed on the server config. many servers are locked down, …
  • Member Avatar for almostbob
    almostbob

    Gave Reputation to diafol in how to convert minutes to hours

    $mins = 7500; $hrs = floor($mins/60); $mins_left_over = $mins % 60;
  • Member Avatar for almostbob
    almostbob

    Gave Reputation to diafol in how to convert minutes to hours

    $mins = 7500; $hrs = floor($mins/60); $mins_left_over = $mins % 60;
  • Member Avatar for almostbob
    almostbob

    Began Watching how to convert minutes to hours

    $min=7500; $hours=$min%60; but it is not working. I am facing convert minutes to hours. please help me
  • Member Avatar for almostbob
    almostbob

    Replied To a Post in how to convert minutes to hours

    `%` percent|modulus ?or? `/` division by
  • Member Avatar for almostbob
    almostbob

    Replied To a Post in image not showing

    Too good, glad to help
  • Member Avatar for almostbob
    almostbob

    Began Watching Greek letters are not storing in MySQL database.

    Hi everyone. I want to store greek letters in mysql table my table collaction is utf8_general_ci and i'm calling this function after database connection mysqli_query($connection, "SET NAMES 'utf8'"); mysqli_query($connection,"SET CHARACTER …
  • Member Avatar for almostbob
    almostbob

    Replied To a Post in Greek letters are not storing in MySQL database.

    `mysqli_set_charset($connnection,"utf8");`
  • Member Avatar for almostbob
    almostbob

    Began Watching image not showing

    Hi Guys, I have been trying to display the images from the database with the code below. Images are not displayed. <?php while($product_data = mysqli_fetch_array($query_product_result)) { $num_rows_products = $num_rows_products - …
  • Member Avatar for almostbob
    almostbob

    Replied To a Post in image not showing

    are you sure it isnt `$product_data["image"]` seems strange to have one column not from the same array (`$row[]`) as the others OR. are db images already encoded base64 in the …
  • Member Avatar for almostbob
    almostbob

    Replied To a Post in Random Facts

    Yesterday (In Aus its tomorrow already) 'the life of Pi' was on 4 tv channels twice each
  • Member Avatar for almostbob
    almostbob

    Replied To a Post in Spaces not passing in Variable

    well now, why did I do that ^^
  • Member Avatar for almostbob
    almostbob

    Replied To a Post in Spaces not passing in Variable

    websponge, urlencode() ONLY applies to the html <option value=''> text not to the sql, it will return errors in the sql
  • Member Avatar for almostbob
    almostbob

    Began Watching Profanity Filter

    Hello. This is a multi-part question. I have researched each aspect of it before posting here, but I am posting this in case anyone may point out something I might …
  • Member Avatar for almostbob
    almostbob

    Replied To a Post in Profanity Filter

    FÜ etc in utf8, there are 1408 (thus far) ways to write eff ewe see kay and get past filters If you are going to try to catch all possible …
  • Member Avatar for almostbob
    almostbob

    Began Watching Is there any SEO value for domain extensions?

    What do you think about domain extention like **.com, .org, .net etc.** touch any SEO value? Thanks for your time.
  • Member Avatar for almostbob
    almostbob

    Replied To a Post in Is there any SEO value for domain extensions?

    no, read google webmaster instructions: content & clean code matters, nothing else does
  • Member Avatar for almostbob
    almostbob

    Began Watching How will my website on Google's first page?

    I have a website.i practice seo for my website. Google's first page of this site to bring the issue will focus on?
  • Member Avatar for almostbob
    almostbob

    Replied To a Post in How will my website on Google's first page?

    You are competing with the entire web The best you can get, may be less than you hope: "Content is King" Accurate, original, unique, attributed, semantic, compliant content will get …
  • Member Avatar for almostbob
    almostbob

    Replied To a Post in Spaces not passing in Variable

    the keyword '`like`' will do that,, it is an approximate match where you are populating `<select>` from the db, `like` is unneccessary and counter productive, an exact match will return …
  • Member Avatar for almostbob
    almostbob

    Began Watching Javascript onLoad Redirect if visiting mobile site on PC

    Hello good people. I am trying to add a snippet of javascript to the head tag of a mobile site that checks if the visitor is using a PC and …
  • Member Avatar for almostbob
    almostbob

    Replied To a Post in Javascript onLoad Redirect if visiting mobile site on PC

    Do the redirect serverside, You use a heap of bandwidth to end the first page, then you do it again, users are not going to be grateful Google code has …
  • Member Avatar for almostbob
    almostbob

    Began Watching Errors not showing in php

    Hi Guys! So i have a login form thats "supposed" to display an error if a person doesnt enter any information or they enter the wrong information I have the …
  • Member Avatar for almostbob
    almostbob

    Replied To a Post in Errors not showing in php

    the posted code never **displays** the value of $error eg between 54 and 55 `54.5 <?php if(isset($error)) {echo $error;} ?>`
  • Member Avatar for almostbob
    almostbob

    Replied To a Post in What are you eating/drinking right now?

    Coffee, @wreckship, please throw me a muffin
  • Member Avatar for almostbob
    almostbob

    Replied To a Post in Spaces not passing in Variable

    for the purpose of the OP selecting on non-unique columns In my mind the op selects a `customer` and then is displayed all the `device`s for that `customer` at this …
  • Member Avatar for almostbob
    almostbob

    Began Watching problem in form to display data.

    This code is not display data and not show any error.so reply me what is error. <html> <head> <title>insert new post</title> </head> <body> <form method="post" action="insert_post.php" enctype="multipart/form-data"> <table align="center" border="10" …
  • Member Avatar for almostbob
    almostbob

    Replied To a Post in problem in form to display data.

    It is a PEBKAC error, a conceptual problem this is an input form, to display data there must be some code somewhere to get the data from the DB parse …
  • Member Avatar for almostbob
    almostbob

    Gave Reputation to diafol in Spaces not passing in Variable

    >I am using name, because there are multiple entries, so cannot just return the row ID I'm not sure that I follow, but you may find using row IDs a …
  • Member Avatar for almostbob
    almostbob

    Replied To a Post in Spaces not passing in Variable

    @matrixdevuk If they were called "Smith & Smith & Smith" each of those ampersands would appear as the beginning of another variable my paranoia comes out and always *plan for …
  • Member Avatar for almostbob
    almostbob

    Replied To a Post in Spaces not passing in Variable

    @diafol from the code supplied the DB is not normalised, there does not seem to be a unique id so they are selecting by text representation of the customer name
  • Member Avatar for almostbob
    almostbob

    Replied To a Post in Spaces not passing in Variable

    @matrixdevuk str_replace() changes the submitted value and ; would need to be reprocessed at the server and ; does not fix the many proscribed characters that may be in the …
  • Member Avatar for almostbob
    almostbob

    Began Watching Spaces not passing in Variable

    I have a select box that looks up values from my database, and then runs a jquery function to display the results, function is working fine, but some of the …
  • Member Avatar for almostbob
    almostbob

    Replied To a Post in Spaces not passing in Variable

    urlencode the value echo "<option value=".urlencode($thevalue).">"; echo $thevalue; echo "</option>";
  • Member Avatar for almostbob
    almostbob

    Gave Reputation to ps1990 in enable javascript using javascript code.

    you may try this code. function fn{ if (!javascript) { javascript.enabled = enabled; } }
  • Member Avatar for almostbob
    almostbob

    Gave Reputation to ps1990 in enable javascript using javascript code.

    you may try this code. function fn{ if (!javascript) { javascript.enabled = enabled; } }
  • Member Avatar for almostbob
    almostbob

    Gave Reputation to thomas88 in need details for make an entertainment web site

    try to make news and entertainment website and target your specific audiance.
  • Member Avatar for almostbob
    almostbob

    Began Watching delete confirmation

    to ask user before deleting a record If user clicks ok then only delete record from database If user clicks cancel then it should not delete record
  • Member Avatar for almostbob
    almostbob

    Replied To a Post in delete confirmation

    what database what language what have you attempted mind reading is not among the skills of many of the gurus

The End.