• Member Avatar for pritaeas
    pritaeas

    Edited adding a score and a reset to my program/ PLEASE HELP

    HI i'm writing a quiz for school and i don't know how to add a restart to the program or a score. Here is my code. -with the restart i …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Generating unique code based on a category

    If you use a composite PK in your users table, your auto increment will work as expected.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in ASP.NET MultiView scroll to top

    Solved using jQuery's `$().scrollTop(0)`. Thanks to the rendering of the RadPane I'd been looking at the wrong element.
  • Member Avatar for pritaeas
    pritaeas

    Marked Solved Status for ASP.NET MultiView scroll to top

    I have a MultiView in a part of a WebForms page (within a RadPane which is a Telerik component). It contains two Views, an overview and a detail view. When …
  • Member Avatar for pritaeas
    pritaeas

    Edited Android Application Training

    How to create a basic website in html?
  • Member Avatar for pritaeas
    pritaeas

    Created ASP.NET MultiView scroll to top

    I have a MultiView in a part of a WebForms page (within a RadPane which is a Telerik component). It contains two Views, an overview and a detail view. When …
  • Member Avatar for pritaeas
    pritaeas

    Edited Android training and placement

    how to create a android app?
  • Member Avatar for pritaeas
    pritaeas

    Edited event handlers: anonymous inner class or not

    Hi guys, with event handlings it seems that there are 2 approaches: 1)using an anonymous inner class 2)using a normal inner class. From what I can see if you have …
  • Member Avatar for pritaeas
    pritaeas

    Edited Unable to display correct current date

    Hi everyone, am trying to display current date/today's date in php but the output is as below. Please advise. Thanks. <?php $Currentdate2 = date('d-m-y'); echo $Currentdate2; ?> Output: Current date: …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in help with setinterval in Chrome

    Do you see a value returned in the debugger tools?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in help with setinterval in Chrome

    If you put an alert in the success function, do you see it pop up? If not, then there is something wrong with yoxi.php and/or getirus.php
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in help with setinterval in Chrome

    I showed you a link. The code you need is there. I suggest you read it, and then try it.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in help with setinterval in Chrome

    You're code is flawed. `xhr.ResponseText` may not have a value right after sending because the request is asynchronous. Read more [here](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/Using_XMLHttpRequest).
  • Member Avatar for pritaeas
    pritaeas

    Edited Bug in Discussion posting system

    I have noted a bug when submitting a post to a discussion thread. Twice now, I have tried to submit something that the system "thinks" is code. I guess it …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Sql server installation

    > what is difference between sql server and sql server management studio? SQL Server is the actual database server. SQL Server Management Studio is a GUI to simplify creating tables, …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in searching database using multiple keyword separated by comma's

    You might also want to have a look at the [FIND_IN_SET function](https://dev.mysql.com/doc/refman/5.7/en/string-functions.html#function_find-in-set). Also, I made a [specific example](https://www.daniweb.com/programming/web-development/code/460663/article-tagging-example) on how you can use tags and search them the right way.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Barcode scanner to scan tools in asp.net using vb

    > is there any codings involved?? in scanner Usually not. If you have a keyboard wedge scanner as rproffitt said, you can only configure them if you need to. You …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Problems Encoding string with delphi

    Here is a more recent example: http://stackoverflow.com/questions/18122219/aes-crypt-delphi-php-corrupted-output
  • Member Avatar for pritaeas
    pritaeas

    Edited Java, Constructor that MUST EXPLICITLY call super

    Is there a way to require a subclass to call super explicitly in it's constructor?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in searching database using multiple keyword separated by comma's

    $keyword = mysql_real_escape_string( trim($_POST['keyword'])); $keywords = split(' ', $keyword); foreach ($word in $keywords) $queryKeyword[] = "'%$word%'"; $where = implode(' OR keyword LIKE ', $queryKeyword); $sql = "SELECT title FROM search …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Dynamically add forex data points to Shield UI JavaScript Chart

    If they don't support it, then only refreshing the chart can work (but not recommended). However, I think this question is more suited to be asked to Shield support.
  • Member Avatar for pritaeas
    pritaeas

    Edited How to pass the variables in html

    <img src="D:/nameoffolder/?src='$[description]'" width="50px" /> <input type="text" name="description" /> <input type="file" name="file" /> <input type="submit" /> uploaded image to be displayed at the same time. Here i can get the path …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in FAQ

    Just set the color of the fa classes.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Loop with ads

    Can you explain? It is not clear what your problem is.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Audio mix/fade

    See the answer [here](http://stackoverflow.com/questions/28475791/sound-clipping-clicking-when-lowering-volume-with-naudio).
  • Member Avatar for pritaeas
    pritaeas

    Edited C++

    I'm getting these types of errors: identifier "gm" is undefined or expected a ';' How do I fix these errors? #include <iostream> #include <cstdlib> //srand #include <ctime> //time #include <cmath> …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in what is mysql correct syntax

    You're right. Guess I've been stuck with the ansi_quotes setting for too long.
  • Member Avatar for pritaeas
    pritaeas

    Edited Open Mp3 file with OpenFileDialog and return the full path in LPCWSTR

    **I was wondering if a mp3 file can be opened with OpenFileDialog box and the whole path of the mp3 file is returned in constant unicode character, i.e. LPCWSTR. I …
  • Member Avatar for pritaeas
    pritaeas

    Edited addition program

    I need some help in that program to read 2 numbers and print sum of them the program will be tested on one or more test cases. The first line …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in what is mysql correct syntax

    Your quotes are wrong, MySQL needs single quotes: $values = "('$mobile', '$routeID', 'INVALID')";
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in About Dazah

    I agree, take charge of **your** product.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Disable select/option inside echo

    Basically it does this: if ($stat =='a') $disabled = 'disabled'; else $disabled = ''; See: http://php.net/manual/en/language.operators.comparison.php Scroll down to "Ternary operator".
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in MSSQL Linked to A webpage with PHP hosted on IIS-8

    Shouldn't you be using `mssql_connect` instead ?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Disable select/option inside echo

    $disabled = $stat =='a' ? 'disabled' : ''; echo "<select name='name' id='name' $disabled>";
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in How to build search engine for website using sql server

    It gets easier if your keywords column would be changed to a link table where each keyword is linked separately. If have written a tagging example for PHP/MySQL that can …
  • Member Avatar for pritaeas
    pritaeas

    Edited Java-Factors program

    I tried to make a program that would give the whole factors for an inputed number. When i run it throught the command prompt it gives me a bunch of …
  • Member Avatar for pritaeas
    pritaeas

    Edited Java- Hollow Asterisk Squares

    I am trying to write a program where the user can enter a height and width and it creates a hollow box of asterisks. I can get the stars to …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in introduction

    Welcome to DaniWeb.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Having issues with mysqli query can any one help

    You marked the other one solved, that's why I figured this was a repost.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in MSSQL Linked to A webpage with PHP hosted on IIS-8

    On line 16 remove the comma at the end (after col6). Although that should end the code on line 20 with an error instead of rendering what you are showing.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in MSSQL Linked to A webpage with PHP hosted on IIS-8

    > My current connection and echo code is as follwed And what is the question?
  • Member Avatar for pritaeas
    pritaeas

    Edited Friend system but having some issues

    Hello, I tried to created a social networking system in which I created a part of adding friends so the problem I am having if the firend is not in …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Friend system but having some issues

    https://www.daniweb.com/programming/web-development/threads/500323/having-issues-with-mysqli-query-can-any-one-help- You could have replied here... Closing this one.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in php - error download file from my wamp server

    http://php.net/manual/en/function.mime-content-type.php
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Count values in multidimensional array

    Just add an array keeping the sum of all your columns. Add the values inside the loop, divide and display after the loop.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Count values in multidimensional array

    What exactly do you want to count?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Friend system but having some issues

    > Add a friend button is not working What exactly is not working? Next time please write your question with some punctuation. It's very hard to read.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Need some help outputing data to my view in codeigniter

    Can't you use image_name as the src for an img tag?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in php - error download file from my wamp server

    A file is unlikely to have all those content-types. It cannot be an mp4 AND a pdf. You need code to choose just one. You might also want to set …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in MySQL Foreign Keys

    CREATE TRIGGER members_username AFTER UPDATE ON members FOR EACH ROW update posts set posts.username = NEW.username where posts.userid = NEW.userid This works for me.

The End.