8,966 Posted Topics
![]() | Re: You might need: foreach (var row in query.Where(item => item.Status != null)) Without code/data that can be tested/debugged it's hard to find another way. ![]() |
Re: I can imagine the use and need. You could also have a time limited bounty. There are always serious questions that need to be answered "today" so to speak, to help catch a deadline (not talking about homework). I assume a solved thread can be achieved by more people, so … | |
Re: You forgot brackets around `Test Name`. | |
Re: https://www.daniweb.com/web-development/php/code/434480/using-phpmysqli-with-error-checking https://www.daniweb.com/web-development/php/code/462098/mysqli-binding-example | |
Re: One of your objects is `null`. Either `cmd`, `Request`, or `Request.QueryString("UserEmail")`. | |
Re: Technically nothing, but the ones with `$` usually help to identify jQuery elements easily. | |
Re: Am seriously considering a Nokia Lumia 1520 (6"). | |
Re: https://www.daniweb.com/web-development/php/threads/37175/waht-is-rss-feeds | |
Re: I would think that if you have to work on an existing website, you'd at least have all the details of that site. | |
Re: > the most common tasks which you are requested to perform as part of your jobs? In my experience, the most common tasks are the tiny little things a customer wants changed when he sees what he agreed to... over and over again. | |
Re: Code completion in Visual Studio (with ReSharper) quickly identifies undefined classes or paths to missing files (usually typos) and more. At home I also use PhpStorm which offers similar functionality. No matter how nice text editors can be, I can't imagine coding without a decent IDE. | |
Re: No. PHP does not support it. If your design requires multiple inheritance, you need to redesign. [Traits](http://php.net/manual/en/language.oop5.traits.php) can simulate it a little. | |
Re: There is no `echo` if you do not have results. Send something if row count is zero, so you can check that that maybe the case. You won't get anything back either if your code crashes, so I suggest adding a `try`..`catch`. | |
Re: http://www.developerfusion.com/article/143158/an-introduction-to-websockets/ | |
Re: > server side js How is that different from the Javascript/AJAX forum? | |
Re: Here's an [SO thread](http://stackoverflow.com/questions/2587751/an-algorithm-to-find-bounding-box-of-closed-bezier-curves) with several examples and links. Perhaps it helps. | |
| |
Re: https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Media_queries | |
Re: Replace echo "<td>{$imgname}</td>"; with echo "<td><img src='path_to_image_folder/{$imgname}'></td>"; | |
Re: Windows applications should be using: GetSpecialFolderLocation(CSIDL_APPDATA); to store application data in the current user's folder. | |
Re: > How can I make it so that it queries the array and executes the first embed of an online stream? Add a `break;` to exit your while loop. | |
Re: https://www.daniweb.com/web-development/php/code/476623/ajaxed-linked-dropdowns-select-fields-for-volatile-data | |
Re: Opera shows this in the console, but appears to work fine: indexoc.asp:677 Uncaught TypeError: undefined is not a function VM68:8 Uncaught TypeError: undefined is not a function jquery.min.js:18 'webkitRequestAnimationFrame' is vendor-specific. Please use the standard 'requestAnimationFrame' instead. | |
Re: > Would have worked. But Dictionary<> is limited to ID (key) and value (string) Key and value can be anything you want. Try this: Dictionary<int, Dictionary<string, string>> user_array = new Dictionary<int, Dictionary<string, string>>(); for (int i = 0; i < 100; i++) { user_array.Add(i, new Dictionary<string, string>() { { "theidis", … | |
Re: > What is happening here? Could be anything. Faulty redirect, some session code playing tricks, hard to say. If the website tells you to redirect, follow it (whether or not the URL is the same). | |
Re: You need an SMS gateway. If you search this website you'll find some. | |
Re: You are missing single quotes around the varchar columns. It would be best to add some error checking, so these kinds of mistakes are easily spotted. | |
![]() | |
Re: Instead of this: $phone_list = ""; while($rowRestore = mysql_fetch_array($resultRestore)) { $phone_list .= $rowRestore['recphone'].","; } Do this: $phone_list = array (); $index = 0; $count = 0; while ($rowRestore = mysql_fetch_array($resultRestore)) { // $phone_list[0] .= $rowRestore['recphone'] . ','; $phone_list[$index] .= $rowRestore['recphone'] . ','; $count++; if ($count == 10000) { $count = … | |
| |
Re: Actually: [^0-9] excludes characters. ^ at the start means the start of the string. ^[0-9][0-9]*$ means a string starting with 0-9, followed by any amount of 0-9's (and nothing else). | |
| |
Re: Why not put the entire array in it at once? $_SESSION['MyPostArray'] = $_POST; Not a practice I'd recommend, but it works. You can do your sanity checks when you actually use the posted values. | |
Re: > So, you get one also... :-( @rubberman: an eye for an eye? Not what I expected from you. | |
Re: Did you change the XSLT? It should do the filtering of the XML, and afterwards the entire output is added to the example div. See [this link](http://www.w3schools.com/xsl/xsl_if.asp) for example on how to use `if`. | |
Re: http://www.jqueryrain.com/2012/09/best-jquery-pdf-viewer-plugin-examples/ |
The End.