• Member Avatar for pritaeas
    pritaeas

    Replied To a Post in ExecuteScalar requires an open and available Connection. The connection's c

    Sounds like you need to open your connection, before using the command.
  • Member Avatar for pritaeas
    pritaeas

    Began Watching Using traits instead of dependency injection

    Having just found 'traits' - see http://www.daniweb.com/web-development/php/threads/468928/php-trait-method-conflicts-trait-inheritance#post2043565 I was wondering whether they could be used to share a DB connection object across disparate classes, or would the old singleton or …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Using traits instead of dependency injection

    I like the introduction [here](http://www.sitepoint.com/using-traits-in-php-5-4/) but I'm afraid traits will most likely be used like global functions. Most applications I've seen so far are dubious, more play than proper design. …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in AutoVue ActiveX

    > use reflection Worth a shot... tomorrow ;)
  • Member Avatar for pritaeas
    pritaeas

    Began Watching PHP trait method conflicts: trait "inheritance"

    This started out as `I love PHP traits! I'm going to use them everywhere! ^_^` and now it has turned into a `Thought Exercise / Learning Experience >_<`. Consider the …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in PHP trait method conflicts: trait "inheritance"

    > Could you please provide a sample of code When I get some time, I'll see if I can make any sense of it. Althoug I don't think I've got …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in AutoVue ActiveX

    Can't see. Not feeling like decompiling atm.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in AutoVue ActiveX

    That's why I was hoping someone had experience with this. I forgot to mention that an older version could set BgColor as a property, but it's not included in this …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching PHP trait method conflicts: trait "inheritance"

    This started out as `I love PHP traits! I'm going to use them everywhere! ^_^` and now it has turned into a `Thought Exercise / Learning Experience >_<`. Consider the …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in PHP trait method conflicts: trait "inheritance"

    > How do I resolve method conflicts in traits? Is it possible to achieve overlapping trait "inheritance"? If so, what is the "right" way to do this? > No having …
  • Member Avatar for pritaeas
    pritaeas

    Created AutoVue ActiveX

    Anybody familiar with AutoVue? Am using Desktop V20.2.2 embedded in a WinForm. Am looking if it's possible to set the background color. So far I haven't found any conclusive answer …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching AutoVue ActiveX

    Anybody familiar with AutoVue? Am using Desktop V20.2.2 embedded in a WinForm. Am looking if it's possible to set the background color. So far I haven't found any conclusive answer …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching api

    how to create a api in php mysql step by step process. kiendely help me i am new to this api process.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in api

    What kind of API do you want to build? A good tool to help you build a REST API is [Restler](http://luracast.com/products/restler).
  • Member Avatar for pritaeas
    pritaeas

    Began Watching Order by non index

    Hey all, I have a query like this one: `select * from topic order by topic_view_time limit 10` the topic table has a PK topic_id and some other varchar fields. …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Order by non index

    You can set a normal index on topic_view_time.
  • Member Avatar for pritaeas
    pritaeas

    Began Watching mysql_fetch_array

    What's wrong with this code: <?php include('include/con_database.php'); $result2 = mysql_query("SELECT * FROM banner ORDER BY DESC"); while ($data2 = mysql_fetch_array($result2)){ echo '<td>'.$data2['images'].'</td>'.'<br>'; } ?> Warning: mysql_fetch_array(): supplied argument is not …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in mysql_fetch_array

    Your ORDER BY is missing a column name.
  • Member Avatar for pritaeas
    pritaeas

    Began Watching Error

    What is 404 error in when we open a url?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Error

    It's a server response stating that the requested page does not exist.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Drag and Drop

    > dragdrop doesn't do what you want to do natively Indeed. I'll give it a try.
  • Member Avatar for pritaeas
    pritaeas

    Began Watching Error on my large int system

    My program doesn't have compile-error but it sometime struck in 201 runtime-error. I don't know why, please someone help me. Here is my program: program TestNumber; uses crt; const fi='D:\program\text\ipTestNumber.txt'; …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Error on my large int system

    If you step through the code with the debugger, where does it break? 201 is a range-check error IIRC, so probably an index goes out of range.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Drag and Drop

    The question is HOW to act accordingly.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Drag and Drop

    The problem is not identifying which item to allow, but how to cancel it's drag/drop event.
  • Member Avatar for pritaeas
    pritaeas

    Created Drag and Drop

    I have multiple listviews on a form (WinForms). List items can be dragged to other listviews. Is there a way to cancel a single item within the dragged items list? …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching Drag and Drop

    I have multiple listviews on a form (WinForms). List items can be dragged to other listviews. Is there a way to cancel a single item within the dragged items list? …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching Self introduction

    Hi everybody, my name is Andrea, I'm Italian and I stopped getting dru... OPS! Wrong thread. :D I am a PHP Developer, nice to meet you all! Best
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Self introduction

    Welcome to DaniWeb.
  • Member Avatar for pritaeas
    pritaeas

    Began Watching Log4Net

    Hi All, I am using log4net for the Logs and generated the new log file when new date is started(12AM). I need to create a log file when it will …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Log4Net

    According to [this](http://log4net.sourcearchive.com/documentation/1.2.10plus-pdfsg/classlog4net_1_1Appender_1_1RollingFileAppender.html), you should set `RollingMode.Composite`
  • Member Avatar for pritaeas
    pritaeas

    Began Watching replace placeholders

    hi, i need a way to allow my users to replace placeholders with data from my recordset in mysql. situation is: 1. the create a letter and have keywords defined …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in replace placeholders

    Based on `$row_complaint_rs` I'd use a loop to create 2 arrays containing the placeholders and the matching values, and pass those to `preg_replace`.
  • Member Avatar for pritaeas
    pritaeas

    Began Watching Query - Select ID, Show further equal results

    Hi , I am working on a list : Name Town Street House ID_Number Marco Valletta Triq l-Ajkla 10, Fl 1 53290M Mary Valletta Triq l-Ajkla 10, Fl 1 4748M …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Query - Select ID, Show further equal results

    SELECT * FROM YourTable t1 LEFT JOIN YourTable t2 ON t1.Street = t2.Street AND t1.House = t2.House WHERE ID_Number IN ('53290M', '52467M', '18536M')
  • Member Avatar for pritaeas
    pritaeas

    Began Watching Recommended reading for beginning web development!

    Hi guys! I need recommendations for books learning XHTML, CSS, PHP, MySQL, and JavaScript from scratch with best pactices.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Recommended reading for beginning web development!

    > I use a lot of <center> and <font> tags which I understand you don't use with HTML5. Even then that should've been done with CSS. ;)
  • Member Avatar for pritaeas
    pritaeas

    Began Watching Hello All

    Hello Everyone This is Nitu from GeeksPerHr.com - we provide dedicated developers to web design companies in US, UK, Canada, Australia. Trial is for just 99 cents per hr :) …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Hello All

    Welcome to DaniWeb.
  • Member Avatar for pritaeas
    pritaeas

    Began Watching Creating view in sql

    I know how to create view in sql , but I've never used it. I was wondering how creating view can be helpful and how can I use view created …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Creating view in sql

    > I was wondering how creating view can be helpful - It can simplify the query you're using in code (hiding data complexity). - You can use them to build …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching replace placeholders

    hi, i need a way to allow my users to replace placeholders with data from my recordset in mysql. situation is: 1. the create a letter and have keywords defined …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in replace placeholders

    `preg_replace` could work. Can you show the relevant piece of code?
  • Member Avatar for pritaeas
    pritaeas

    Began Watching My php file retrieve all data from datebase using PHP PDO?

    HI I'm working with a php script and connecting via PDO to a database My php file retrieves all data from datebase when I selected one radio button for example …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in My php file retrieve all data from datebase using PHP PDO?

    Like I said before, remove the brackets: <form action="42aphp.php" method="post"> 2GB <input type="radio" name="programming" value="2GB"><br> 4GB <input type="radio" name="programming" value="4GB"><br> 8GB <input type="radio" name="programming" value="8GB"><br> 16GB <input type="radio" name="programming" value="16GB"><br> …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching My php file retrieve all data from datebase using PHP PDO?

    HI I'm working with a php script and connecting via PDO to a database My php file retrieves all data from datebase when I selected one radio button for example …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in My php file retrieve all data from datebase using PHP PDO?

    Did you set a value? $capacity = 'some value here';
  • Member Avatar for pritaeas
    pritaeas

    Began Watching check if a record exists then if it does update table if it doesn't insert

    so my newest problem! i have a save button and that save button already has the insert into query and working fine now what i wanna do is when the …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in check if a record exists then if it does update table if it doesn't insert

    > I want to be able to have confirmation before the record can be updated and im not sure if i can do that with ON DUPLICATE KEY If you …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching My php file retrieve all data from datebase using PHP PDO?

    HI I'm working with a php script and connecting via PDO to a database My php file retrieves all data from datebase when I selected one radio button for example …

The End.