8,966 Posted Topics
Re: data should be json and not a string, try: data: { presc1: presc1, aviad1: aviad1 } | |
Re: I have to make a feature request though. Would you be so kind as to block url's in the chat. It's getting spam links now too, instead of just links to threads with help me requests. | |
Re: > If you are faced with a previous coder who took all sorts of rabbit trails in his code You can use tools like ReSharper to help you identify code issues quickly. They analyze the codebase, tell you possibly issues and what code isn't even used. Next to that running … | |
Re: Between those two, option two. Otherwise, it depends on the method. If it does validity checks, the method might be named: private bool ItemExists() making it clear enough without using `== true`. However if your method does processing that can fail (and that is why you return true for success, … | |
Re: > upload all the images with one upload field I'd suggest using a tool like [plUpload](http://www.plupload.com) or [dropzone](http://www.dropzonejs.com) for this. ![]() | |
Re: I guess you found that calculation on an old thread somewhere. Database servers have moved on since then and provide you with built-in geo functions: https://dev.mysql.com/doc/refman/5.6/en/spatial-relation-functions-object-shapes.html#function_st-distance | |
Re: You're missing quotes: SELECT * FROM table WHERE modify_date > '2015-09-29 13:50:13' | |
Re: echo "<tr><td>" . $rowa['pid'] . "</td><td><a href='yourpage.php?id={$rowa['pid']}'>" . $rowa['prno'] . "</a></td></tr>"; | |
Re: > How do I mark solved? Top right of the page, large blue button. | |
Re: If you use ajax to call your controller with json data, then mvc will take of converting that into your viewmodel on the server-side. You can then use the viewmodel results to pass back json data. Perhaps [this link](http://www.codeproject.com/Articles/795483/Do-GET-POST-PUT-DELETE-in-asp-net-MVC-with-Jquery) may help. | |
Re: If this is referring to the code in your other thread, do note that indices start at zero and not one. So check your for loop. If that's not it, provide some more code (including the loop) so we can see what happens with your variable $i. | |
Re: Am not entirely sure what you want. If you want to remove the ::after from the css, you could insert a span at the position you want and style that. | |
https://www.daniweb.com/programming/web-development/code/497022/automatic-facebook-post-bumper Inline code snippets are much smaller then the snippets in the code part of a code snippet article. Could you please make them equally small, for readability's sake? | |
Re: The bots have not been adapted to the new forum ID's yet ;) | |
I could not select article type (code snippet) when creating a new thread from the web development forum. Anything I missed? | |
Re: My bet would be the answer here: http://stackoverflow.com/questions/799060/how-to-determine-if-a-string-is-a-valid-ipv4-or-ipv6-address-in-c If you need `inet_ntop()` then have a look a PInvoke.net | |
Re: The queries don't need updating. I do suggest to switch to the mysqli or pdo extension. | |
Re: http://www.pritaeas.net/public/jquery/collapse/index.html | |
Re: What exactly doesn't work? If you echo the generated query, does it execute in phpMyAdmin? Is `$conn` a valid object? | |
Re: > Regarding your question, my personal answer would be "yes". I'm finding it really confusing. Same here. Too much space and distractions around the actual topic. I'd go as far as to state it is affecting my willingness to visit already. | |
Re: IP address: http://www.php.net/manual/en/function.gethostbyname.php HTTP status: http://www.php.net/manual/en/function.curl-getinfo.php Load time: Store start time and end time on your function. Subtract. | |
Re: I have to agree with jwenting on the oversized spacing and fonts. If I go to the PHP forum page I see FOUR articles on a 1080p screen... There's just not enough info on a single page. In this thread the number of replies within view is just TWO for … | |
When I hover over a user logo in the endorsement page, the name appears on the left hand side of my screen (Opera). At closer inspection, it appears to be a general issue with the tooltips. Same happens in my profile over the question mark buttons. | |
Re: Although a strange situation, if you can't change it, try this query: $sql = " SELECT username, password FROM `tbl_usrs` WHERE username = '{$usr}' AND password = '{$pwd}' UNION ALL SELECT email_id AS username, password FROM `nm_camping_personal` WHERE email_id = '{$usr}' AND password = '" . sha1($pwd) . "' LIMIT … | |
Re: Perhaps: output = Regex.Replace(output, @"(.*?)[ \t]+$", "$1", RegexOptions.Multiline); It searches for spaces and tabs before the newline and replaces it with everything before it. | |
Re: Can't you just use: $joinDateStr = date('l F Y H:i:s', $user_data['6']); | |
No matter what I type in the search box, it only returns links to member profiles, if any. | |
You have some serious query/caching issues. Times vary but slow nonetheless. Finder -> My Bookmarks Page generated in 26.1996 seconds with 8 database queries and 7 memcached requests using 6.01MB of memory Latest Posts Page generated in 16.5247 seconds with 5 database queries and 6 memcached requests using 4.71MB of … | |
Re: Maybe because `Jab.PatientID` is an `int` instead of a class. | |
Re: https://www.daniweb.com/software-development/cpp/threads/70096/c-books | |
https://www.eff.org/deeplinks/2015/09/one-small-certificate-web-one-giant-certificate-authority-web-encryption Let’s Encrypt is a free, automated, open-source certificate authority (CA). The goal is to revolutionize encryption on websites, making HTTPS implementation a seamless, no-cost option for anyone with a domain. Sounds interesting, what are your thoughts? | |
Re: Add a timestamp in every table and use that to determine whether or not it should be deleted. | |
Re: Can't you just fork Tipue and fix the issues for IE8? | |
Re: Most likely the 'a' is implicitly converted to an int, resulting in 0 as default value on failure. ![]() | |
Re: Perhaps [this Javascript version](http://www.movable-type.co.uk/scripts/tea.html) can help. | |
Re: You know this thread is four years old. The site may no longer support the snippet above. | |
Re: http://www.orafaq.com/faq/what_are_the_difference_between_ddl_dml_and_dcl_commands | |
Re: Your three inputs all have the same id and name. Because of that `getElementById` will always returns the first one. You can pass `this` as a parameter to your `ajax_post()`. Do that and you already have the right element, you just need to get it's value. Even if you choose … | |
Re: > But where do I calculate the total income, expenses and effective total? Just use LINQ to Entity. There is no need to store totals, unless your database gets so huge it would take too long to calculate. Am not sure I'd choose Price and Expense. To me it makes … | |
Re: Why is your $whereString before the WHERE clause? | |
Re: Could you explain the point of 160k items in a dropdown. | |
Re: Not sure why you use `load` inside the `ready` function. It's usually one or the other. What exactly is not working? | |
Re: Skype 7.8.64.102, In menu Skype - Privacy. Although sometimes some get through anyway. | |
Re: :) I was expecting someone to post that in response to your reply. | |
Re: > My code is not working What exactly is not working? Any errors? If you echo the query, what do you see? |
The End.