1,576 Posted Topics
Re: Codeigniter is a PHP framework though. Are you asking if PHP is better than PHP? Having said that: if you use a framework you can be limited by the functionality that framework exposes. Coding a solution yourself does give you complete control but at the tradeoff of simplicity or efficiency … ![]() | |
Re: Um, do you mean you want up/down buttons and textbox, and clicking on the up/down buttons makes the time increase/decrease? I don't quite understand but I'll proceed on the assumption that I'm right. You just need to add code to the two buttons so that a click reads the current … | |
Re: One of the quickest ways is to check if n divided by 2....sqrt(n) results in an even number. If any of them do the number is not prime. so: detemine square root of n (rounded up) loop through 2 to square root of n, dividing n by number. If even … | |
Re: You say you haven't got the OFFSET clause in your query to work but you have another query using that exact format in your GetClientListMembers() method. Is that not working either? To me the offset method works quite well, simply calling and displaying the next set of 100 when the … | |
Re: memory? Have you checked the memory usage on the task manager? While you'r there check nothing really hogs the CPU. | |
![]() | Re: You can add the data to the confirmation message by appending it as text. Use standard javascript or jquery in your confirmDelete function to get the text of "id". JQuery example: var data = $('#id').val(); if(confirm("Are you sure want to delete this record: " + data)) { return true; } |
Re: This kind of functionality would normally involve AJAX as each selection causes a post back to get the values that are now needed for the next selection controls. If the data isn't extensive you could get it all on page load, populate list 1 and use javascript/jquery to alter the … | |
Re: Are you referring to the last variable as being @gt_analyticsLink in your column list? Because you don't have a matching SET statement for it. Or do you mean you remove the SET line for gt_rankingLink and it works? | |
Re: Micrsoft compatibility guide says yes, with no action required. [View it here](http://www.microsoft.com/en-us/windows/compatibility/CompatCenter/ProductDetailsViewer?Name=Microsoft%20Visual%20Basic%20Professional&vendor=Microsoft&ModelOrVersion=6&Type=Software&tempOsid=Windows+8.1) | |
![]() | Re: That is correct. PRIMARY KEY (column1, column2...) will create a primary key using the columns specified. |
Re: So context to that sentence would be beneficial... | |
Re: Are you worried about the number of elements that could be in the $vip_users array? Or about storing the return value of a function? A little more information would help... | |
Re: If the code runs when it is inline but not when it is separated the <link> must be the problem. Can you confirm the file name, bground.css, is correct. The only think left must be a simple mistake. | |
Re: What language are you using for the backend? PHP, java, C# or vb.net, something else? All you have here is HTML and javascript. Its pretty hard for us to give advice when we don't even know what language you intend on using... | |
Re: Are you using jquery? If you were it would be as easy as $('#parent .1') | |
Re: Its not really a hover menu. Its just a normal div set to not display until the login button is clicked. The scrolling appearance is probably done in jquery (or something very similar). To mimic this, simply create your login div, set it to display: none. Then add a javascript … | |
Re: If you want both values totalled then you don't want the IF/ELSE structure because that is the reason only one calculation is running (whether $id_marca equals 1 or not). Depending on your exact requirements you would be better off to store each calculation into two different result variables and then … ![]() | |
Re: Relationships between tables can help with data consistency, such as having a foreign key on a table helps keep the rows connected to the referenced table. For example, having foreign keys with cascading deletes helps keep the referencing table accurate when the referenced table is changed. Indexs aid in efficiency, … | |
Re: You could specify your SQL command with a parameter and then, in the loop, set the parameter to each text box. Or you can build up a long SQL string, separating the individual commands with semi-colons (;). Your code is a bit jumbled as you set your sql variable to … | |
Re: Do you need our help with anything? You haven't asked a question or indicated you're having a problem... | |
Re: You only create one Supplies object and then proceed to make it equal to product1, then product2, then product3, etc. At no time in your code do you have two Supplies objects in existence, you just keep resetting the one. This is why item 7 works, it is the only … | |
![]() | Re: Have you attempted any of this or do you just expect someone else to do it for you? I don't mean to be harsh but if you're not prepared to have a go yourself you're going to improve much. From what I've seen on this site people are all too … ![]() |
Re: But you can code right? You need tips on the site design or are you looking for someone who can build it for you? If the second option, its a lot of work - I don't think 'seeking help from an experienced person' will be enough. | |
Re: You have an error in your SQL query, if what you have written above is an exact copy of your code. You have "from project_table left join resource_request on resource_request.project_id = resource_request.project_id" You haven't included project_table in the ON clause, instaed you have referenced resource_request twice. This will cause your … | |
Re: Have you stepped through your code and checked your SQL query is correct and that InsertData() doesn't get called twice? Although I don't see how either of those things could happen, the code looks fine. The only other two options are that your click method is getting called twice or … | |
Re: rel="nofollow" is a tag that can be added to links to prevent web crawlers (spiders) from following a link and indexing that page. There is no dofollow tag, to get a spider to follow a link simply don't include nofollow. Nofollow prevents pagerank being passed to the link from your … | |
Re: The technology behind that functionality is AJAX. You will be able to find plenty of tutorials online if you search for AJAX and autocomplete | |
Re: After you've got your actual connections sorted you will need to extract the data from access (lets assume you only need one table), store it in memory and then do your checks for uniqueness before passing the results that are OK into the SQL database. Depending on your data you … | |
Re: Yeah, you need to change your onclick to = "blackbox();return false" to stop the link actually trying to fire. Its running the blackbox function and then reloading the href (the same page in this case). | |
Re: call the addition code after your code that retrieves the record values. At that point the textboxes will have their amounts displayed in them so you can safely call the addition function. That would mean taking it out of the _TextChanged function and having the _TextChanged function calling it as … | |
Re: What exact library did you use that could only do the date? that isn't a limitation of AJAX itself. And you don't want to even be using AJAX for that as there is no need to post back to the page. All you want to do is add a '-' … | |
Re: What you need is going to vary a lot depending on the host and how they implement their control panel. They may not even have a control panel and everything could be done via SSH or similar. The best place to start would the free host itself. Do they have … | |
Re: MS SQL has two data types, geometry and geography, which are designed for holding that type of data. Define your columns using them. And read the docs, there's a lot more to it than just that. | |
Re: Is the server set to Windows only authentication? If yes, logins with SQL server credentials will always fail. You'll need to set it to use mixed mode from the security tab. That particular issue I learnt the hard way. | |
Re: There is clearly some HTML code that you're stripping the HTML tags off that is gettings left behind. The last part of the random looking string is "textdecorationnone" which equals "text-decoration:none" I'm presuming which is, of course, CSS. So have a look at the actual source of your HTML and … | |
Re: The clue is in the error message. Unknown column 'chem1115' indicates that your sql statement is wrong. You have data where a column name should be. And here is why: ...SET total_mark=$total_mark ... PHP is interpreting total_mark as $total_mark because it thinks you have simply made a typo. If you … | |
Re: You have only added 10 elements to the array dblMarks but you are stepping up to 11 in your loop. No position 11 exists in the array. | |
Re: You're referring to the main menu at the top of page, under your banner image I presume? it doesn't show correctly in Chrome either. The problem isn't with the spry menu itself, it is simply too long for area allocated to it and so it is wrapping. I'd combine two … | |
Re: I have a fairly big library and I still like reading paper books but I have found recently that the ease of availability of e-books, and how many you can carry at once, is just too convenient. I like paper books for fiction, e-books for reference and learning. | |
Re: I'm confused, your code doesn't match your description. You aren't searching by ID, you're using select all without a where filter so its returning everything. And then your placing the first result of the first two returned rows into txtID and txtFullName. SO when you click the button you should … | |
Re: Look into replication. It allows you to set up a primary and secondary server, the secondary receiving changes from the primary. With two servers set up this way you would need to manually switch the secondary to the primary role. To have it happen automatically you need a third server … | |
Re: You can create a view in storyboard or interface builder that has the common subset of elements and then, once your view is loaded via the load nib method, add whatever other controls you need dynamically in code. If the views aren't too complex this should be OK. If they … | |
Re: You will need to store the ten label values, may as well be in an array, sort it and either only access the first 8 or remove the last 2. Can you post up what code you've done then someone can edit it with advice on how to achieve what … | |
Re: What exactly is going wrong? Can you not pass the order id to the stored procedure or is the stored procedure failing? Your screen shots indicate that selecting an order ID returns the order details... | |
Re: you should have the scrollview size set as less than the content size i.e. the currently viewable area and the content size set to the full area the scrollview should hold. It sounds like you have that right. UserInteractionEnabled is on for the scrollview right? One other issue is that … | |
Re: What result are you getting from it as it is now? I would use isEqualToString to compare two strings: if( [trim isEqualtToString: [chtable subStringWithRange: NSMakeRange (scan, 1)]]) { | |
Re: Have you tried using position:fixed in your CSS? That will keep the menu in position relative to the browser window i.e. it won't scroll with the page ![]() | |
Re: Fortune favors the prepared mind May the best of your past be the worst of your future It was like that when I got here! | |
Re: Sounds like somebody's homework assignment... |
The End.