• Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Generate Dynamic Columns in Gridview

    I don't know what code you have, but I think it would be easiest if you first create a new dataset from the original one.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in I need help Please

    Without showing something it will be impossible to help you. Is this website online somewhere to see?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in help understanding classes

    Can't tell from what little you posted.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Web Development

    Software for what purpose exactly?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in php subscription

    Not unless you are your own bank.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in php subscription

    I can't think of any payment provider that will not charge a fee.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Selecting Closest Values In MySQL

    If you enable PDO exception handling, then you might be able to find out more about the error. Read [here](https://www.daniweb.com/web-development/php/code/435142/using-phppdo-with-error-checking) how to do that. Also check line 35.
  • Member Avatar for pritaeas
    pritaeas

    Edited Selecting Closest Values In MySQL

    I'm referring to this tutorial: http://www.techfounder.net/2009/02/02/selecting-closest-values-in-mysql/ My query and code to execute search (This doesn't return any result).I need to get 100 closets value to the postcode given by user …
  • Member Avatar for pritaeas
    pritaeas

    Edited Need help with $php

    Please someone help. I want to put the $url which is created into $shorturl = to generate a custom url ($url actually outputs a http://something.com actual link) but don't know …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Error in gridview binding

    Don't dump code. Explain the problem.
  • Member Avatar for pritaeas
    pritaeas

    Edited Java is it a Binary Search Tree?

    I am trying to validate if this is a BST or not and return a true or false. I believe I have the code right but i cannot get it …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Onchange function does'nt work

    > form.score.value There is no input called score, you have it commented out.
  • Member Avatar for pritaeas
    pritaeas

    Edited I need help Please

    hello everyone, i have a little problem in ASP with my friend's master project, there is a database which saved images paths in it; when she want to preview an …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in get content html website

    > You cannot load the data that is being loaded through AJAX with cUrl. > There are no functions you can use. > It's not possible in PHP. Which of …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in PDO database select not returning expected data

    Does a simple SELECT without a WHERE return results?
  • Member Avatar for pritaeas
    pritaeas

    Edited problem in gridview connectivity

    I am not able to make a connection with database in gridview, please give me suggestion on reply
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Building first MVC application

    The link works now. There was a dot attached that shouldn't be there.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Email Alerts Not Working

    > Have I got any settings wrong or is something else amiss under the hood? Might be. Friday or saturday I got the e-mail invitation to chat for the wednesday …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in help understanding classes

    > download shows just download no actual file as such Explain. I do not understand what you mean.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in how to show 20 random results out of 80 questions

    Can you show the table structure for your questions table? I'd have to get it running, hard to tell from just the code.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in help understanding classes

    You constructor overwrites that with the POSTed name, so what filename is in there?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in help understanding classes

    $this-> $fileToDownload = $_POST['image_name']; should be: $this->fileToDownload = $_POST['image_name'];
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in help understanding classes

    Here is a [tutorial](https://www.daniweb.com/web-development/php/tutorials/437592/introduction-to-phps-object-orientation) I wrote specifically for PHP.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Cannot update database

    Status and name are in the reserved word list, so should be in backticks. https://dev.mysql.com/doc/refman/5.5/en/keywords.html
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Get the results if product count is greater than 2

    I've forgotten to put location in both places, try this: SELECT * FROM ( SELECT product FROM mysample WHERE location = 'TPJ' GROUP BY product HAVING COUNT(*) > 1 ) …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Get the results if product count is greater than 2

    > Above query doesn't work for the expected output You'll have to tell me what's wrong with it then. I am not clairvoyant.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Get the results if product count is greater than 2

    It doesn't work, or what?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Get the results if product count is greater than 2

    This might be it: SELECT * FROM ( SELECT product FROM mysample WHERE location = 'TPJ' GROUP BY product HAVING COUNT(*) > 1 ) tmp, mysample WHERE tmp.product = mysample.product …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Get the results if product count is greater than 2

    You want to records with a single result removed? I get it now.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Get the results if product count is greater than 2

    The query I posted earlier should do that, or am I missing something?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Need PHP code

    http://php.net/manual/en/control-structures.for.php http://php.net/manual/en/function.strlen.php http://php.net/substr
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Get the results if product count is greater than 2

    > Is this possible to get variying percentage product name only and it's mapped with the location 'TPJ' ? If you don't explain with an example, I don't know what …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Need PHP code

    > i need a PHP code for this input You can get help here, nobody will write it for you. So what have you tried?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in send value of hidden field - ajax/php

    var name = $("#name").val();
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Run 2 functions with same id?

    `id` should be unique, that's what you use `class` for.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Page doesn't get updated - ajax/php

    > onclick='userrequest(Test One)' If you pass a string as parameter, it needs to be in quotes, e.g.: onclick="userrequest('Test One')" So try changing to: echo "<tr><td>$name</td><td>$username</td><td>$number</td><td><a href='#' value='$name' class='request' onclick='request(\"".$name."\")'>$status</a></td></tr>";
  • Member Avatar for pritaeas
    pritaeas

    Edited headphone detection

    how to detect headset connection using java code .
  • Member Avatar for pritaeas
    pritaeas

    Edited var Emaillist = new File("emaillist.dat") returns error

    I am writing a web site and I am using javascript to read/write to a file. There are multiple sites that say to do this: var file = new File(txtFile); …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in get content html website

    It's not possible in PHP.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Navigation Bar

    Change the color of .navbar-inverse
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in How to Improve Test Program on Classes?

    > For example, the constant pi is not needed in any shape with only straight lines That's debatable: perhaps in the future you'll want to extend your class with a …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Get the results if product count is greater than 2

    SELECT * FROM mysample WHERE location = 'TPJ' GROUP BY percentage, product HAVING COUNT(*) = 1 WHERE goes before the GROUP BY.
  • Member Avatar for pritaeas
    pritaeas

    Edited Panda Update in few weeks

    Google panda update will comes in few weeks!! Are you ready for that? What the necessary changes you make in your site?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Required and Optional fields in WebService

    I want to see the code that calls your webservice, Javascript (was my guess), C# or whatever. If I know how the DateTime is sent, I can figure out the …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Page doesn't get updated - ajax/php

    The source, not an image...
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Get the results if product count is greater than 2

    Show the relevant data, the required output, and what you've tried.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Get the results if product count is greater than 2

    > Could you please suggest your maximum no of 'Mysql' queries to approach this Just one I think: SELECT * FROM table GROUP BY percentage, product HAVING COUNT(*) = 1
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in get content html website

    There are no functions you can use. You would have to build a webpage renderer that also executes every Javascript method. I don't know of anything that does that already. …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Page doesn't get updated - ajax/php

    If I can see the generated HTML output for the table, then I think it'd be easier to spot the issue.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Server migration complete

    I just received the email invite to the wednesday web dev chat... two days late.

The End.