-
Replied To a Post in Email Alerts Not Working
Sent. -
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 … -
Replied To a Post in Pagination last not coming up
if ( $page > 0 ) will be true, so "next" will be displayed. Check you logic. -
Replied To a Post in Pagination last not coming up
All these: $_GET{'page'} should be: $_GET['page'] -
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(); -
Replied To a Post in Email Alerts Not Working
Just got the Live Chat e-mail for Monday. -
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. -
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 … -
Replied To a Post in Got Error in my code!
> whats the right way? The right way for what? -
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? -
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. -
Replied To a Post in Got Error in my code!
Line 2. You are assigning a string to a number. -
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/ -
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 … -
Replied To a Post in MVC Architecture
https://www.daniweb.com/web-development/php/tutorials/476695/part-one-php-mvc-framework-understanding-the-basics -
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 … -
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. -
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. -
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 … -
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. … -
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. -
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 … -
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 … -
Replied To a Post in shortner not working
There is no id, so you cannot use it. -
Replied To a Post in shortner not working
Look it up in the documentation for the API you use. -
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? -
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. -
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. -
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. -
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. -
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 … -
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 … -
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: … -
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 - … -
Replied To a Post in shortner not working
That's just a notice, most likely because the call fails. I repeat, add error checking. -
Replied To a Post in shortner not working
What does not work? Check for response errors. -
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. -
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). -
Replied To a Post in shortner not working
Did you register it with goo.gl? https://developers.google.com/url-shortener/v1/getting_started -
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 … -
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', … -
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); -
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. -
Replied To a Post in Email Alerts Not Working
There is improvement, the Live Chat e-mail was now only a day late ;) -
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); … -
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/ -
Replied To a Post in delete record not working
> delete record not working What is not working exactly? -
Replied To a Post in can we fetch all timezones as dropdown in joomla?
http://php.net/DateTimeZone.listIdentifiers -
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> … -
Replied To a Post in oracle app
Can you explain in more detail?
The End.