-
Replied To a Post in Put two divs next to one another, without float and flexbox
inline-block and width: calc(100% - 230px) or, use floats, and put overflow: hidden on the parent div. -
Began Watching making a grid in javascript
I was wondering how you would make a grid in a javascript canvas, a 10 pixel by 10 pixel grid for a game I am making thank you for your … -
Replied To a Post in making a grid in javascript
Well... you can read about the API... https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API You split your "canvas area" into the dimensions of your grid requirements, and you draw lines or just use math :-/ You … -
Began Watching [PHP] Are non-called functions interpreted by PHP?
This is essentially a really long question **If I were to create a function without calling it's execution. Does PHP initialize it anyhow or is the entire function ignored entirely … -
Replied To a Post in [PHP] Are non-called functions interpreted by PHP?
Likely it's just the memory used by the script. While it may not be much when compiled down, it's still memory and cycles required to turn it into machine code … -
Began Watching c++ help
hello, i have this assignment but i got stuck on number 2. Question 1: Create a 3x3 array, each filled with a digit 1-9 so that the array resembles a … -
Replied To a Post in c++ help
To put it in other words, I believe what you are being asked is to take all the values from the first two rows and multiply them. If you think … -
Replied To a Post in Encrypting Column Data
So don't use MD5, use SHA-1 or SHA-256 or any other variant... what platform are you doing this on? In PHP, for example, you have this to work with: http://php.net/manual/en/function.hash-algos.php … -
Began Watching Encrypting Column Data
Hi all, I will be building a web application that does a personnel data lookup, unfortunately using SSN. So I’ve been searching for how encrypt this data so that I … -
Replied To a Post in Encrypting Column Data
It really depends on how you plan on consuming and using the data. Why do you need encryption over a hash? Will you be applying the SSN for any given … -
Began Watching Is designing websites for IE9 meaning, that it's compatible with everything
I have following (really long) statement: > When I develop website that is entirely compatible with Microsoft Internet Explorer 9, and make it work foulless, I'll make sure that website … -
Replied To a Post in Is designing websites for IE9 meaning, that it's compatible with everything
Develop for what your customer base is likely to be using. I still support IE9, but I have to keep current with changes, and develop new features for future browsers. … -
Began Watching CSS selector menace (again)
--- (nevermind, I'm just not good enough for it, I'll go for less appealing solution that I know) --- -
Replied To a Post in CSS selector menace (again)
Im confused... nav ul li a.submenu should only affect anchor tags that have the class submenu. That's a pretty specific selector... Can you put up a fiddle with your issue … -
Began Watching Getting into software development/drone programming
I'm wanting to get into software development specifically for the aerospace industry (but its not a must). I'm lookin to start building projects as part of my portfolio using a … -
Replied To a Post in Getting into software development/drone programming
All of them will benefit you depending on what you want to do... For embedded systems (from my very little experience with it all), Java seems to be king, since … -
Began Watching Need help with development of HTML+CSS3-only dropdown
https://jsfiddle.net/fzbx09qL/1/ Having above code. This is as far as I've gotten. I need someone to instruct me on three things. First off, how do I make sure it appear smoothly? … -
Replied To a Post in Need help with development of HTML+CSS3-only dropdown
Proper HTML markup says anchor tags cannot be children of anchor tags (basically, which one are you clicking?) which is why the commented out block isnt working. You will have … -
Began Watching Find Similar Images using PHP MYSQL
Dear All, I'm developing a php system which contains over 50000 images in a directory. Is there any tools which help me to do a search script to find a … -
Began Watching Need help with python problem
I am a beginner in computer programming and need help with this problem: Create a script that prompts the user to provide the number of pennies, nickels, dimes, and quarters. … -
Replied To a Post in Need help with python problem
Logically, dollars is just the floor(total/100) and the cents is total modulo dollars. Of course, you get in trouble when dollars is 0 so just do a check and make … -
Began Watching CSS Draw Scribble Animation ?
Hi, I was hoping someone can help; I want to animate a scribble effect using CSS & SVG. I have an SVG graphic but it appears limited as to what … -
Replied To a Post in CSS Draw Scribble Animation ?
If I understand what you want to do, then you are correct - you have hit the limit of SVG as a free form drawing tool. If you want more … -
Began Watching user input from keyboard in php at run time
this is my code $line = trim(fgets(STDIN)); echo $line; what browser shows: Warning: fgets() expects parameter 1 to be resource, string given in /storage/emulated/0/coding/mobilephp -
Replied To a Post in user input from keyboard in php at run time
try stream_get_line instead. http://stackoverflow.com/questions/16560755/fgetsstdin-automatic-line-break -
Replied To a Post in Whats going on with my sessions being destroyed between page links?
Well, it very well can be old hardware... but.. anyway... Things that destroy sessions: -302 server side (a redirect from code). -Non relative links. -session_destroy() -overriding the $_SESSION superglobal (say, … -
Replied To a Post in Whats going on with my sessions being destroyed between page links?
Why such a long delay between page navigations? What are those links doing? -
Replied To a Post in Whats going on with my sessions being destroyed between page links?
Ok.. so how are the pages "not fully loaded" when you navigate? I assume the hrefs are just attached to anchor tags? -
Replied To a Post in Whats going on with my sessions being destroyed between page links?
are the href's absolute path or relative path urls? If absolute, are they consistent? (http/s, www or no www? Same domain or sub domain?). You will always have purists and … -
Began Watching Whats going on with my sessions being destroyed between page links?
platform: IIS + Apache + mysql + php (please dont justdge me on the platform it was not my choice) I have this weird bug that seems to be directly … -
Replied To a Post in Whats going on with my sessions being destroyed between page links?
Define "fully loading." Are we talking about a page built dynamically with AJAX? All server side? Are you doing redirects inside your script when you change to the new page? … -
Replied To a Post in Compare Tables
:-/ I.. really don't know what to say here. The difference between a left join and a right join are... I guess a design choice... however, I still think the … -
Began Watching Compare Tables
Hello Daniweb Community, I've been looking around online for help with this but I can't seem to find a way to get a query to do what I want. The … -
Replied To a Post in Compare Tables
If I am reading it right, it looks like you just want a left outer join on ItemID... -
Replied To a Post in Does $_GET and AJAX perform well?
Well... that's a design consideration... if you want a light weight landing page for quick scripts, then make one. Im not sure what heavy weight stuff you are going to … -
Replied To a Post in Does $_GET and AJAX perform well?
PHP is already pretty fast.. what is it that you are looking to do that you are having this cocern? -
Began Watching Does $_GET and AJAX perform well?
Consider following back-end script. <?php if (isset($_GET["req"])) { $req = $_GET["req"]; if ($req == "delete") { // Very intense calculation which finally results in deletion. } if ($req == "add") … -
Replied To a Post in Does $_GET and AJAX perform well?
As I understand it, the php module sits and listens to ports and creates an instance for each request. Therefore, without some sort of data caching, there should be no … -
Replied To a Post in Ajax call returning unprocessed PHP
I disagree that changing the header type of the AJAX call is the ONLY change that needs to be changed. The reality is, as long as a request without headers … -
Replied To a Post in Ajax call returning unprocessed PHP
Out of curiosity, do you have an extension on your php file? Secondly, I may wager a guess that this is your problem: if (!-e $request_filename) { rewrite ^(.*)$ /index.php?page=$1 … -
Began Watching clearing text fields
In my javascript code, I want to clear the text fields after done with the operations using onclick command. Question: Is there a predefined fuction to serve this purpose? -
Replied To a Post in clearing text fields
If the initial values when the page is parsed are blank, you can use the .reset() method of the FORM (not the individual inputs), which should revert everything back to … -
Replied To a Post in web design
That's a different discussion, and also a discussion about integration of libraries based on need. Personally, I am not a big jQuery fan, nor any library that tries to do … -
Replied To a Post in Ajax call returning unprocessed PHP
You ever get this figured out? If not, do you have a sample page where this is occuring? -
Began Watching web design
Hello..am learning web designing have learnt html and css,please I like to learn step wise,so which other package do I continue with,because now I lime to create a responsive website... -
Replied To a Post in web design
Responsive design, when done "right," is usually 90-100% HTML and CSS. JavaScript is used for accent work and/or for data manipulation/management. From there you need to learn server side code … -
Began Watching Matching fingerprints stored in mysql-How to?
Greetings Daniweb! Just recently, I was able to integrate a Fingerprint device to my application. Can now scan fingerprints and save them to database using the INSERT TO syntax. But … -
Replied To a Post in Matching fingerprints stored in mysql-How to?
Is the data coming in exactly the same? I cant imagine that two finger print readings are completely identical. I don't know enough about your device or their API (or, … -
Replied To a Post in Help With Stored Procedure
No problemo! Glad you figured it out. -
Began Watching the java script library
Am currently interested in delivering user experiance web and mobile applications.There are several amazing libraries so far.What are some of the best libraries that I should start with in this …
The End.