8,966 Posted Topics
Re: I remember asking this back in the old layout. Guess it hasn't changed since then. I do agree that it is confusing. | |
Re: <script type="application/javascript"> var eventData = [ { date:"<?php echo date('Y-m-d') ?>", badge:false, title:"Example 1" }, ]; $(document).ready(function () { $("#my-calendar").zabuto_calendar({ data: eventData }); }); </script> | |
Re: http://stackoverflow.com/questions/24007780/jquery-ajax-form-data-serialize-using-php Using jQuery's serialize to submit to PHP. | |
Re: Dump the values, run the query against the database manually with your values. Check for errors. | |
Re: > yes Microsoft lets you update to 10 for free http://www.theregister.co.uk/2015/06/23/microsoft_apologises_over_free_windows_10_confusion/ | |
Re: You mean something like this? UPDATE Codes SET Code = 783 WHERE cartId IN (SELECT cartId FROM Cart WHERE prodId = 10) | |
Re: Read [our rules](https://www.daniweb.com/community/rules) (which you agreed to when signing up), especially: *"Do provide evidence of having done some work yourself if posting questions from school or work assignments"* | |
| |
Re: @Gourav_4: That looks like Javascript, not C. You are using the minus (arithmetic) operator, so the answer is invalid. | |
Re: Replace line 10 with this: $query = mysql_query("select * from user WHERE user = ".$sId) or die(mysql_error()); and tell us what the error is. My guess is that `$sId` is not set. | |
Re: echo '<tr>' . '<td style="text-align:left">' . '<div class="describe">' . $row['im_description'] . '</div>' . '</td>' . '</tr>'; That should work. If not, what exactly is the problem? | |
Re: > you just give me php code Show your efforts and we will help if you are stuck. DO NOT ask for code. Read [our rules](https://www.daniweb.com/community/rules) (which you agreed to when signing up), especially: *"Do provide evidence of having done some work yourself if posting questions from school or work … | |
Re: select count(*) from table1 as a, table2 as b, table2 as c where a.field1 = b.field1 | |
Re: > Do you think this is an effort a significant portion of the community could get behind? Doubtful. For someone donating there is usually a "what's in it for me". What would an average user gain from donating? I am guessing that with "significant" you mean a lot more people … | |
Re: I suggest a google search. If you want help, show your efforts. Read [our rules](https://www.daniweb.com/community/rules) (which you agreed to when signing up), especially: *"Do provide evidence of having done some work yourself if posting questions from school or work assignments"* | |
Re: Just in case, [here](https://danielmiessler.com/study/encoding_encryption_hashing/) is a nice and short description of the difference between hashing and encryption. Learn the difference. ![]() | |
https://www.mnot.net/blog/2015/12/18/451 Wondering what everybody thinks about this. ![]() | |
Re: Since you check the select value against your table name, you could do a more general check and just insert the value into your query. BTW, your update queries will fail, because of the comma before the where clause. | |
Re: I think if you add more hidden links like this one: <a class="thumbnail" href=" http://aburaga.com/assets/images/products/1430.jpg" title="88" data-gallery> in the right place, that the popup will the other images too. As for returning to the page you were on, no idea. Am sure some javascript trickery (using the slide event) can … | |
Re: > drop in activity started when? When new changes went live. No. Wrong assumption, it started way earlier: https://www.daniweb.com/digital-media/digital-marketing/search-engine-strategies/news/459242/stackoverflow-stole-all-our-search-traffic | |
Re: Is there code missing in your post? Line 37 executes your query, but there is no code outputting any results. You need a similar while loop as on line 4 and 5. | |
Re: Do you have this online somewhere to see? | |
Re: What exactly is not working? Is the javascript code generated in the page source? Are there any entries/records in your table? If the javascript is generated, then it is before the doctype even. Am not sure that is the right place to put a script tag. | |
Re: Be careful with connecting to random/unknown hosts. It can get you into legal trouble. Just a warning, since it happened to me... | |
Re: You can program this yourself by using Javascript to update some information server-side, or use something like Google Analytics. You still need to add the triggers, but you won't need to register anything yourself. It all depends on what you intend to do with it. | |
Re: > Password not accepted from server This should be pretty obvious. No idea what you are trying to connect to, because the link is broken, so post your code. | |
Re: I am not entirely sure what exactly you want to display on the map, because none of your screenshots show coordinates. | |
Re: When you say "can't insert/delete", are you getting exceptions? What is (or isn't) happening exactly? | |
Re: So many examples online already, yet you cannot find a single one? ![]() | |
Re: Not all websites allow you to do that. What exactly happens in your case? Wouldn't it be easier to use your browser's password manager? | |
Re: > After I integrated it into the webapp It just would not work. What exactly does that mean? It doesn't do anything, you get exceptions, what doesn't work? | |
Re: Without knowing how your data (query result) looks it's very hard to answer. | |
Please see attached screenshot. Both threads were started by Pavan_9 but somehow it is showing maverick2020. Or is this caused perhaps by a name change.  | |
Re: Assuming your not going to take diafol's advice, here's the quick fix: $query = "INSERT INTO admin (username, hash, email) VALUES ('$username', '$password', '$email')"; | |
Re: I think he is wondering whether or not that combination of tools will make his website blazingly fast. IMO using the right tools will help make your website fast, but there are many other factors involved as well. For example, server-side caching, using a CDN where applicable, optimized images, etc. ![]() | |
Re: > $sql = 'SELECT `id`, `name`, `mime`, `size`, `created`,`Progressid` FROM `tfile` where `id`=$row['id']'; That should give an error. Try this: $sql = "SELECT `id`, `name`, `mime`, `size`, `created`, `Progressid` FROM `tfile` where `id` = {$row['id']}"; ![]() | |
Re: The above only shows your form and some validation. Where is your server side script which connects to your database? | |
Does anybody have a definite reference to whether the mimetype of an AutoCAD 3D STEP file (.stp) is `application/STEP` or `application/x-step`? | |
Re: Why don't you download Visual Studio Community Edition? | |
Re: If it is a hashed password, then it cannot be decrypted. What method did you use to hash or encrypt it? | |
Re: On what line is the exception thrown? The error states you are using an index greater than what is possible. | |
Re: Agree with ryantroop: haven't done C++ in a while, but I'd choose to generate a SQL script file and run it on the server (don't forget to use a transaction on the whole thing). | |
Re: Just use a WHERE clause comparing to the MAX date, or ORDER BY DESC. | |
Re: Read [our rules](https://www.daniweb.com/community/rules) (which you agreed to when signing up), especially: *"Do provide evidence of having done some work yourself if posting questions from school or work assignments"* | |
Re: Seems your REMOTE_ADDR is an IPv6 address containing `::1`. You cannot use colons in a filename. | |
Re: Read [our rules](https://www.daniweb.com/community/rules) (which you agreed to when signing up), especially: *"Do provide evidence of having done some work yourself if posting questions from school or work assignments"* | |
Re: You'll need to be much more specific than that. For starters: what language are you using, and what do you have so far? ![]() | |
Re: Try explicitly closing your connection at the end of your script. ![]() |
The End.