1,576 Posted Topics

Member Avatar for kimmgillie

Assignment time again... Very few of us want to do your homework for you. Seeing as this is a class you are taking you must have covered at least some java programming before this assignment was dropped on you. Thats how classes work. We will help if you have attempted …

Member Avatar for Hiroshe
0
199
Member Avatar for narendera22

Well, telling us the detailed fault message would help. And the inner exception showed no error message? Are familiar with tools ike Fiddler? They can catch the response coming back and you can look for the error there too.

Member Avatar for narendera22
0
224
Member Avatar for morfious90

Welll, with knowing the book its hard to give advice. But, in general, are you applying for a particular job? If so, then you maybe able to get a general idea of the tasks involved e.g. is it a job using MVC or a particular database? Otherwise, its a hit …

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

You just call the functions you need to run on page load. The jQuery construct $(document).ready() fires when the page has finished loading so you only need to place calls to javascript functions that need to run straight away. You can place more functions there, particularly if you want to …

Member Avatar for hericles
0
122
Member Avatar for RikTelner

Remove the var key word from line 5. You don't want to to be specifying a new version of X, just reset the existing x variable.

Member Avatar for RikTelner
0
159
Member Avatar for jKidz

The header command needs to be ran before any other output (read the docs on header) so if you have HTML tags, comments, etc, before that code segment it won't run.

Member Avatar for tapananand
0
249
Member Avatar for Ryan_11

Looks to me like the IF statement only runs once, there is no looping through the returned records. So the first result = 'cellphone' and thats all you see.

Member Avatar for Topnews
0
297
Member Avatar for aseel_1

For a start you database design could be better. You should have a table for employees, a table for department and a linking table that holds just employee IDs and department IDs to show who is in what. emp (id, name) dep (depid, dep_name) emp_dep(empid, depid) Now you join all …

Member Avatar for aseel_1
0
176
Member Avatar for aseel_1

Any information about what goes wrong, displayed behaviour or error messages, would help us out a little.

Member Avatar for aseel_1
0
316
Member Avatar for vinood

The windows Live Mail assistant may be off. Type services.msc in search box, and run as Administrator. Then find Windows LIve ID Sign-in Assistant and make sure it is running, even restart if it says it is running.

Member Avatar for Xlphos
0
155
Member Avatar for shadowsrose1

We don't do homework but we do help when you've tried and get stuck. You shouldn't be stumped if this is homework because you would have done course work leading up to this. Have you even managed to create the BankAccount class? Post up hwat you've done so far and …

Member Avatar for JamesCherrill
0
3K
Member Avatar for Jing_1

I think it may be because FROM and TO are reserved words. You need to delimit them as you have Sheet1$. Or rename your columns because that'll catch you out time and again...

Member Avatar for Jing_1
0
367
Member Avatar for yaragalla_mural

Put the second div inside the first div, then the mouse never leaves div 1 and the mouse out event never fires.

Member Avatar for hericles
0
177
Member Avatar for network18

Have you checked your extension_dir setting in the config file? It may be making PHP look in the worng location for extension modules. Otherwise, I got nothing...

Member Avatar for network18
0
663
Member Avatar for Brandy_1

In the sample you posted above you aren't calling getExamGrades at all so dblMidTerm and dblFinal never change from zero. You then pass 2 zeros into CalculateTotalAverage and get nothing back. You are calling getExamGrades in the PDF though.

Member Avatar for Brandy_1
0
572
Member Avatar for emmaharward789

Android is the OS for android phones/tablets and its based on java. PHP is a programming language for developing websites. So Android is only good if you want to develop for Android mobile devices and nothing else. PHP lets you work as a web developer so the scope is much …

Member Avatar for shophiarajan47
-3
132
Member Avatar for elie.karkafy

The easiest way would be to use the id column as a unique key in the sql server. Then if it already exists the insert would fail. You'd just need to code around the error so it didn't stop processing. The problem there is that every row in the access …

Member Avatar for Oxiegen
0
1K
Member Avatar for dimitris4463

