8,966 Posted Topics
Re: Here's a [nice HTML5 intro](http://www.codeproject.com/Articles/774529/Beginners-Guide-to-HTML-CSS-HTML-API-Grab-Bag) on drag&drop. | |
Re: > while($results = mysql_query("$sql") or die("Invalid query: " . mysql_error()); That's rather messy. Try: $result = mysql_query($sql) or die('Invalid query: ' . mysql_error()); if ($result && $row = mysql_fetch_assoc($result)) { $doc = $row['doc']; // This is your filename, not $results } | |
Re: What exactly are you trying to do? Open existing image? Or do you want to generate the QR code images with a tool like [this](http://phpqrcode.sourceforge.net)? | |
Re: > with below code i always receive error " Trying to get property of non-object in " What line exactly? | |
Re: If line 7 is a `header();` redirect, then place an `exit();` after it. Might be the cause. | |
Re: Have you tried stripped down code using only webrequest with the cookiecontainer on a regular domain, so you know it works? Or does it always fail, on any domain? | |
Re: https://api.mongodb.com/python/current/python3.html > PyMongo supports CPython 3.3+ and PyPy3. No mention of 3.5 | |
| |
Re: Can you be a bit clearer? Do you want that as output, or do you want to read it in PHP? | |
Re: > ORA-00907: missing right parenthesis It's the double closing at the end, should be only one. | |
Re: What do you have so far, and what exactly is the problem? You won't be getting code here, so if that's what you want, tough luck. | |
Re: See the [FileSystemWatcher Class](https://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher(v=vs.110).aspx) Do note, that it works for copying, but does not work as expected when moving files. | |
Re: > inheritance error is::Error 1 Inconsistent accessibility: base class 'person' is less accessible than class 'employee' On line 25 declare your class `public`. It is missing so it's default accessor is `private`. | |
Re: `$catID` is never given a value before line 44, so `is_array` will return `false` | |
Re: Don't sacrifice readability for "efficiency". Personally I'd use this: bool containsLeft = mystring.Contains("left"); bool containsRight = mystring.Contains("right"); if (containsLeft || containsRight) { string test = containsLeft ? "left" : "right"; } | |
Re: What exactly do you want to read, and what kind of card are you talking about? | |
Re: Not recommended. Rather use a cron job, or another scheduler depending on your platform. | |
![]() | |
Re: Is there any reason you are using `load()` instead of `ajax()`? What exactly are you trying to do? ![]() | |
Re: > I was thinking a separate JavaScript file where multiple users can be saved and stored with less risk. Still the same problem that all files are readable. You'll need to use a server-side script to validate. | |
Re: Have you downloaded the most recent installation? | |
Re: http://www.dotnetperls.com/excel-vbnet https://support.microsoft.com/en-us/kb/301982 | |
Re: I wouldn't recommend using any tool to convert. You need to redesign and maybe rethink how things are done anyway, so do it by hand. | |
Re: > it doesn't work You need to be more specific than that. What code do you use? What fails? What did you expect? | |
Re: What is your exact problem? You need to pass your selection to the next page and change your query to filter based on your selection. | |
Re: IIRC a datalist just outputs a html table. So look at the generated html source and you'll know for sure. | |
Re: From the manual: > "If path is not a valid directory or the directory can not be opened due to permission restrictions or filesystem errors, opendir() returns FALSE and generates a PHP error of level E_WARNING. You can suppress the error output of opendir() by prepending '@' to the front … | |
Re: I see an `if` statement that checks whether you have a result, but no loop to handle more than the first result. | |
Re: Look at the HTML of the first code snippet. I am positive you can spot what's wrong. In any case, read this: http://php.net/manual/en/language.types.string.php | |
Re: There are components that do this (try a search engine), or you could try and write it yourself, but the better solution would be to use a ListView instead. | |
Re: What have you tried so far? | |
Re: > How to show contact details while clicking the particular name from <li> list What exactly do you want to happen? | |
I have resurrected [this sticky](https://www.daniweb.com/programming/web-development/threads/435023/read-this-before-posting-a-question). I know it's target is PHP at the moment, but I'm planning to broaden the subject for web development (HTML/CSS/Js). If anyone has something useful to add, please let me know in this thread and I'll look into adding it. Do NOT just reply with … ![]() | |
Re: - [Using PHP/MySQLi with error checking](http://www.daniweb.com/web-development/php/code/434480/using-phpmysqli-with-error-checking) - [Using PHP/PDO with error checking](http://www.daniweb.com/web-development/php/code/435142/using-phppdo-with-error-checking) | |
Re: According to the [URL="http://www.fusioncharts.com/docs/"]documentation[/URL] you have to provide the data in XML or JSON format. | |
Re: @Jim: That's the login page you see if you want to login directly into Dazah. If you click login from DaniWeb, then you see the red text. @Dani: I wanted to post an attachment but failed with: Files will automatically be attached to the post upon upload. Optionally, you can … | |
![]() | Re: The second is the projects default config, where the appsettings gets it's values. ![]() |
Re: That's highly subjective. What might be a difficult and tedious job for you, can be an hour work for someone else. Your friend already has what he needs (your scripts), yet you haven't discussed payment terms? Next time, do this up front. How long did you work on this? | |
Re: That's too vague. You need help with what exactly? Show your code, explain your problem. | |
Re: > Should I combine the lot into a table? Then, it does not make sense, as I do not expect to see general-staff's medication! Storing it all in one table does not mean it should be viewable in your app. Don't let UI determine your storage. Storing all person related … | |
Re: Pull the 10 most recent of both tables (id, date and table), then order by date and get the 10 most recent ones, then do a left join on the result to get the rest of the data. | |
Re: You are using the wrong quotes: echo "<input type=\"number\" name=\"$num[$i]\">"; Variables inside a single quoted string are not parsed. http://php.net/manual/en/language.types.string.php | |
Re: Why not use BitTorrent Sync? | |
Re: It is most likely your code, but we cannot help pinpoint an issue without seeing the source. |
The End.