• Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Try to find the output in the query will update data in mysql database? us

    > ps.setInt(2, Employee_id); > ps.setString(3, Nationality); Wrong order again. I suggest you add: catch(Exception e) { out.print(e.getMessage()); e.printStackTrace(); } to get more information.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Try to find the output in the query will update data in mysql database? us

    Is it: Nationlity=? or: Nationality=?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in BBCode Using Regex

    Try: "/\[ol\](.*?)\[\/ol\]/s", // s is for "dot matches line breaks"
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Need some PHP JSON help...

    If I understand you correctly, you just need to update line 27 above, so it includes your three new variables.
  • Member Avatar for pritaeas
    pritaeas

    Revoked Solved Status for Need some PHP JSON help...

    Ok, so someone else wrote the below code for me and is on a bit of a hiatus, so I can't ask them for help. In any event, I would …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Regular Expression

    Provide test cases.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Try to find the output in the query will update data in mysql database? us

    I meant the order of the code snippet. Check my lines with yours, see the difference. The parameters need to be lined up in the same order as in the …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in query

    You'll need two queries, but you can execute them in a transaction. That way if one fails to delete, the other isn't deleted either. With MySQLi you can use [multi_query](http://www.php.net/manual/en/mysqli.multi-query.php).
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in cms

    Welcome. "Best" depends on your requirements.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Windows Server vs Windows Azure

    Windows Azure provides multiple instances of a Windows Server (in the cloud) and will automatically start a new instance, if one fails. Better depends on your requirements.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Try to find the output in the query will update data in mysql database? us

    They're not in the right order: ps=con.prepareStatement("update employees set EmployeeName=?, Nationality=? where Employee_id=?"); ps.setString(1, EmployeeName); ps.setString(2, Nationality); ps.setInt(3, Employee_id);
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in putting another column

    Show what you tried, and what error you get.
  • Member Avatar for pritaeas
    pritaeas

    Edited Web Services

    Sir i am new to webservices and my scenario is that i want to display records from database against email and password. but when i debug webservices i recieved error. …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Web Services

    > Index was outside the bounds of the array pa = sdr.GetString(8); // for Password column Are you sure the index is 8? It starts counting at 0.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in nature of Select query in linq to sql and mvc

    > why 2nd worked exactly like i wanted Because there you select just two fields, in the first you select an entire record.
  • Member Avatar for pritaeas
    pritaeas

    Edited Hello!

    Hello everyone! My name is Ainis, I am 15 years old. I want to announce that I am starting a new project called "Learning Programming In 2 Years". I got …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Hello!

    Welcome to DaniWeb.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Create a sql Padding function

    Check `REPLICATE()`
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in link POST id onclick

    The PHP code above should go in a separate PHP file, which you can then call with the `$.post` In that PHP file echo your data with `json_encode` so it's …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in link POST id onclick

    It shows everything that `edit-homepage.php` outputs. So perhaps you want something else to happen.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in link POST id onclick

    You are passing it. `data` is what the page returns. So perhaps you want to alert that.
  • Member Avatar for pritaeas
    pritaeas

    Edited Mvc 4 Application

    Hi this is my Fisrt Article Here I made Graduation project It's Forums and social Network In MVC4 so it's Vedio about Project Cuz I didn't Upload It Yet So …
  • Member Avatar for pritaeas
    pritaeas

    Stopped Watching link POST id onclick

    Alright so this has been bugging me for a long time now... I have tried everything but I cant get it to work! So what I want to have is …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching link POST id onclick

    Alright so this has been bugging me for a long time now... I have tried everything but I cant get it to work! So what I want to have is …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in link POST id onclick

    Line 9 is javascript, you can't use PHP there. You should: alert(id);
  • Member Avatar for pritaeas
    pritaeas

    Stopped Watching putting another column

    i have wrote query to calculate TOTAL WORK TIME and Overtime of an employee based on Intime and outTime but can't figure out to put another column 'IsAbsent'. e.g. if …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching putting another column

    i have wrote query to calculate TOTAL WORK TIME and Overtime of an employee based on Intime and outTime but can't figure out to put another column 'IsAbsent'. e.g. if …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in putting another column

    You can add: CASE WHEN INtime IS NULL AND TimeOut IS NULL THEN 'Absent' WHEN INtime IS NOT NULL AND TimeOut IS NOT NULL THEN 'Present' ELSE 'Unknown' END AS …
  • Member Avatar for pritaeas
    pritaeas

    Stopped Watching PDO PHP Insert query not working

    Hi Everyone, I am struggling to fix this stupid problem I have with pdo php insert. I have this working on a different insert, but for some reason, this is …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching PDO PHP Insert query not working

    Hi Everyone, I am struggling to fix this stupid problem I have with pdo php insert. I have this working on a different insert, but for some reason, this is …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in PDO PHP Insert query not working

    > Is there a list of reserved words http://dev.mysql.com/doc/refman/5.5/en/reserved-words.html > What do you mean, surround it with backticks? $stmt = $conn->prepare('INSERT INTO S4HCandidate_Cv (uid, `keys`, statement, interests) VALUES(:uid, :keys, :statement, …
  • Member Avatar for pritaeas
    pritaeas

    Stopped Watching PDO PHP Insert query not working

    Hi Everyone, I am struggling to fix this stupid problem I have with pdo php insert. I have this working on a different insert, but for some reason, this is …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching PDO PHP Insert query not working

    Hi Everyone, I am struggling to fix this stupid problem I have with pdo php insert. I have this working on a different insert, but for some reason, this is …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in PDO PHP Insert query not working

    Keys is a reserved word, so you need to surround it with backticks.
  • Member Avatar for pritaeas
    pritaeas

    Stopped Watching PHP- magento

    How to create extension module in magento ?
  • Member Avatar for pritaeas
    pritaeas

    Began Watching PHP- magento

    How to create extension module in magento ?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in PHP- magento

    http://www.magentocommerce.com/magento-connect/create_your_extension/
  • Member Avatar for pritaeas
    pritaeas

    Stopped Watching PHP die Exit status = 0?

    Hi DW community. I had an unusuall fix made the other day for one service and wanted to find out exacly what happened. The situation was the following: For this …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching PHP die Exit status = 0?

    Hi DW community. I had an unusuall fix made the other day for one service and wanted to find out exacly what happened. The situation was the following: For this …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in PHP die Exit status = 0?

    Although you are correct in theory, apparently something else happens too, although I'm unsure what. Can you confirm which HTTP status is returned after `die()`? Is it still `200 OK`?
  • Member Avatar for pritaeas
    pritaeas

    Edited PDF File sending using phpmailer

    Hi all , I have written code for sending mail with pdf file as attachment , but mail sending is not working. I used class.phpmailer.php. The files are attached herewith …
  • Member Avatar for pritaeas
    pritaeas

    Edited Replying to Forum Posts without javascript

    Heya! Okay, so I was able to register without using javascript. I am able to update my profile without javascript. I can login without javascript, and even send private messages …
  • Member Avatar for pritaeas
    pritaeas

    Stopped Watching Finding a post from a user

    There was a user named Mitja Bonca wich spent a lot of his time on the C# section. Before a year ago i ve seen a algorithm that he did …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching Finding a post from a user

    There was a user named Mitja Bonca wich spent a lot of his time on the C# section. Before a year ago i ve seen a algorithm that he did …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Finding a post from a user

    How about going to his profile and browse through his [replies](http://www.daniweb.com/members/522915/Mitja-Bonca/posts).
  • Member Avatar for pritaeas
    pritaeas

    Stopped Watching Help regarding a sql query

    Structures of my tables are as follow. Table Name : timetable [Image1](http://www.4shared.com/download/MYafV7-6ce/timetableTable.png) Table Name : slot_table [image2](http://www.4shared.com/download/9Lp_CBn2ba/slot_table.png) Table Name : instructor(this table is not required for this particular problem) I …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching Help regarding a sql query

    Structures of my tables are as follow. Table Name : timetable [Image1](http://www.4shared.com/download/MYafV7-6ce/timetableTable.png) Table Name : slot_table [image2](http://www.4shared.com/download/9Lp_CBn2ba/slot_table.png) Table Name : instructor(this table is not required for this particular problem) I …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Help regarding a sql query

    An SQL dump of your table structures with some data would be more useful than images.
  • Member Avatar for pritaeas
    pritaeas

    Stopped Watching [Suggestion] Make the user info also as a static header

    I kinda like the idea behind the static/fixed header, but I was wondering if there's any chance to actually extend it, and add the user information to it, like this: …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching [Suggestion] Make the user info also as a static header

    I kinda like the idea behind the static/fixed header, but I was wondering if there's any chance to actually extend it, and add the user information to it, like this: …

The End.