Not interested in just using a background image (one including the arrow) for the hovered element? If you want to keep it as CSS3 I've seen attempts to do this where the bottom line would be broken up into four sections and transform is used on the 2nd and 3rd …

Member Avatar for dimitris4463
0
407
Member Avatar for elie.karkafy

What difference exactly are you looking for? Rows in one that aren't in the other or changes to individual cells in a row? Is the number of rows the same in both datatables?

Member Avatar for elie.karkafy
0
357
Member Avatar for bilal.saim

I'm not sure what you want is possible. Have you coded this application yourself or is this something you want to achieve in other software? Naturally, if you selected and copied some text and then hit Ctrl-V of course the text will get pasted into the same textbox, thats where …

Member Avatar for bilal.saim
0
148
Member Avatar for showman13

If you simply want to validate the input, make sure values are entered in required fields, that emails are in email format, etc you can just use jQuery to monitor each input for changes and validate them. If you need to check the input against a database for any reason …

Member Avatar for showman13
0
301
Member Avatar for guybo

[This article should help you](http://www.sevenforums.com/tutorials/654-you-have-files-waiting-burned-disc-stop-message.html)

Member Avatar for guybo
0
168
Member Avatar for iamcreasy

Java does an automatic compilation process where any dependent classes it finds referred to within the class it is compiling are compiled too. This is nested so if your Vehicle class referred to another class, the .java of which was in the same directory, it would also be compiled when …

Member Avatar for iamcreasy
0
226
Member Avatar for [NOPE]FOREVER

A canidate key is any column in the data that can be used to uniquely identify the rows. For example if you had an employee table that included the company's employee number for each person and each person's social security number, both of those would be canidate keys to be …

Member Avatar for hericles
0
92
Member Avatar for rpv_sen

Firstly, an indication what the problem is beyond "it's not working" would help a lot. As would actual code. You've just given us HTML which isn't a lot of help.

Member Avatar for hericles
0
518
Member Avatar for SimonIoa

Where are you specifying your connection information? Is this all of the relevant code?

Member Avatar for SimonIoa
0
260
Member Avatar for [NOPE]FOREVER

You pretty much have it correct. If no data lends itself to being a natural key (i.e. nothing int the data is unique across rows) a surrogate key needs to be supplied. If you created a id column using [int auto_increment primary key] then you have a surrogate key because, …

Member Avatar for hericles
0
249
Member Avatar for SPRINGHEEL

What does the developer tools in your browser say? Any error coming up as a clue? Although, on closer inspection, I can see this: $("a#inline").fancybox({ 'hideOnContentClick': true }); but no matching #inline anywhere. Is that correct or an error?

Member Avatar for hericles
0
176
Member Avatar for junaid_5

The issue isn't with the SQL which is why the query works fine. The error clearly states you are using mysql_fetch_array wrong. You want to be passing in the result of your query, not the query string. $totalDates = mysqli_fetch_array($result, MYSQLI_NUM);

Member Avatar for hericles
0
165
Member Avatar for shail.arya

Two ways the query could work (depending on your database design): Your database query could be a query to return everything from the users table for that login. You then parse that result set to locate an empty elements and if any are found display the alert box. Or, query …

Member Avatar for hericles
0
165
Member Avatar for Verygoodguy

You have the columns types specified as int in your command parameters but as varchar in your table definition. I think the SqlDbType should be varchar. You could always change your catch bracket to give you the real reason for the failure. [code] catch(Exception ex) { insertReportLabel.Text = ex.Message(); } …

Member Avatar for sheejo.apsalone
0
3K
Member Avatar for Samarth_1

I'm not sure what you mean when you say 'Class Form'. Are you referring to the form class? E.g. the class used to create Forms in winForms programs? A class diagram is a text/graphical display of a class, outlining various aspects of its structure such as name, parameter types, included …

Member Avatar for hericles
0
172
Member Avatar for chaze

Which browser are you using because the 'questions 24/7 support login' section is to the right in Chrome and it looks pretty good...

Member Avatar for hericles
0
221
Member Avatar for renelio
Member Avatar for [NOPE]FOREVER

This should probably be in the PHP forum as it isn't really a database question but never mind that... You can use javascript to show a confirm window and if the action is confirmed call the relevant page with a parameter set. The called php page then reads the parameter …

Member Avatar for pritaeas
4
344
Member Avatar for hericles

I don't know much about Magento so I need some advice. I do know PHP. A client wants to update their website to ecommerce and use Magento as the framework but they want to use their current accounting package for user logins, products, orders account, etc because the data is …

Member Avatar for iamthwee
0
320
Member Avatar for ahmedsa

Using System.IO you can use the Directory class to get a string array of all files in a directory. Then you can check the array for the file name you need to see if it exists. Once you know it exists you can use the URI as the source for …

Member Avatar for hericles
0
180
Member Avatar for rpv_sen
Member Avatar for istteffy

Compare what data type the cid column in the database is to what the cid variable holds after the line: cid = Request.Form("customerID"). Data type erros normally mean you are passing in the wrong type against what is expected (string vs int for example).

Member Avatar for Blueie
0
243
Member Avatar for gola420

Foreign key constraints prevent INSERT and UPDATE commands if the corrosponding key is found in the referenced table. That means the s_id value you are trying to insert into student_academic_history must already exist in students. This is half the reason you put in a foreign key constraint anyway.

Member Avatar for hericles
0
225
Member Avatar for Blueie

Well, you are opening your connection before you have defined it, and in the code segment you aren't specifying the connection string for the connection. So as it stands the code won't run. Line 15 needs to be at line 10 and include the connection 'usersConnectionString'. As for building from …

Member Avatar for Blueie
0
298
Member Avatar for Julian_2

One will be for mic, the other for sound. The single plug on your computer will be for headphones (vs head set). How old is the computer and have you plugged a mike into it before?

Member Avatar for nullptr
0
437
Member Avatar for Phearin

Ah Google, where would we be without you? [Click Here](http://pcsupport.about.com/od/findbyerrormessage/a/packet-dll-not-found-missing-error.htm)

Member Avatar for hericles
0
118
Member Avatar for Benjamin_11

I'm not an expert on Python but I do know it has some advantages for this type of problem but to do this trivally in PHP: Loop through the lines in the csv file (or whatever array you've loaded them into first). Append each line to a variable (so it …

Member Avatar for hericles
0
176
Member Avatar for SimonIoa

It sounds like you are passing the object itself around rather than the text it holds. Got some code you can post up?

Member Avatar for SimonIoa
0
755
Member Avatar for My question

It isn't clear exactly what you're after here (based your sample output anyway). If you want duplicate names to be listed together you just need to use 'ORDER BY name' at the end of your query and it will be listed in alphabetical order by the name column.

Member Avatar for Ayrton C.
0
197
Member Avatar for enrique.mansilla.908

As always, have a go and post up your code when you get stuck. We like to help those that are willing to try and fail (thats how you learn)

Member Avatar for enrique.mansilla.908
-1
438
Member Avatar for Riteman

To build a dll, type this from the command line csc /target:library /out:<dll_name>.dll <list of .cs files to make up dll> After that just add the dll to your upcoming projects

Member Avatar for hericles
0
282
Member Avatar for nadiam

CONCAT_WS stands for concatenate with separator. It takes three parameters, the seperator, string1 and string 2. So in your case you told CONCAT_WS that "$dstart' is the separator rather than a value to concat. So either use CONCAT_WS(' ', '$dstart', '$tstart') to separate by a space or just use CONCAT.

Member Avatar for hericles
0
289
Member Avatar for theashman88

Given that an int can hold a maximum value of 2,147,483,647 the maximum number that could be entered is 12 as 13 gives an overflow. Your example uses long so maybe you should be using that too. I'm not a mathmatician but I'm not sure what your instructor's check code …

Member Avatar for cgeier
0
282

The End.