8,966 Posted Topics
Re: Can't you just add a Service Reference to it? | |
Re: 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. | |
Re: https://www.daniweb.com/web-development/php/tutorials/476695/part-one-php-mvc-framework-understanding-the-basics | |
Re: You say your are using PDO, but your error messages (and code) show you are using MySQLi. You cannot mix them. | |
Re: 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 can't just make the passwords readable again. | |
Re: `$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 = mysqli_fetch_array($sql)) { echo $array['username'] . '<br />'; } $connection->close(); IMO It's a little weird to have a database wrapper … ![]() | |
Re: I can't think of any payment provider that will not charge a fee. ![]() | |
Re: Did you register it with goo.gl? https://developers.google.com/url-shortener/v1/getting_started | |
Re: I just tried to move a thread and got this: This webpage has a redirect loop The webpage at https://www.daniweb.com/community-center/threads/496409/seo#post2171990 has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and … | |
Re: 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/ | |
Re: Status and name are in the reserved word list, so should be in backticks. https://dev.mysql.com/doc/refman/5.5/en/keywords.html | |
Re: To resolve the notice change: $email_message .= to: $email_message = only on line 21. I doubt this will solve your issue though. | |
Re: > 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. | |
Re: 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 production code for a client under a deadline. I do suggest learning more Javascript and maybe experimenting with a PHP … | |
Re: > For example, the constant pi is not needed in any shape with only straight lines That's debatable: perhaps in the future you'll want to extend your class with a method to determine the smallest circle your shape is in ;) An abstract class is like a blueprint (similar to … ![]() | |
Re: > delete record not working What is not working exactly? | |
Re: http://php.net/DateTimeZone.listIdentifiers | |
Re: Here is a [tutorial](https://www.daniweb.com/web-development/php/tutorials/437592/introduction-to-phps-object-orientation) I wrote specifically for PHP. | |
Re: > form.score.value There is no input called score, you have it commented out. | |
Re: I don't know what code you have, but I think it would be easiest if you first create a new dataset from the original one. | |
Re: If you enable PDO exception handling, then you might be able to find out more about the error. Read [here](https://www.daniweb.com/web-development/php/code/435142/using-phppdo-with-error-checking) how to do that. Also check line 35. | |
Re: > Could you please suggest your maximum no of 'Mysql' queries to approach this Just one I think: SELECT * FROM table GROUP BY percentage, product HAVING COUNT(*) = 1 | |
Re: Saving automatically requires Javascript. Is that what you want, saving when you leave a field? | |
Re: Does a simple SELECT without a WHERE return results? | |
Re: Are you sure that your SELECT returns any rows? | |
Re: I don't see any code that does something with your mysql_query result, is this really all? | |
Re: `id` should be unique, that's what you use `class` for. | |
Re: > I gather that I will need to probably use jquery to do a ajax post to trigger the PHP? Correct. What kind of list are you using, an `li` ? $(document).ready(function() { $('li').on('click', function () { // $(this) points to the clicked li, if you need it's attributes // … | |
Re: > i need a PHP code for this input You can get help here, nobody will write it for you. So what have you tried? | |
Re: var name = $("#name").val(); | |
Re: > create that final year project idea generator Excellent project idea! (reminds me of [this](http://dack.com/web/bullshit.html)). ![]() | |
Re: Post the relevant part of the generated HTML for the table. | |
Re: > String was not recognized as a valid DateTime Can you show the Javascript code you are using to call this webservice? | |
Re: > can i create my own framework Sure you can. It's just a collection of reusable components and some default business logic. Start small and let it grow slowly. Think about the right architecture before you start building all kinds of stuff though. ![]() | |
Re: > i need this a.s.a.p People here help you voluntarily, do not say you need it NOW, because they really don't care. They will help you when they have time and want to help you. Stamping your feet will make them think twice. | |
Re: What is the reason that you use DELETE/INSERT instead of UPDATE, are the rows that different? | |
Re: I suggest you echo the query, then run it against your database to see what happens. | |
Re: Why don't you edit/update your career profile, and add a signature to your profile, stating "available for work". Although I could see a use for an "available for hire" option/list/thingamadoodle. | |
Re: What's the error, still the same? What kind of application or you building? Try `HttpClient` and see if that works. | |
Re: You can by adding `style` but using a `class` would be nicer, so you can then address any styling via CSS. You can also just use CSS on the `a` tag. | |
Re: What line is the error on? One of the functions is returning an object, yet you are trying to use it as a string. | |
Re: Width auto uses the (inherited) width of the parent container. Use the DOM/debugger tools to find which parent has a specific width set. | |
Re: Show the code you have for retrieving your items. |
The End.