• Member Avatar for hericles
    hericles

    Began Watching Need Help understanding where I am making mistakes

    Need help fixing python program: I keep getting the following when I try to add students to the list: line 72, in add_student entry = students_lab10.Students(name, idn, gpa, grade, hours) …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Need Help understanding where I am making mistakes

    What is students_lab10? As the error states, it isn't defined in your code. The first time it appears is when you are trying to use it.
  • Member Avatar for hericles
    hericles

    Began Watching Question about Python Assignment

    Please see attachment. Any help is appreciated! :D
  • Member Avatar for hericles
    hericles

    Replied To a Post in Question about Python Assignment

    Presumably you've been taught everything you need to know in class to handle this assignment so you already have the tools you need. Step 1 is to make sure you …
  • Member Avatar for hericles
    hericles

    Began Watching Newsletter

    Can anyone help me find a good system that creates newsletter that I could email mass to my clients? Like I would like to create a newsletter and send each …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Newsletter

    Mailchimp.
  • Member Avatar for hericles
    hericles

    Began Watching [PHP] Are non-called functions interpreted by PHP?

    This is essentially a really long question **If I were to create a function without calling it's execution. Does PHP initialize it anyhow or is the entire function ignored entirely …
  • Member Avatar for hericles
    hericles

    Replied To a Post in [PHP] Are non-called functions interpreted by PHP?

    I think it's valuable information. As far as I can tell there is no cost to initialising/defining/loading a function that is never used. That is, PHP doesn't do anything to …
  • Member Avatar for hericles
    hericles

    Began Watching Error (2002) No connection 1

    Help me sir for this error, Connect Error (2002) No connection could be made because the target machine actively refused it. my connection //my database class class Db { // …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Error (2002) No connection 1

    Generally that error is not due to your code. Either the firewall is blocking you or the database is listening on a specific port.
  • Member Avatar for hericles
    hericles

    Began Watching IS IT BETTER TO MOVE TO SWIFT OR STAY WITH OBJECTIVE-C?

    IS IT BETTER TO MOVE TO SWIFT OR STAY WITH OBJECTIVE-C?
  • Member Avatar for hericles
    hericles

    Replied To a Post in IS IT BETTER TO MOVE TO SWIFT OR STAY WITH OBJECTIVE-C?

    I haven't moved onto Swift myself yet, mainly because I've been doing less native coding and doing more cross-platform stuff, but from what I've read Swift is getting being picked …
  • Member Avatar for hericles
    hericles

    Began Watching Javascript arrays

    I am new to coding and im having trouble with arrays in javascript. I want to be able to compare stuff inside an array but only if the three values …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Javascript arrays

    Your syntax has a lot of mistakes in it which you are hopefully aware of. But even without them it didn't work as you had it. This works: var array …
  • Member Avatar for hericles
    hericles

    Began Watching How do I write a SQL query involving a time stamp?

    How do I write a SQL query involving a time stamp? QUOTE_ID is a character string CREATE_DTG is a date time type RETENTION_LEAD_TRACK is a table This sql statement cmf.CommandText …
  • Member Avatar for hericles
    hericles

    Replied To a Post in How do I write a SQL query involving a time stamp?

    I'd remove the spaces from the date string to start with: 2016-04-25 18:18:15. That would probably fix it.
  • Member Avatar for hericles
    hericles

    Began Watching c#

    private void button1_Click(object sender, EventArgs e) { SalesTransaction s1 = new SalesTransaction(0.06); listBox1.Items.Add(s1.ToString()); SalesTransaction s2 = new SalesTransaction("John Doe: ", 170000, 0.07); // 11900 // s2.SalesAmount = 210000; //The commission …
  • Member Avatar for hericles
    hericles

    Replied To a Post in c#

    What exactly are you stuck on? You haven't told us what you're trying to do.
  • Member Avatar for hericles
    hericles

    Replied To a Post in Student registration form problem in attendance system

    Second problem is that you refer to a table called 'users' which should be 'student' going by the MySql schema. Third problem, change your first value in the sql statement …
  • Member Avatar for hericles
    hericles

    Began Watching Student registration form problem in attendance system

    Hi, Before i do the attendance form system, I have to do the student registration form. But there is one problem. I tested the student registration form (register.php) and tried …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Student registration form problem in attendance system

    The first problem you have is an incorrect parameter. In the HTML you have the radio buttons called 'gender' but in the PHP $_POST you use 'Sgender'.
  • Member Avatar for hericles
    hericles

    Replied To a Post in Button

    And it won't. onclick is used to specify which javascript function is called when an element is clicked. You would need a matching javascript function to go with that on …
  • Member Avatar for hericles
    hericles

    Began Watching Button

    <button type="button" class="button" href="adminform.php">ADD ADMINISTRATOR</button>
  • Member Avatar for hericles
    hericles

    Replied To a Post in Button

    A button isn't a link, the href attribute has no effect. If you want to redirect to the admin page either style an <a> tag to look like a button …
  • Member Avatar for hericles
    hericles

    Began Watching Responsive Website VS Mobile Web App

    Hello, I am still confusing how to differentiate with responsive website and mobile web apps. Responsive website can auto configure to fit into the browser. Currently I had developed responsive …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Responsive Website VS Mobile Web App

    Hi, A mobile web app is available through the browser but is a webpage optimised for a mobile screen. So, it's not really 'responsive' as it won't be designed to …
  • Member Avatar for hericles
    hericles

    Began Watching vb net won't launch

    Hi, Having a real trouble getting a form to launch, which has previously worked. I have a series of buttons set up on a menu screen, each button launches a …
  • Member Avatar for hericles
    hericles

    Replied To a Post in vb net won't launch

    So are you saying that when you click on one of the buttons, without getting asked to enter any user credentials, the form doesn't appear and you get an error …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Change the form action after selection of option using Javascript

    It works fine for me with the id added. The validate will never fire as you have it though as you are submitting the form in the onchange event of …
  • Member Avatar for hericles
    hericles

    Began Watching Change the form action after selection of option using Javascript

    Hi, I tried to change the form action based on selection option and hoping that my javascript validation function working properly too... I found out one solution and hoping this …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Change the form action after selection of option using Javascript

    Most obvious problem is you are using getElementById but your form doesn't have an id attribute. The code for setting the action looks right except it isn't affecting anything because …
  • Member Avatar for hericles
    hericles

    Began Watching Can someone PLEASE help me with one line

    I need help with just one line. I need an "F" to be displayed on the same line the student with 45 points. I keep getting the "F" to display …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Can someone PLEASE help me with one line

    My python isn't very good but if I remember correctly you can put a comma ( , ) at the end of the first print statement and it will not …
  • Member Avatar for hericles
    hericles

    Began Watching PHP Print specific value returned from SELECT statement

    Im working on a small website and im a little confused on one step. I'm following a very simple mvc pattern, ive currently got one controller that creates a session …
  • Member Avatar for hericles
    hericles

    Replied To a Post in PHP Print specific value returned from SELECT statement

    You could have spent a few minutes reading up on the fetchAll() method. Hint: it returns an array. `$result = $stmt->fetchAll(PDO::FETCH_ASSOC);` now loop through each row in the $result array, …
  • Member Avatar for hericles
    hericles

    Began Watching Need mysql expert help for this amazing code

    In few months ago I was finding a way to backup mysql database. After those time again I found some intersting code part from web. I really thanks for first …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Need mysql expert help for this amazing code

    mysqldump is the command line function that exports all or part of a database to the specified file. So you are taking all of the database 'moneycs' and outputting it …
  • Member Avatar for hericles
    hericles

    Began Watching Multiple document.getElementById in jQuery selector.

    $(document.getElementById("item1"), document.getElementById("item2")).click(function () { $(this).fadeOut(); }); <span id="item1">This is item 1</span><br /> <span id="item2">This is item 2</span> span#item1 { color: red; } span#item2 { color: green; } `span#item1` is affected. …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Multiple document.getElementById in jQuery selector.

    Why on earth are you using document.getElementById and jQuery at the same time??? To locate an element in jQuery just use: `$('#item1').click(function() {//code}); // for an ID` `$('.item1').click(function() {//code}); // …
  • Member Avatar for hericles
    hericles

    Began Watching Pass data to the database correctly

    Hello, I'm having trouble uploading all the various data to the database, can you help? The code is this, I have done some testing but the original image and thumbnail …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Pass data to the database correctly

    I think you need to use a prepare() statement, instead of query(), with your database object seeing as you are binding variables into the statement. You should be checking your …
  • Member Avatar for hericles
    hericles

    Began Watching recommended software development books

    Hi guys, I wonder if you can help me at all. As some of you will know I do a bit of java development here and there but unfortunately I …
  • Member Avatar for hericles
    hericles

    Replied To a Post in recommended software development books

    Head over to https://it-ebooks.info/tag/programming/ and browse around, also go to https://www.packtpub.com/ and sign up. They give away a free ebook every day (the quality varies). In terms of what to …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Designing inbox and retriving particular message content in another div.

    Look into jquery http.post method. It lets you make an AJAX call to a URL you specify and pass in data. The PHP script reads in the $_POST variables and …
  • Member Avatar for hericles
    hericles

    Began Watching Technology suggestion for project

    Hi all, I'll be working on a project that basically takes a UID and displays basic user info like courses taken. Seems simple, but I'd like to read suggestions as …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Technology suggestion for project

    To defend against SQL injections make sure you're using prepare() for all of your database queries.
  • Member Avatar for hericles
    hericles

    Began Watching Designing inbox and retriving particular message content in another div.

    Hi, i need urgent help.. iam working on leave management system(LMS).if the employee apply for the leaves means,one message go to HR inbox (internal application inbox). iam designing inbox for …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Designing inbox and retriving particular message content in another div.

    If you are only pulling through the name and subject initially (and ID presumably) then when the preview is clicked on you do another database query to get the rest …
  • Member Avatar for hericles
    hericles

    Began Watching SVG Element Size

    Anyone familar with how to shrink the width & height without effecting the size of the SVG. As has a huge space around the SVG file and I must get …
  • Member Avatar for hericles
    hericles

    Replied To a Post in SVG Element Size

    Maybe some code would make it more obvious. It sounds like CSS height and width would be all you need if you have to re-size a surrounding element to match …

The End.