8,966 Posted Topics

Member Avatar for manaila

Here's a [nice HTML5 intro](http://www.codeproject.com/Articles/774529/Beginners-Guide-to-HTML-CSS-HTML-API-Grab-Bag) on drag&drop.

Member Avatar for pritaeas
0
271
Member Avatar for chandnee

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

Member Avatar for cereal
0
799
Member Avatar for rheiniel

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

Member Avatar for rheiniel
0
293
Member Avatar for zebnoon1

> with below code i always receive error " Trying to get property of non-object in " What line exactly?

Member Avatar for zebnoon1
0
290
Member Avatar for Filipe_3

If line 7 is a `header();` redirect, then place an `exit();` after it. Might be the cause.

Member Avatar for pritaeas
0
1K
Member Avatar for diehsi
Member Avatar for Trle94

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?

Member Avatar for pritaeas
0
232
Member Avatar for <HHH>

https://api.mongodb.com/python/current/python3.html > PyMongo supports CPython 3.3+ and PyPy3. No mention of 3.5

Member Avatar for ~s.o.s~
0
2K
Member Avatar for malatamil
Member Avatar for SACHIN_6
Member Avatar for ramsiva
Member Avatar for amith_ami
0
182
Member Avatar for Mishy
Member Avatar for pritaeas
0
421
Member Avatar for Edison_2
Member Avatar for Drew-Shawn
Member Avatar for rproffitt
0
2K
Member Avatar for Sushma_2

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.

Member Avatar for rproffitt
0
236
Member Avatar for Mr.M

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.

Member Avatar for pritaeas
0
1K
Member Avatar for Usman_10
Re: c#

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

Member Avatar for pritaeas
0
251
Member Avatar for Faisal_13
Member Avatar for Faisal_13
0
543
Member Avatar for Suzie999

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"; }

Member Avatar for JamesCherrill
0
311
Member Avatar for Shabeer_2
Member Avatar for pritaeas
0
75
Member Avatar for jeetay
Member Avatar for Jiby_1
Member Avatar for Jiby_1
0
163
Member Avatar for _1_6
Member Avatar for ramsiva

Is there any reason you are using `load()` instead of `ajax()`? What exactly are you trying to do?

Member Avatar for diafol
0
212
Member Avatar for rajesanthu

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

Member Avatar for nate_2
0
137K
Member Avatar for Hilal2009
Member Avatar for shazeem
Member Avatar for shazeem
0
2K
Member Avatar for Prafull_1

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.

Member Avatar for Mr.M
0
665
Member Avatar for Hilal2009

> it doesn't work You need to be more specific than that. What code do you use? What fails? What did you expect?

Member Avatar for pritaeas
0
549
Member Avatar for Faisal_13

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.

Member Avatar for Faisal_13
0
366
Member Avatar for Link_1
Member Avatar for pritaeas
0
198
Member Avatar for divyakrishnan

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 …

Member Avatar for vijay_21
0
1K
Member Avatar for Mr.M

I see an `if` statement that checks whether you have a result, but no loop to handle more than the first result.

Member Avatar for Mr.M
0
327
Member Avatar for Cody_4

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

Member Avatar for Cody_4
0
398
Member Avatar for jeffersonalomia

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.

Member Avatar for Minimalist
0
296
Member Avatar for Gurjit_2
Member Avatar for Faisal_13

> How to show contact details while clicking the particular name from <li> list What exactly do you want to happen?

Member Avatar for Faisal_13
0
204
Member Avatar for Pam Thomas

Show what data you have in your table, and how you want the result to look.

Member Avatar for pritaeas
0
283
Member Avatar for pritaeas

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 …

Member Avatar for diafol
2
644
Member Avatar for Raj_18

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

Member Avatar for pritaeas
0
99
Member Avatar for uselessninja

According to the [URL="http://www.fusioncharts.com/docs/"]documentation[/URL] you have to provide the data in XML or JSON format.

Member Avatar for Ankita_11
0
907
Member Avatar for rproffitt

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

Member Avatar for Reverend Jim
0
382
Member Avatar for RudyM

The second is the projects default config, where the appsettings gets it's values.

Member Avatar for RudyM
0
303
Member Avatar for bprosic

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?

Member Avatar for bprosic
0
350
Member Avatar for Abraham_7

That's too vague. You need help with what exactly? Show your code, explain your problem.

Member Avatar for jessicacyrus1
0
159
Member Avatar for ikel

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

Member Avatar for ikel
0
387
Member Avatar for James_43

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.

Member Avatar for James_43
0
162
Member Avatar for Samantha Joy

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

Member Avatar for Avinash_8
0
240
Member Avatar for Will_8
Member Avatar for Ani_2

It is most likely your code, but we cannot help pinpoint an issue without seeing the source.

Member Avatar for pritaeas
0
120

The End.