• Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Email Alerts Not Working

    Sent.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Pagination last not coming up

    You should write it with if's, not with else-if's. You have a previous button when the page you are on is larger than the first page (0). You have a …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Pagination last not coming up

    if ( $page > 0 ) will be true, so "next" will be displayed. Check you logic.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Pagination last not coming up

    All these: $_GET{'page'} should be: $_GET['page']
  • Member Avatar for pritaeas
    pritaeas

    Edited Introduction

    private static void showIntro(){ String message = ""Hi everyone, my name is Rodrick. I look forward to becoming a valuable member of the DaniWeb Community"; System.out.println(message); } showIntro();
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Email Alerts Not Working

    Just got the Live Chat e-mail for Monday.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in QAAWS - How to extract data from a Query as a Web Service

    I will look for one, but atm I don't have any. Hope someone else will post some.
  • Member Avatar for pritaeas
    pritaeas

    Edited SecurityAsp

    hello guys, i am creating a web site with webform. First i created a login page when i click button i go homepage.And i added logout button in homepage, when …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Got Error in my code!

    > whats the right way? The right way for what?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in QAAWS - How to extract data from a Query as a Web Service

    Can't you just add a Service Reference to it?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Neet to get user details from google plus

    Google cannot redirect to localhost. If you use your external IP address and allow your router to forward to your machine, then it may work.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Got Error in my code!

    Line 2. You are assigning a string to a number.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Windows 10

    > yes Microsoft lets you update to 10 for free http://www.theregister.co.uk/2015/06/23/microsoft_apologises_over_free_windows_10_confusion/
  • Member Avatar for pritaeas
    pritaeas

    Edited Group Rows datewise and Insert space between Rows in GridView

    in my grid data is represented as Datewise . So I want To Group the data that has same Date. and After Grouping Insert space for different Date. I tried …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in MVC Architecture

    https://www.daniweb.com/web-development/php/tutorials/476695/part-one-php-mvc-framework-understanding-the-basics
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in How do I decrypt encrypted passwords in my database.

    Each hash may have a different length. MD5 is 32 for example. Just dump one in Google, see what it says. BTW hashing is a one way algorithm, so you …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in selected index is not changing in the dropdownlist

    int selectedIndex = ((DropDownList)sender).SelectedIndex; Not sure, perhaps the combo needs to be inside the UpdatePanel for your code to work. Haven't tried.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in last insert id not working

    You say your are using PDO, but your error messages (and code) show you are using MySQLi. You cannot mix them.
  • Member Avatar for pritaeas
    pritaeas

    Edited DB2 - handling DISTINCT

    Hello, What seems so trivial, has been bugging me. I have a table with duplicate values on one column, while non-duplicate (date) values on the other. If I am to …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in OOP DB connection

    > OOP method is very safe as compared to core PHP OOP in itself has nothing to do with being safe. You can write very safe code with procedural PHP. …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Clipper / DBF error

    There are repair tools available, but I haven't used any of them. Make some copies of your DBF and download and try some.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in OOP DB connection

    `$this` can only be used within an object instance, so remove it: $db = new DB_Connect(); $db->connect(); $connection = $db->connect(); $myquery = "SELECT * FROM users"; $query = $connection->query($myquery); while($array …
  • Member Avatar for pritaeas
    pritaeas

    Edited NEW | Looking the best ASP.NET Hosting

    I’ve been looking and researching ASP.NET hosting provider for the past few weeks. Please kindly help me to choose the best hosting provider for me. I will be more details …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in shortner not working

    There is no id, so you cannot use it.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in shortner not working

    Look it up in the documentation for the API you use.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in run php script in Javascript

    You havent changed the addmarker code which i posted in my previous reply. If you put an alert, do you at least see the retutned locations?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in shortner not working

    http://php.net/manual/en/function.curl-error.php If curl_exec returns false, find out why by using the above function.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in shortner not working

    You still haven't added any error checking. You need to check the curl response, because apparently it is not returning an object with an id.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in PHP Notice: Undefined variable: email_message

    Remove the `@` before `mail` and see if you get an error. The function returns `false` if it fails, so check that too.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in How to insert and select from two tables ?

    > Error: Column 'Username' in field list is ambiguous Username appears in both tables, you need to specify which one to use by prefixing the table name.
  • Member Avatar for pritaeas
    pritaeas

    Edited I am good enough to go for it

    I am a 19 year old guy who is yet to get a CS degree from the university. I learned web development on my own from resources online. Mostly from …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in I am good enough to go for it

    Welcome to DaniWeb. I think you can. Every junior developer is a novice, even if they think they are not. Doing projects at home or school is nothing like creating …
  • Member Avatar for pritaeas
    pritaeas

    Edited How to write multiple update_batch query in codeigniter?

    Hi there , How to write multiple update_batch query in codeigniter? My script is not working ... Please give some solutions for multiple update row using update_batch... getting below Error: …
  • Member Avatar for pritaeas
    pritaeas

    Gave Reputation to diafol in run php script in Javascript

    >map still does not load Heh heh. So funny. Been laughing for minutes at that. OK, prit - get on with it. You've been told what the problem is - …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in shortner not working

    That's just a notice, most likely because the call fails. I repeat, add error checking.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in shortner not working

    What does not work? Check for response errors.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in run php script in Javascript

    Debug. Which part fails? I hate guesswork, and "does not work" is not helpful at all.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in shortner not working

    https://developers.google.com/url-shortener/v1/getting_started#shorten That is what you should send. [Sample on SO](http://stackoverflow.com/questions/13066919/google-api-url-shortener-with-php).
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in shortner not working

    Did you register it with goo.gl? https://developers.google.com/url-shortener/v1/getting_started
  • Member Avatar for pritaeas
    pritaeas

    Edited min in o(1)

    I want to find min in o(1) and each time min is called min should be deleted static ArrayList <Integer> numbers = new ArrayList <Integer> (); static ArrayList <Integer> min …
  • Member Avatar for pritaeas
    pritaeas

    Edited shortner not working

    <?php if (!$connection) { die('Could not connect: ' . mysql_error()); } $urlinput=mysqli_real_escape_string($connection, $_POST['url']); $id=rand(10000,99999); $shorturl=base_convert($id,20,36); $link = "https://goo.gl/$shorturl"; $sql = "insert into shortenedurls (id, url, shortened, uid) values ('$id', '$urlinput', …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in run php script in Javascript

    `function addMarker(lat,lng,info)` takes only three arguments so change the call to: addMarker( data.locations[i].latitude, data.locations[i].longitude, data.locations[i].site + ' ' + data.locations[i].pollution);
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in PHP Notice: Undefined variable: email_message

    To resolve the notice change: $email_message .= to: $email_message = only on line 21. I doubt this will solve your issue though.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Email Alerts Not Working

    There is improvement, the Live Chat e-mail was now only a day late ;)
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in run php script in Javascript

    Something like this: $.ajax({ url: 'connection.php', dataType: 'json' }) .done(function (data) { if (data.locations) { for (var i = 0; i < data.locations.length; i++) { addMarker( data.locations[i].latitude, data.locations[i].longitude, data.locations[i].site, data.locations[i].pollution); …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in run php script in Javascript

    Do an AJAX call to your script, have your PHP script return JSON, and based on the JSON execute the addMarker function. http://api.jquery.com/jQuery.ajax/
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in delete record not working

    > delete record not working What is not working exactly?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in can we fetch all timezones as dropdown in joomla?

    http://php.net/DateTimeZone.listIdentifiers
  • Member Avatar for pritaeas
    pritaeas

    Edited How to get users id in php mysql

    <?php $this->user_id = $_SESSION['user_id']=$user->id; //create a database connection mysql_connect("host","user","pass") or die("Error:".mysqlerror()); //select database mysql_select_db("db"); ?> <html> <body> <link href="tab.css" rel="stylesheet" type="text/css" media="all" /> <table id="box-table-b"> <tr> <th>User ID</th> <th>Status</th> <th>I.P</th> …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in oracle app

    Can you explain in more detail?

The End.