1,576 Posted Topics
Re: 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 … | |
Re: 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. | |
Re: 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 … | |
![]() | Re: 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 … |
Re: 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. | |
Re: 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. | |
Re: 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. | |
Re: 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 … | |
Re: Any information about what goes wrong, displayed behaviour or error messages, would help us out a little. | |
Re: 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. | |
Re: 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 … | |
Re: 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... | |
Re: Put the second div inside the first div, then the mouse never leaves div 1 and the mouse out event never fires. | |
Re: 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... | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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? | |
Re: 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 … | |
Re: 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 … | |
Re: [This article should help you](http://www.sevenforums.com/tutorials/654-you-have-files-waiting-burned-disc-stop-message.html) | |
Re: 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 … | |
![]() | Re: 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 … |
Re: 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. | |
Re: Where are you specifying your connection information? Is this all of the relevant code? | |
![]() | Re: 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, … |
Re: 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? | |
Re: 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); | |
Re: 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 … | |
Re: 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(); } … | |
Re: 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 … | |
Re: Which browser are you using because the 'questions 24/7 support login' section is to the right in Chrome and it looks pretty good... | |
Re: [this should help](https://nz.answers.yahoo.com/question/index?qid=20081108113120AAP7Y0T) | |
![]() | Re: 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 … |
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 … ![]() | |
Re: 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 … | |
Re: And what is the error message? I don't see it in your post... | |
Re: 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). | |
Re: 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. | |
Re: 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 … | |
Re: 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? | |
Re: Ah Google, where would we be without you? [Click Here](http://pcsupport.about.com/od/findbyerrormessage/a/packet-dll-not-found-missing-error.htm) | |
Re: 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 … | |
Re: It sounds like you are passing the object itself around rather than the text it holds. Got some code you can post up? | |
Re: 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. | |
Re: 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) | |
Re: 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 | |
Re: 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. | |
Re: 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 … |
The End.