• Member Avatar for pritaeas
    pritaeas

    Edited PHP search MySQL table

    I am trying to create a search box that searches the county field of the database. If the criteria matches then the records will be displayed in the table. I …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in [symfony2]get data from my database table

    Shouldn't you be using something like: {{ reponse.nom }}
  • Member Avatar for pritaeas
    pritaeas

    Edited Datalist php validation

    Hi there, I am stuck in the php validation. In my form have to show list banks by in my form, if the client may be enter the correct name …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Notice: Undefined index

    > Should they all not have the comma? A comma is a list separator and should be in between column values you want to select. It should not come after …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Notice: Undefined index

    > Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\demo\nest_Demo_thrasher.php on line 110 Line 65 has a comma at the end, remove it. It makes the query …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Notice: Undefined index

    Telephone and email are not selected in the query, but the code is trying to get their value on line 82/83.
  • Member Avatar for pritaeas
    pritaeas

    Edited Read This Before Posting A Question

    ## Before You Ask ## - Engage your brain! We understand that running into a problem can turn off the rational centers of the brain, but please sit back and …
  • Member Avatar for pritaeas
    pritaeas

    Edited Read This Before Posting A Question

    ## Before You Ask ## - Engage your brain! We understand that running into a problem can turn off the rational centers of the brain, but please sit back and …
  • Member Avatar for pritaeas
    pritaeas

    Edited Read This Before Posting A Question

    # NOTE # This was a PHP sticky, and I am working to turn it into a development sticky. If you have any comments, additions or other observations, please reply …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in IComparable ComapreTo

    Can you show some code? Do you really have to use [IComparable](http://www.dotnetperls.com/icomparable), perhaps LINQ is enough: yourList.OrderByDescending(item => item.Name); The `CompareTo` method should return -1, 0 or 1 depending on …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in PHP function missing argument error

    > Do I have to have 4 arguments? Not if you change the function definition to this: function Get_All_Orderlines_Range($id, $from_date, $to_date, $all = "")
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in PHP function missing argument error

    Although `$all` is optional, it should be the last parameter for this to work. PHP cannot determine which parameters you mean. From: http://php.net/manual/en/functions.arguments.php *"Note that when using default arguments, any …
  • Member Avatar for pritaeas
    pritaeas

    Edited How to get the records in between the dates by using from and to dates

    Hi Can any one help me how to to get the records in between the dates by using from and to dates using php,mysql,ajax
  • Member Avatar for pritaeas
    pritaeas

    Edited MySQL QUERY OPTIMIZATION

    I have three tables that I query. Problem is my ORACLE MIF table has 500,000 rows. And it takes more than 1 hour. How can I reduce the time? SELECT …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in So why is Databases under Web Development?

    Historical reasons.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Hi all

    Welcome to DaniWeb.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Hello EveryOne!

    Welcome to DaniWeb.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Hello Everyone!

    Welcome to DaniWeb.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Hello everybody

    Welcome to DaniWeb.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in responsive form in bootstrap

    So many examples online. Your request is vague, what exactly are you looking for.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Delphi XE7 does not recognize IBDatabase ....

    What solved your issue?
  • Member Avatar for pritaeas
    pritaeas

    Edited How to setup a session to cpnel?

    Hi guys i've one page which is hosted on cpanel! and on my localhost is working properly, but on cpanel is not working. The problem is about session and redirecting …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in MIGS payment Gateway help

    https://developer.mastercard.com/portal/display/api/Sitemap If you are using a CMS like OpenCart (or others), check for the right plugin.
  • Member Avatar for pritaeas
    pritaeas

    Edited Canasta card game test request

    I have built a Canasta card game in MS-DOS and I am now stuck on how create a computer competitor. What I need is someone to tell me how the …
  • Member Avatar for pritaeas
    pritaeas

    Edited class myArray

    Hey everyone so here's a new code and it compiles but it won't let me separate the data and add more questions for the user. Please help me and thanks …
  • Member Avatar for pritaeas
    pritaeas

    Edited Split Column by Pipe In Ms Sql

    Split pipe delimited into new columns as below : col1 col2 col3 col4 Data|7-8|5 Data 7-8 5 Data|asdsad|sad Data asdsad sad fish|c cx cx xc cc xc cx |ededededeed fish …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Removing <head> from html

    $result = preg_replace('%<head>.*?</head>%sm', '', $subject); This worked for me. http://php.net/manual/en/reference.pcre.pattern.modifiers.php
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Increment by one by one max value in mysql

    Is it stored as a VARCHAR? You cannot just increment that. It should be possible to write a stored procedure for it, but usually such a composite ID is stored …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Simple PHP Pagination - No Database Required

    Double click, then copy from the editbox.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in how to redirect to a page after insert into data in DB table

    Do this and find out if there is a problem: $result = mysql_query($sql) or die(mysql_error());
  • Member Avatar for pritaeas
    pritaeas

    Edited Decode Plz Files please Decode

    Decode Please REMOVED
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in how to redirect to a page after insert into data in DB table

    Replace `if($result!=null)` with `if($result)` `$result` is never null. It will contain true, false or a resource.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean

    I already told you what to try.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Hello

    Welcome to DaniWeb.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean

    Where is your connection? Check for errors to find the issue. $rewards = mysql_query("SELECT * FROM rewards ORDER BY points") or die(mysql_error());
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Large OP font

    > Is this a bit better? Yes.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Query - multiple joins, multiple tables will not return records

    Not sure about any good docs, but the [EXPLAIN](http://www.sitepoint.com/using-explain-to-write-better-mysql-queries/) functionality can help.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Shell(execute) with a progress bar showing progress

    So most like mgt studio executes the sql file. That means most likely that you can't get feedback on the progress. I have used SMO before and even those do …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Problem with select/option not showing text

    If I remove the `height: 12px;` from `.selservice` it shows again. That's because with the padding of 10px, a height of 12px only shows the whitespace of the padding.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Shell(execute) with a progress bar showing progress

    Yes, that was obvious, but which program executes that script?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Limit lines Listbox

    Using LINQ you can just do: ListBox1.Items.AddRange(lines.Take(10)) You'll need: Imports System.Linq
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Parse error: syntax error, unexpected ',' in php

    On line 6 replace `","` with a space after SET.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Need code for MLM Single leg system

    We only help you with issues, we don't provide code. So what do you have, and what problem do you have exactly?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Shell(execute) with a progress bar showing progress

    > However I need to add a progress bar to indicate progress I don't think you can. You are starting a new process, which I doubt is returning progress information. …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Query - multiple joins, multiple tables will not return records

    The only way this can work with the table you have, is to use your relatives table as the start for your query and then use left joins, so the …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Accessing non namespaced class from within a namespaced class

    Define: "Does not work". Error messages, or nothing happens? When I run your code I get: Namespace declaration statement has to be the very first statement in the script in …
  • Member Avatar for pritaeas
    pritaeas

    Edited Website copyright india

    How can I copyright content of a website? Let's say the website have blog, 2D-3D art, Photographs etc. What are the best practices? Will I have to go to government …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in content positionnement with sidebar

    Just add another style file for the pages where you want to override that behaviour.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Accessing non namespaced class from within a namespaced class

    You want to dynamically pass the namespace? Looks like you forgot the `\` again. $myNsClass = '\myNamespace\someClass';
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Accessing non namespaced class from within a namespaced class

    $classsss = new \myClass(); http://php.net/manual/en/language.namespaces.global.php

The End.