-
Replied To a Post in MySQL Foreign Keys
In your case data duplication might be an advantage over normalization, but that's a performance tradeoff which you have to decide on. However with today's database servers the performance difference … -
Replied To a Post in MySQL Foreign Keys
> But how do you tell it that the username column should update? You shouldn't. In a normalized database the member name should not be repeated. If you do want … -
Edited Change the username of a deleted account
Hello I was wondering if it were possible to change the username of a deleted account i had a few years ago. The username contains my personal information and i … -
Replied To a Post in Slider2
Copy the code as it was showed to you. -
Replied To a Post in WebBrowser in asp/aspx.net
Not sure there is one, because asp.net is designed to run in a browser. Why run a browser in a browser. Put html in a div or iframe (depending on … -
Replied To a Post in Slider2
Check what gentlemedia showed you, because your version is not identical. -
Edited Json vs html.erb in ruby
Hi all, My project is on ruby on rails. I have one of ruby api returns json.jbuilder But I want that my api should not return json , it will … -
Replied To a Post in Debugging in a production environment
> If you are faced with a previous coder who took all sorts of rabbit trails in his code You can use tools like ReSharper to help you identify code … -
Replied To a Post in cannot pass values from form to controller with json
data should be json and not a string, try: data: { presc1: presc1, aviad1: aviad1 } -
Edited 1$ Donation
1$ Donation for 1 Question or for whole month or for whole life :D ? -
Gave Reputation to happygeek in Moderator, Sponsor, Team Colleague, Featured badges gone
How about devil horns above the avatar for a mod, and angel wings for admins of course? ;-) -
Replied To a Post in Options not showing
It may be clear to you, but since you only show the client side code, there is no way to test what your server is returning. If you put alerts … -
Replied To a Post in Options not showing
> There is something wrong What is it supposed to do, and what isn't it doing exactly? -
Replied To a Post in Where did the General Chat went?
I think he means the Geek's Lounge. It's gone, just post under Community Center. -
Edited Click Through Rate
How can I improve my click through rate in the search results? -
Replied To a Post in How to get near by (around 5km) locations using latitude and longitude?
I guess you found that calculation on an old thread somewhere. Database servers have moved on since then and provide you with built-in geo functions: https://dev.mysql.com/doc/refman/5.6/en/spatial-relation-functions-object-shapes.html#function_st-distance -
Replied To a Post in I am not getting records when i check the "where" condtion with date
You're missing quotes: SELECT * FROM table WHERE modify_date > '2015-09-29 13:50:13' -
Replied To a Post in LMDE repositories
> How do I mark solved? Top right of the page, large blue button. -
Replied To a Post in Need some help with uploading multiple files
> upload all the images with one upload field I'd suggest using a tool like [plUpload](http://www.plupload.com) or [dropzone](http://www.dropzonejs.com) for this. -
Replied To a Post in Get ID of the table row and pass it on the other form
echo "<tr><td>" . $rowa['pid'] . "</td><td><a href='yourpage.php?id={$rowa['pid']}'>" . $rowa['prno'] . "</a></td></tr>"; -
Replied To a Post in PHP variable as array index
for ($i = 0; $i < 5; $i++) { echo $results[0][$i]['title']; // all items are somehow stored in item 0 echo '<br>'; } > how do I specifiy one or … -
Replied To a Post in PHP variable as array index
If this is referring to the code in your other thread, do note that indices start at zero and not one. So check your for loop. If that's not it, … -
Replied To a Post in mvc sketch - send to server to compute and get results
If you use ajax to call your controller with json data, then mvc will take of converting that into your viewmodel on the server-side. You can then use the viewmodel … -
Replied To a Post in pseudo element as html tag ?
Show some code of what you have, and another of what you think it should look like. -
Edited Trouble passing ifstream to function by refrence
I can not get this program to compile, the problem lies in the method inputData. Does anyone see anything wrong it? #ifndef JEDI_H #define JEDI_H #include <stdlib.h> #include <iostream> #include … -
Replied To a Post in Font size for html code snippet
Perhaps. Also the indent is more to the left than the text above. That sure helps making it look skewed IMO. -
Replied To a Post in Font size for html code snippet
https://www.daniweb.com/programming/web-development/code/500063/toggling-text-when-clicking-the-header Not counting the paragraphs, but the style link in the head doesn't even fit. That large font just seems so huge, especially in snippets that have code in the … -
Replied To a Post in What is your preference when checking boolean values in If statements?
Between those two, option two. Otherwise, it depends on the method. If it does validity checks, the method might be named: private bool ItemExists() making it clear enough without using … -
Marked Solved Status for Adding code snippet
I could not select article type (code snippet) when creating a new thread from the web development forum. Anything I missed? -
Replied To a Post in Adding code snippet
Indeed. Click "Need to do something else instead?". Wasn't clear to me... -
Replied To a Post in pseudo element as html tag ?
Am not entirely sure what you want. If you want to remove the ::after from the css, you could insert a span at the position you want and style that. -
Created Adding code snippet
I could not select article type (code snippet) when creating a new thread from the web development forum. Anything I missed? -
Created Font size for html code snippet
https://www.daniweb.com/programming/web-development/code/497022/automatic-facebook-post-bumper Inline code snippets are much smaller then the snippets in the code part of a code snippet article. Could you please make them equally small, for readability's sake? -
Edited Toggling text when clicking the header
In response to [this thread](https://www.daniweb.com/programming/web-development/threads/499762/jquery-for-dropdown-textbox) I've decided to paste the linked example as a code snippet (updated to html5/jQuery2). -
Edited Toggling text when clicking the header
In response to [this thread](https://www.daniweb.com/programming/web-development/threads/499762/jquery-for-dropdown-textbox) I've decided to paste the linked example as a code snippet (updated to html5/jQuery2). -
Created Toggling text when clicking the header
In response to [this thread](https://www.daniweb.com/programming/web-development/threads/499762/jquery-for-dropdown-textbox) I've decided to paste the linked example as a code snippet (updated to html5/jQuery2). -
Replied To a Post in Spammers don't like the new UI
I hope it lasts. I've already seen bots bypass the "select all pies" from an image gallery popup. But I don't think implementing DW specific logic is high on their … -
Replied To a Post in Php License Script
The queries don't need updating. I do suggest to switch to the mysqli or pdo extension. -
Replied To a Post in Who likes the tagging system?
I can. At the bottom, under "Submit your reply". Click the plus. -
Replied To a Post in AdSense rejection my site
The first link is different from the second (in the reply). Did you make a typo when submitting? -
Edited AdSense rejection my site
Hello, I submited my website http://makeyourdp.com for the AdSense but its again and again it would be rejected said : **"We did not approve your application for the reasons listed … -
Replied To a Post in Jquery for dropdown textbox
I have updated [my example](https://www.daniweb.com/programming/web-development/code/500063/toggling-text-when-clicking-the-header) with a plus/minus indicator. -
Replied To a Post in Who likes the tagging system?
> Mods and (other) admins used to be able to edit tags under the old UI, but that functionality has yet to be coded back into the new one. This … -
Replied To a Post in Spammers don't like the new UI
The bots have not been adapted to the new forum ID's yet ;) -
Marked Solved Status for Forum list updates
I notice that the forum list (e.g. PHP) is not updating consistently today. I posted a reply in one thread, and deleted one in another, but the main PHP page … -
Marked Solved Status for Tooltips
When I hover over a user logo in the endorsement page, the name appears on the left hand side of my screen (Opera). At closer inspection, it appears to be … -
Replied To a Post in Change Password doesn't work
Do you have this online somewhere to see? It is either not posting, or posting to the wrong script. -
Replied To a Post in selecting users from diiferent table
No difference in the result. The first uses variable replacement, the second string concatenation. -
Replied To a Post in selecting users from diiferent table
No idea. Is what you have used identical to what I posted? -
Replied To a Post in selecting users from diiferent table
Although a strange situation, if you can't change it, try this query: $sql = " SELECT username, password FROM `tbl_usrs` WHERE username = '{$usr}' AND password = '{$pwd}' UNION ALL …
The End.