1,576 Posted Topics

Member Avatar for pooja.naik.1297

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 …

Member Avatar for diafol
0
374
Member Avatar for Bishal_1

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 …

Member Avatar for kamilacbe
0
391
Member Avatar for shubham05

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 …

Member Avatar for shubham05
0
252
Member Avatar for jrb47

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 …

Member Avatar for hericles
0
269
Member Avatar for Buppy

memory? Have you checked the memory usage on the task manager? While you'r there check nothing really hogs the CPU.

Member Avatar for hericles
0
105
Member Avatar for [NOPE]FOREVER

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

Member Avatar for hericles
7
510
Member Avatar for junaid_5

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 …

Member Avatar for hericles
0
173
Member Avatar for Benjamin_11

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?

Member Avatar for Benjamin_11
0
218
Member Avatar for borce

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)

Member Avatar for hericles
0
69
Member Avatar for evenadas1992

Xcode is the main Apple IDE for coding in Objective-C. There are frameworks for coding in C# (such as Xamarin) that allow you to convert your code to Objective C but you still need a Mac machine to compile the code (I believe - that used to be the case …

Member Avatar for hericles
0
76
Member Avatar for [NOPE]FOREVER

That is correct. PRIMARY KEY (column1, column2...) will create a primary key using the columns specified.

Member Avatar for hericles
5
156
Member Avatar for ravi_14
Member Avatar for centenond

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

Member Avatar for centenond
0
178
Member Avatar for david.roun.7

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.

Member Avatar for david.roun.7
0
2K
Member Avatar for vishalonne

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

Member Avatar for DJBirdi
0
293
Member Avatar for Tcll
Member Avatar for Tcll
0
145
Member Avatar for zzmrzz

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 …

Member Avatar for JorgeM
0
263
Member Avatar for jorgeftz

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 …

Member Avatar for diafol
0
279
Member Avatar for yavindu

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

Member Avatar for hericles
0
99
Member Avatar for jj.dcruz

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 …

Member Avatar for jj.dcruz
0
202
Member Avatar for Mz. Jackee

Do you need our help with anything? You haven't asked a question or indicated you're having a problem...

Member Avatar for mattskills
0
178
Member Avatar for LVZombie

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 …

Member Avatar for LVZombie
0
584
Member Avatar for iamthwee

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 …

Member Avatar for diafol
0
374
Member Avatar for Afred123

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.

Member Avatar for hericles
0
38
Member Avatar for durgesh1

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 …

Member Avatar for durgesh1
0
159
Member Avatar for Antpit

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 …

Member Avatar for Antpit
0
355
Member Avatar for yeshamarques

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 …

Member Avatar for yeshamarques
0
249
Member Avatar for asif_14443

The technology behind that functionality is AJAX. You will be able to find plenty of tutorials online if you search for AJAX and autocomplete

Member Avatar for hericles
0
251
Member Avatar for elie.karkafy

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 …

Member Avatar for hericles
0
318
Member Avatar for garyjohnson

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

Member Avatar for hericles
0
1K
Member Avatar for airhalynn101

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 …

Member Avatar for PerplexedB
0
461
Member Avatar for asif_14443

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

Member Avatar for asif_14443
0
154
Member Avatar for BogdanCov

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 …

Member Avatar for JorgeM
0
207
Member Avatar for bhargavipottem

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.

Member Avatar for hericles
0
189
Member Avatar for 404notfound

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.

Member Avatar for hericles
0
234
Member Avatar for aseeman

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 …

Member Avatar for hericles
0
223
Member Avatar for poshka

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 …

Member Avatar for jstfsklh211
0
160
Member Avatar for Bendez Thyna

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.

Member Avatar for Bendez Thyna
0
376
Member Avatar for moregraphics

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 …

Member Avatar for moregraphics
0
201
Member Avatar for ckide

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.

Member Avatar for hericles
0
377
Member Avatar for Faizal_1

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 …

Member Avatar for hericles
0
4K
Member Avatar for mherz

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 …

Member Avatar for hericles
0
167
Member Avatar for Tinnin

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 …

Member Avatar for hericles
0
176
Member Avatar for FRANK WAGON

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 …

Member Avatar for Benard joseph
0
217
Member Avatar for samkri

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

Member Avatar for hericles
0
315
Member Avatar for Tinnin

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 …

Member Avatar for hericles
0
207
Member Avatar for AndyGuy

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)]]) {

Member Avatar for matrixdevuk
0
220
Member Avatar for Dev7Cyber2012

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

Member Avatar for diafol
0
294
Member Avatar for debasisdas

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!

Member Avatar for James_28
8
17K
Member Avatar for saher007

The End.