• Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Hello Guys

    Welcome to DaniWeb.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in mysql_fetch_array() expects parameter 1 to be resource

    The `paginate` method returns `false` if there are no records, yet you do not check if it does. if ($pager->paginate()) { while ($data = mysql_fetch_array($result)) { /**/ } } else …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Online Survey in PHP

    You can't disallow this completely, unless they have to login. You can store something in a cookie though, but that can be deleted.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in mysql_fetch_array() expects parameter 1 to be resource

    Use `mysql_error()`
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in mysql_fetch_array() expects parameter 1 to be resource

    Just check what error is returned. Then you'll know what to fix. Trial and error usually takes a lot longer.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Online Survey in PHP

    It would be easier if you stored the ID in a hidden input field in your question form, and pass it along to the update script.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in mysql_fetch_array() expects parameter 1 to be resource

    There is an error in your query. Check for errors to see what error MySQL returns first.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in add the user info at vb to access

    It's the single quote in your address. It needs escaping.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Reasons You Get Down-Voted

    Your code is so bad, my eyes are bleeding.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Online Survey in PHP

    UPDATE atab SET $answer = $answer + 1 WHERE qid = $id And reference the correct question id in your form. I assume that both `qtab` and `atab` are using …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Online Survey in PHP

    I think your update query should be an insert query. What is the structure of your `atab` table?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Class is inaccessible due to its protection level

    Default access is `private`, so making your properties `public` will solve this. public class TCard { public int suit; public int rank; }
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in add the user info at vb to access

    That means that the query you are trying to execute is faulty. Show the query if you need more information about what exactly is wrong.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in HELP

    Did you try the HP support website?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in PHP to pull multiple table info from MYSQL db into select drop downs

    https://www.daniweb.com/web-development/php/code/476623/ajaxed-linked-dropdowns-select-fields-for-volatile-data
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in How can i know in witch line of the select is the information that i need?

    SELECT @line := @line + 1 AS line, persons.* FROM persons, (SELECT @line := 0) temp
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in insert data into mysql by usin onchane event

    You have to use a Javascript (or jQuery) AJAX to call a PHP script to perform a MySQL insert.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in VB add the user of information to the access database

    Your query is wrong: `([UserName]` is breaking it. Looks like you copied something, but didn't get all of it. An insert query should look like this: Dim sql As String …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Show Data from 2 different Database

    SELECT DB2.processed_trans.Ra_num FROM DB2.processed_trans UNION SELECT DB1.processed_trans.Ra_num FROM DB1.processed_trans
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Show Data from 2 different Database

    Are you looking for `UNION` ?
  • Member Avatar for pritaeas
    pritaeas

    Edited mulitple delimeters problem

    So I'm trying to remove 2 brackets from lines I'm reading from a file. For some reason when I run my program the characters in between the delimeters is removed. …
  • Member Avatar for pritaeas
    pritaeas

    Edited in seo what is the dublin core??????

    i was analysing my site through the online tool then i found out that my site has missing dublin core.Then i asked abou it to my friend who has th …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Asalamalikum

    Welcome to DaniWeb.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in need someone who can add to this code please!

    > What i need this to do is delete what is inside the div eliment already before it writes the the div again. What is the before and after situation?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in creating master pages

    Yes, it's doable. In your content pages you can just state that you are uing a master page: <%@ Page Language="C#" MasterPageFile="~/Site.Master" CodeBehind="Content.aspx.cs" Inherits="Content" %> My master page contains: <asp:ContentPlaceHolder …
  • Member Avatar for pritaeas
    pritaeas

    Marked Solved Status for WCF server to server security

    I have two servers in different locations (not within the same LAN). Both have a WCF client and WCF server. The WCF client on one server connects to the WCF …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in copying asp.net site on the server

    If you publish your web project, you should have all the files they need to put on the server. If you accept file uploads or need logging, you may need …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in How to make Collapse jQuery or Collapse Bootstrap multiple level?

    Do you mean something like [this](http://www.jqueryscript.net/menu/Bootstrap-Style-Vertical-Accordion-Menu-with-jQuery-CSS3-bs-leftnavi.html)? It's a vertical accordion menu. Lots of stuff to find about them.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Hi!

    Welcome to DaniWeb.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in it is being by another process when copy file from local disk to folder in

    > give me error the process cannot access the file it using by another process file Are you perhaps viewing the folder your file is in with the Windows Explorer?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Hello !

    Welcome to DaniWeb.
  • Member Avatar for pritaeas
    pritaeas

    Edited Bandwidthd Phusion Passenger

    Hi Guys, I'm just wondering if I can install bandwidthd using Apache/2.2.15 (Unix) DAV/2 Phusion_Passenger/4.0.46 configured? Thanks
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in validation, what to do

    > how do I kick the validation off in the first place? Line 1 above triggers the validation. If you put that first in your `SubmitData` event handler, all validators …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Reward points cashout

    https://www.daniweb.com/community-center/daniweb-community-feedback/threads/477757/get-paid-to-answer-questions
  • Member Avatar for pritaeas
    pritaeas

    Edited Localizing texts

    I have the following: <h1><asp:Literal runat="server" Text="<%$ Localize:LoginRequest %>"/></h1> <fieldset> <legend></legend> <input runat="server" class="form-control" placeholder="E-mail" type="text" /> <input runat="server" class="form-control" placeholder="Password" name="password" type="password" value="" /> <button runat="server" type="submit" class="btn btn-default"><asp:Literal …
  • Member Avatar for pritaeas
    pritaeas

    Marked Solved Status for BootStrap fluid 2-column form

    I want to design a fluid two-column form with BootStrap. What is the best way to tackle this? Do I start with a fluid container and two columns, and then …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in BootStrap fluid 2-column form

    Sigh... Ok. Visual Studio it was. While doing tests tring to fix this, the original `Site.css` VS creates was restored which contains a `max-width` for inputs... To quote Homer: "DOH!"
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in BootStrap fluid 2-column form

    It works online with bootply. The difference is that it's a later version of Bootstrap. I've tried updating my project, but got an exception in the process... Looks like it's …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in BootStrap fluid 2-column form

    > I'm struggling simply because everything looks fine with the mark-up above. Same here. What I had was close to your example, cept that it looks crap. Quick "solution" is …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in BootStrap fluid 2-column form

    I have `span` ...
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in BootStrap fluid 2-column form

    > can you change the tag from a div to a span please? Which one? I don't see a difference.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in BootStrap fluid 2-column form

    Thanks. Basically that's what I want, but the problem is the `input-group-addon` (I think). It's not connecting both parts, see attached (both Opera and IE). It works if I put …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in BootStrap fluid 2-column form

    Thanks, the three-column example is useful. I had the form already, just problems with scaling it correctly (due to lack of bootstrap knowledge). Here's the form (for now). The addon …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching BootStrap fluid 2-column form

    I want to design a fluid two-column form with BootStrap. What is the best way to tackle this? Do I start with a fluid container and two columns, and then …
  • Member Avatar for pritaeas
    pritaeas

    Created BootStrap fluid 2-column form

    I want to design a fluid two-column form with BootStrap. What is the best way to tackle this? Do I start with a fluid container and two columns, and then …
  • Member Avatar for pritaeas
    pritaeas

    Began Watching Localizing texts

    I have the following: <h1><asp:Literal runat="server" Text="<%$ Localize:LoginRequest %>"/></h1> <fieldset> <legend></legend> <input runat="server" class="form-control" placeholder="E-mail" type="text" /> <input runat="server" class="form-control" placeholder="Password" name="password" type="password" value="" /> <button runat="server" type="submit" class="btn btn-default"><asp:Literal …
  • Member Avatar for pritaeas
    pritaeas

    Created Localizing texts

    I have the following: <h1><asp:Literal runat="server" Text="<%$ Localize:LoginRequest %>"/></h1> <fieldset> <legend></legend> <input runat="server" class="form-control" placeholder="E-mail" type="text" /> <input runat="server" class="form-control" placeholder="Password" name="password" type="password" value="" /> <button runat="server" type="submit" class="btn btn-default"><asp:Literal …
  • Member Avatar for pritaeas
    pritaeas

    Edited Does W3C validations causes ranking to drop?

    My new website's page showing **63** w3c validation errors. I want to know does this will affect my ranking?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in INSERT vs INSERT IGNORE vs ON DUPLICATE KEY

    > does it make more sense to use INSERT and let the MySQL error out as opposed to using INSERT IGNORE? I've used this once in the past on a …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in query return results from multiple database

    > i have to change all queries which is not possible. You'll have to change something. Change the query, write a view or stored procedure. You can't get this information …

The End.