8,966 Posted Topics

Member Avatar for lithium112

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.

Member Avatar for lithium112
0
2K
Member Avatar for AntonyRayan
Member Avatar for AntonyRayan
0
180
Member Avatar for Dani

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 …

Member Avatar for Dani
0
2K
Member Avatar for sana.f.qureshi_1
Member Avatar for nitos

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

Member Avatar for imti321
0
161
Member Avatar for chandsyl
Member Avatar for Blueie
Member Avatar for Blueie
0
811
Member Avatar for jean_5

Technically nothing, but the ones with `$` usually help to identify jQuery elements easily.

Member Avatar for Troy III
0
180
Member Avatar for Coloradojaguar
Member Avatar for EdJones
Member Avatar for totalbhakti

https://www.daniweb.com/web-development/php/threads/37175/waht-is-rss-feeds

Member Avatar for Kelly Burby
-1
127
Member Avatar for sofiaross06

I would think that if you have to work on an existing website, you'd at least have all the details of that site.

Member Avatar for samjom
0
108
Member Avatar for samjom
Member Avatar for joshmac
Member Avatar for Scott_9
Member Avatar for Pablo149

> 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.

Member Avatar for webhawk
0
213
Member Avatar for webhawk

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.

Member Avatar for pritaeas
0
198
Member Avatar for AntonyRayan

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.

Member Avatar for pritaeas
0
56
Member Avatar for nadiam

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`.

Member Avatar for nadiam
0
2K
Member Avatar for ganesh641
Member Avatar for pritaeas
0
459
Member Avatar for Dani
Member Avatar for Reverend Jim
1
865
Member Avatar for necrovore

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.

Member Avatar for ddanbe
0
240
Member Avatar for pritaeas
Member Avatar for davecoventry
Member Avatar for gentlemedia
0
132
Member Avatar for nitos

Replace echo "<td>{$imgname}</td>"; with echo "<td><img src='path_to_image_folder/{$imgname}'></td>";

Member Avatar for nitos
0
305
Member Avatar for Simon180

Windows applications should be using: GetSpecialFolderLocation(CSIDL_APPDATA); to store application data in the current user's folder.

Member Avatar for SalmiSoft
0
197
Member Avatar for bradly.spicer

> 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.

Member Avatar for bradly.spicer
0
220
Member Avatar for dominic.ceraso.9

https://www.daniweb.com/web-development/php/code/476623/ajaxed-linked-dropdowns-select-fields-for-volatile-data

Member Avatar for Bile
0
351
Member Avatar for Ryujin

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.

Member Avatar for pritaeas
0
165
Member Avatar for hardmode
Member Avatar for sirjhayz
Member Avatar for RikTelner

> 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", …

Member Avatar for tinstaafl
0
166
Member Avatar for ditribel
Member Avatar for SalmiSoft

> 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).

Member Avatar for SalmiSoft
0
205
Member Avatar for pabzzmike
Member Avatar for matrixdevuk
0
538
Member Avatar for Himesh_1

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.

Member Avatar for Riteman
0
214
Member Avatar for Lijo_1
Member Avatar for yuri1000

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 = …

Member Avatar for pritaeas
0
322
Member Avatar for cVz
Member Avatar for clife

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).

Member Avatar for clife
0
663
Member Avatar for bijutoha
Member Avatar for rsleventhal

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.

Member Avatar for cereal
0
419
Member Avatar for johnkennady31
Member Avatar for Maritimo

> So, you get one also... :-( @rubberman: an eye for an eye? Not what I expected from you.

Member Avatar for pritaeas
0
397
Member Avatar for AMJAlienServers
Member Avatar for davy_yg
Member Avatar for pritaeas
0
337
Member Avatar for pintukennady31
Member Avatar for rubberman
-3
106
Member Avatar for David_14
Member Avatar for Wisnu_1

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`.

Member Avatar for pritaeas
0
318
Member Avatar for daniel36
Member Avatar for gogs85
0
452

The End.