• Member Avatar for pritaeas
    pritaeas

    Replied To a Post in round function

    http://php.net/manual/en/function.round.php
  • Member Avatar for pritaeas
    pritaeas

    Edited Digital clock

    I need different source code of digital clock plz exept in graphic forms
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Search keyword missing some informations

    if(preg_match("/^[ a-zA-Z0-9]+/", $_POST['search'])){ or if(preg_match("/^[ a-zA-Z\d]+/", $_POST['search'])){ assuming you'll allow words with numbers.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Search keyword missing some informations

    123 does not match your regular expression.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Enter data in html textbox and show it in database

    How are you inserting into the database? Do you use Entity Framework, do you write your own queries? What?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Enter data in html textbox and show it in database

    > textArtist does not exist in current context If you want to use `textArtist` the input has to have `runat="server"` > I have also created a namespace using Mygenerations with …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in getting error in json decode

    if($msg == "success") That's case sensitive, and should be: if ($msg == "SUCCESS") or: if (strtolower($msg) == "success")
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Best Report Program

    What platform are you using, and what are your requirements? Do you need something that runs directly against your database, or are you integrating with an application of your own?
  • Member Avatar for pritaeas
    pritaeas

    Edited push_back

    hi members please tell me what push_back function do , and why it is use
  • Member Avatar for pritaeas
    pritaeas

    Edited Json style issue

    Hi I have written a json file using php. But i am unable to display the css style. can any please help me to fix the issue. **my json code** …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Missing thread

    I think the OP mentioned issues when posting, so not sure what happened. I didn't get to press delete in any case.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Grid View

    Aren't there any examples in the download?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in can't connect to database

    mysqli extension not enabled in the php.ini?
  • Member Avatar for pritaeas
    pritaeas

    Edited Wrong Username and Password error

    I have this code in my login.php, from sigin.php page if the user click on signin, it will display wrong username or password but the username and password is in …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Grid View

    > is there any simple ways using only php code? Without the Javascript/jQuery code the inline editing in the grid can't work.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Grid View

    Did you follow the [documentation](http://www.phpgrid.org/docs/)?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Grid View

    Personally, I prefer to use a tool like [datatables.net](http://datatables.net). What exactly are your requirements?
  • Member Avatar for pritaeas
    pritaeas

    Created Missing thread

    https://www.daniweb.com/software-development/python/threads/495488/sieve-of-erastothenes-simply-with-nested-loops This thread is listed in the python forum, but clicking it shows an error. Wanted to remove it because it's a duplicate.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Your opinion about abandoning InnoDB and return to MyISAM?

    From what I've read the default settings for InnoDb are pretty bad. https://www.percona.com/blog/2013/09/20/innodb-performance-optimization-basics-updated/
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Sieve of Erastothenes simply with nested loops

    > How may we delete or update a question? Delete: you cannot. You may request it from a moderator, but it is unlikely your request will be honoured. Update: You …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in copy files from server to other using php

    You can also use cUrl to call your own pages without waiting for it to finish. The only problem is that you have to implement something to detect that a …
  • Member Avatar for pritaeas
    pritaeas

    Marked Solved Status for Edit bug

    This post is in the unresolved post section: https://www.daniweb.com/hardware-and-software/microsoft-windows/viruses-spyware-and-other-nasties/threads/19022/browser-redirectaboutblankother-problems- But I cannot edit it. It just disappears when clicked.
  • Member Avatar for pritaeas
    pritaeas

    Edited Edit bug

    This post is in the unresolved post section: https://www.daniweb.com/hardware-and-software/microsoft-windows/viruses-spyware-and-other-nasties/threads/19022/browser-redirectaboutblankother-problems- But I cannot edit it. It just disappears when clicked.
  • Member Avatar for pritaeas
    pritaeas

    Created Edit bug

    This post is in the unresolved post section: https://www.daniweb.com/hardware-and-software/microsoft-windows/viruses-spyware-and-other-nasties/threads/19022/browser-redirectaboutblankother-problems- But I cannot edit it. It just disappears when clicked.
  • Member Avatar for pritaeas
    pritaeas

    Edited Converting to PHP function

    I have a .net/vb code which needs to be converted to PHP, can anyone help please? private string CharsAvailable() { int unicodeFlag = 0; int extraChars = 0; int msgCount …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Mayweather v Pacquiao

    http://www.hbo.com/boxing I hope Mayweather gets a decent beating ;)
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Fatel Error -Image

    What is `Image` supposed to be? Did you forget an include?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in If array is empty hide this box

    if (count($images) == 0) It's hard to answer without knowing the bigger picture.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in If array is empty hide this box

    Correct, not hide, it doesn't display any. If you want to hide one: $style = ''; if (!isset($images[0])) { $style = ' style="display:hidden" '; } echo '<div class="small-box"' . $style …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in If array is empty hide this box

    Like this? foreach ($images as $image) { echo '<div class="small-box">' . image_html($image) . '</div>'; }
  • Member Avatar for pritaeas
    pritaeas

    Edited If array is empty hide this box

    Hi, I have this situation while ($row = $stmt->fetch(PDO::FETCH_ASSOC)){ $images[] = [ 'image' => $row['image'] ]; } function image_html($image) { return '<img src="' . $image['image'] . '" class="img-responsive" />'; } …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Looking for Word editor

    Looks promising. We'll probably have a chat with Aspose.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Looking for Word editor

    I read that indeed. Does the Aspose also allow editing the merge template?
  • Member Avatar for pritaeas
    pritaeas

    Created Looking for Word editor

    For one of our projects we are looking for a Word editor that can be used in ASP.NET without the need of Office/Word being installed on the server. The requirement …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Code Quality Check

    It's a small piece which looks very reasonable. I do have one question. Why do you use `method_exists`? Wouldn't it be cleaner to require an interface on each controller to …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Fail to parse date:String was not recognized as a valid DateTime.

    I don't use Entity much, but have a look at this [SO thread](http://stackoverflow.com/questions/16298616/the-conversion-of-a-datetime2-data-type-to-a-datetime-data-type-error).
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in XKM responses

    Call me daft, but what is xkm?
  • Member Avatar for pritaeas
    pritaeas

    Edited Looking for Freelancing projects in .Net

    Hi, I'm working as freelancer. Looking for software projects. Please can anybody help me in getting projects. Please If have projects pease share details
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Fail to parse date:String was not recognized as a valid DateTime.

    There are a lot of tools to help recognize dates and times that users input. Dates are more divers than times, as long as you know the user's regional settings, …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Fail to parse date:String was not recognized as a valid DateTime.

    > Does it mean that in the real world application developers need to add an awful lot of code to make sure that the app works across the globe Usually, …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in strongly typed views problem

    > To me, it makes more sense to use a constructor For me too in most cases. > Is there any advantage I don't think so (I haven't looked at …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in strongly typed views problem

    > wouldn't we do You can do that if you provide a constructor that accepts those two parameters: public class CompanyInfo { public string Name { get; set; } public …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in $base_path= issue with script I am installing. Has data.php and config.php

    `ereg` needs to be replaced with `preg_match` but IIRC the pattern needs changing too.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Requisition and issue slip

    What do you have so far?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in My name is Valentin Fitzmann and wants to make own website

    What country/region are you in?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in $base_path= issue with script I am installing. Has data.php and config.php

    A base path is usually the absolute path to your script, something like `/me/public_html/folder`
  • Member Avatar for pritaeas
    pritaeas

    Edited My scanner class detects an extra character?

    Hi. I'm using 3 classes: the Character class, the Scanner class, and the Test class. This is the Character class: public class Character { private char cargo = '\u0007'; private …
  • Member Avatar for pritaeas
    pritaeas

    Edited how to add values of another select box when a select option is changed

    Hi when i click on a link and there are three select box populated dynamically now i want to change the first select box value and want to add the …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Moderators On DaniWeb Becoming Abusive

    I can only imagine it's about our recent troll Woz.
  • Member Avatar for pritaeas
    pritaeas

    Edited how to pass json encode data in to pie chart using java script

    model controller function viewdashboard(){ $this->load->model('AgentPerformance/agentPerformance_model'); $value = $this->agentPerformance_model->dashboard(); //echo $value; return $value; view <html> <head> <script src="http://code.highcharts.com/highcharts.js"></script> <script src="http://code.highcharts.com/modules/exporting.js"></script> <script> $(function () { $('#container').highcharts({ chart: { plotBackgroundColor: null, plotBorderWidth: null, …

The End.