• Member Avatar for pritaeas
    pritaeas

    Edited a Post in MySql search one column then another

    If you split your query into four parts using `UNION ALL`, then the order is at your leisure: SELECT 1 AS Idx, ICAO_Ident AS ID, Location_Identifier AS LocID, Official_Facility_Name AS …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in MySql search one column then another

    If you split your query into four parts using `UNION ALL`, then the order is at your leisure: SELECT 1 AS Idx, ICAO_Ident AS ID, Location_Identifier AS LocID, Official_Facility_Name AS …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Well, we're live ...

    I know you told me to wait posting, but since I had this issue with the login I figured to post, because maybe more might have the same issue. This …
  • Member Avatar for pritaeas
    pritaeas

    Edited a Post in Well, we're live ...

    Please ignore the e-mail I sent about the login. I reset the password on my phone after I was unable to login. DW accepted that, but on my desktop I …
  • Member Avatar for pritaeas
    pritaeas

    Edited a Post in Well, we're live ...

    Please ignore the e-mail I sent about the login. I reset the password on my phone after I was unable to login. DW accepted that, but on my desktop I …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Well, we're live ...

    Please ignore the e-mail I sent about the login. I reset the password on my phone after I was unable to login. DW accepted that, but on my desktop I …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Need help with double INNER JOIN

    INNER JOIN forums ON forums.id = forums.parent This is a self-join without a relation to either topics or members. Without knowing more it's ringing alarm bells. Perhaps: INNER JOIN forums …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in PHP Protect Against SQL Injection

    http://php.net/manual/en/mysqli-stmt.bind-param.php https://www.daniweb.com/programming/web-development/code/462098/mysqli-binding-example
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Convoluted MySql Query

    SELECT q.mem_id, q.user FROM members as q, members as p WHERE q.ref_id = $referrer_id AND p.ref_id = $referrer_id GROUP BY p.qualify_id HAVING count(p.qualify_id) < 9 AND count(p.qualify_id) = min(p.qualify_id)
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in What's the correct way to write this query

    SELECT * FROM MyTable MT1 WHERE Username IN ( SELECT BookedUser FROM MyTable MT2 WHERE MT2.BookedUser = MT1.Username AND MT2.Status IN ('Offered', 'Scheduled', 'Paid') ) Something like that?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in HHow to make RESTful API for existing website in PHP

    Perhaps [Restler](https://github.com/Luracast/Restler)
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Allow multi thread connection

    Is `conn` perhaps a global variable? When you are trying to access the same variable over multiple threads, such errors are bound to happen. It would be more straightforward for …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Help On SQL

    Why don't you give an example with some data? Are you perhaps looking for the DISTINCT keyword?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Restrict reprocessing data when Refresh is clicked

    It depends on what you have. In some cases, redirecting to a different page after the form post can prevent the issue, because they would be refreshing the page to …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Working with MySQL

    Hmz. Works fine here.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Loop through MySQL select results query - Not PHP, Python or any other API

    https://blog.fedecarg.com/2009/02/22/mysql-split-string-function/
  • Member Avatar for pritaeas
    pritaeas

    Edited error c2660

    using 'strcpy_s' error c2660
  • Member Avatar for pritaeas
    pritaeas

    Edited error c2660

    using 'strcpy_s' error c2660 void sortData(int size, char studentName[][6]) { bool swap; int temp[6]; do { swap = false; for (int count = 0; count < (size - 1); count++) …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in execute function inside object

    Page_content is a string that is outputted to the browser. It will not interpret any code. If you really want that to happen, you can use `eval()`, but be very …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Working with MySQL

    Perhaps this link can help: http://dev.mysql.com/doc/refman/5.7/en/creating-database.html Not sure why it is installed where you indicate, never seen that before.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in creating sub folders in FTP Folder

    Something like this: WebRequest request = WebRequest.Create("ftp://example.com/folder"); request.Method = WebRequestMethods.Ftp.MakeDirectory; request.Credentials = new NetworkCredential("username", "password"); using (FtpWebResponse response = (FtpWebResponse) request.GetResponse()) { Console.WriteLine(response.StatusCode); } This assumes that you have the …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Working with MySQL

    Sounds right to me.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Working with MySQL

    You can use the mysql.exe command line tool, download mysql workbench or any third party tool to administer your database. Personally I'm a fan of Navicat, but it isn't free. …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Working with MySQL

    Correct.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Loop through MySQL select results query - Not PHP, Python or any other API

    http://www.mysqltutorial.org/mysql-cursor/
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Loop through MySQL select results query - Not PHP, Python or any other API

    You can write a stored procedure that uses a cursor to loop through your query result. Is that what you are looking for? What exactly is your requirement?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Hi every one i need help for my quation

    So, what exactly do you need help with? Share your code so far, add specific questions.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Working with MySQL

    MySQL server is the database part that stores the information and lets you retrieve it. The MySQL client library is the interface between your program and the server, making it …
  • Member Avatar for pritaeas
    pritaeas

    Edited base64 img src from a php script - broken image

    I'm trying to display an image on an HTML page using a PHP script in the image/src tag, but the image is broken. When I hard-code the output of getimage.php …
  • Member Avatar for pritaeas
    pritaeas

    Edited C++ linked list. How to insert elements with cin operator?

    #include <iostream> using namespace std; //Linked List: Delete a node at nth position struct Node { int data; Node* next; }; Node* head; //Global void Insert(int data) { //Insert an …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Reservation Booking

    Show your code and explain where it fails.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Create new webform on buttonclick C# asp.net

    Can you elaborate a bit? Adding code means changing the solution/project and rebuilding/deploying. Is that really what you want? My guess is you have a problem where you need a …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Ignore Trigger when update a row

    [DISABLE TRIGGER](https://msdn.microsoft.com/en-us/library/ms189748.aspx) is probably what you are looking for.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Can't reply or create topics programmingforums.org

    Sorry to say, I still cannot access the administration queue and Dani is very busy so I'm afraid nothing will happen at this time.
  • Member Avatar for pritaeas
    pritaeas

    Edited Problem with listbox in c#

    Hey guys,now I have a listbox I need to add in it name of day and time and the program read each item in listbox auto and if the first …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Problem with listbox in c#

    The error message indicates that the SelectedIndex is higher than the number of items in the listbox.
  • Member Avatar for pritaeas
    pritaeas

    Edited Problem with listbox in c#

    Hey guys,now I have a listbox I need to add in it name of day and time and the program read each item in listbox auto and if the first …
  • Member Avatar for pritaeas
    pritaeas

    Edited IS IT BETTER TO MOVE TO SWIFT OR STAY WITH OBJECTIVE-C?

    IS IT BETTER TO MOVE TO SWIFT OR STAY WITH OBJECTIVE-C?
  • Member Avatar for pritaeas
    pritaeas

    Edited Radio buttons to show/hide divs

    I'm trying to create a navigation menu that is a table of 4x5 boxes. The top 4 should have radio-style behavior that brings up a different set of 16 boxes …
  • Member Avatar for pritaeas
    pritaeas

    Edited Multiple document.getElementById in jQuery selector.

    $(document.getElementById("item1"), document.getElementById("item2")).click(function () { $(this).fadeOut(); }); <span id="item1">This is item 1</span><br /> <span id="item2">This is item 2</span> span#item1 { color: red; } span#item2 { color: green; } `span#item1` is affected. …
  • Member Avatar for pritaeas
    pritaeas

    Edited Store GET AJAX jQuery into external variable

    `l(x)` is my shortcut to `console.log(x)`. `item.php` has text "EYES!!", just that. var session = $.get("item.php", function(data) { session = data; }) l(session); // *all XHR flags in an object, …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Help In Lambda Expresssions

    In what programming language do you need your lambda? In .NET languages Contains() is an option, assuming you create an array for your ID's.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in couple of errors with php

    Connecting with PDO and then trying to query with MySQLi won't work. Be consistent, choose one.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in couple of errors with php

    https://dev.mysql.com/doc/refman/5.5/en/keywords.html password is a reserved word, escape it with backticks. Next to that, are you sure $this->db is initialized correctly?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in insert table value from a select statement in vb 2010

    md = New SqlCommand("INSERT INTO Stock ([Stock description], [Quantity], [Barcode]) VALUES (SELECT TOP 1 [Item description] FROM Items WHERE Barcode = '" & Item & "', '" & Quantity & …
  • 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

    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

    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

    Marked Solved Status for MySQL INSERT Query Fail With TinyMCE

    Hi, I just downloaded TinyMCE WYSIWYG, and I am doing an insert query into MySQL using PHP. Everytime I submit the form it returns false. and if I toke out …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in recommended software development books

    It is a good start because it shows how to generate (commented) readable code. Even though I was taught, the book is at times an eye opener at how much …

The End.