• Member Avatar for hericles
    hericles

    Replied To a Post in Best way to start

    Cordova/Phonegap. I've built a couple of apps this year using Cordova and maintained a couple of others. It's a pretty easy learning curve, heaps of plugins and dev tools to …
  • Member Avatar for hericles
    hericles

    Began Watching creating dynamic nav bar ??

    I want to what is better way of doing this.Suppose user visit a website he is not yet registered on our website so nav bar shows some options like sign …
  • Member Avatar for hericles
    hericles

    Replied To a Post in creating dynamic nav bar ??

    Most systems would create the menu by checking which elements should show. Typically that would entail checking if the user was logged in or not and displaing the log in/register …
  • Member Avatar for hericles
    hericles

    Began Watching login attempts after 3 invalid password disables the login button

    im new in php and i want to have a login that after 3invalid password attempts disables the login button. heres my login code thanks for the help in advance …
  • Member Avatar for hericles
    hericles

    Replied To a Post in login attempts after 3 invalid password disables the login button

    You can store the current login attempts in a session variable and then check that variable on each attempt, incrementing by one for each failure. When it hits 3, you …
  • Member Avatar for hericles
    hericles

    Began Watching Changing style color

    Hello, I would like to change colour style by using the navigation menu. Any clue how to do this by changing the bootstrap custom css whenever I click the Style …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Changing style color

    Use jQuery's addClass to apply a new CSS style.
  • Member Avatar for hericles
    hericles

    Began Watching Problem Solving

    Hi guys, I need someone to help me solve this problem. The conditions in the statement are very strict: APPLES AND PEARS Tom has three boxes with fruits in his …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Problem Solving

    The key is in the line "none of the labels are on the right box". When you pull one fruit out of each box you're going to get 2 apples …
  • Member Avatar for hericles
    hericles

    Replied To a Post in for loop insertion problem

    You haven't mentioned what form sub_marks takes so I'm going to assume it is a 1d array of marks, the first 5 elements belonging to student id 1, the next …
  • Member Avatar for hericles
    hericles

    Began Watching for loop insertion problem

    Hi, good morning, Dynamically I pass student id, subject id, subject marks. for example, assume that there are 50 students in a class, subjects are 5. so that 5 fields …
  • Member Avatar for hericles
    hericles

    Replied To a Post in for loop insertion problem

    You don't want to be using submark[$j] as that just repeats the first values (0 through to whatever size j is). You want to have another counter that starts at …
  • Member Avatar for hericles
    hericles

    Began Watching Basic python

    Write a python program called mystery that should ask you to enter the last digit of your cell phone number and also ask to enter your birth year. (Hint: Use …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Basic python

    Nice trick, I had to sit down and figure out how that worked or it would have bothered me for the rest of the day.
  • Member Avatar for hericles
    hericles

    Began Watching How to disable PHP "Submit" button if form is incomplete?

    Dear All, I have a form use for uploading photos to my website. But I would like users to fully filled in the selection only then the "Submit" or "Upload" …
  • Member Avatar for hericles
    hericles

    Replied To a Post in How to disable PHP "Submit" button if form is incomplete?

    You can use the 'required' html attribute by adding it to the necessary fields. Or you can use a javascript function on the click event of the submit button to …
  • Member Avatar for hericles
    hericles

    Began Watching assigning data from my sql to array (Php)

    hello there, i have a purchase requisition table in mysql like below: pr no qty items 1 10 pencil 1 5 ballpen 1 8 eraser I would like to display …
  • Member Avatar for hericles
    hericles

    Replied To a Post in assigning data from my sql to array (Php)

    Are you getting any error messages or output you don't expect? First step is to make sure you're getting something back from your query and then step through from there. …
  • Member Avatar for hericles
    hericles

    Began Watching help on how to create countdown with ajax

    please help on how to create Ajax countdown with PHP and save in database
  • Member Avatar for hericles
    hericles

    Replied To a Post in help on how to create countdown with ajax

    More information needed. Why do you need AJAX to do a countdown and what do you intend to save to the database?
  • Member Avatar for hericles
    hericles

    Replied To a Post in Using php for values in a chart

    PHP is server side code, it needs to be ran on a server (Apache running on your PC for instance). A collection of PHP files sitting on your PC won't …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Using php for values in a chart

    Sorry, but to check something, when you say "At the moment if I just make a simple html page" you mean you make a page with a .php extension and …
  • Member Avatar for hericles
    hericles

    Began Watching Using php for values in a chart

    Hey guys, I'm very new to this so please forgive me. I have a theme that I am trying to use to display some stats from my minecraft server (Yes …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Using php for values in a chart

    First step is to check what $info actaully contains. Below `$info = fetch_server_info($config['server']['ip'], $config['server']['port'];` add `var_dump($info);die();` Run the page and the contents of $info will get output to the screen. …
  • Member Avatar for hericles
    hericles

    Began Watching Student need to help ^_^

    I wish that you all are fine, My name is Ahmed Bahr From Egypt. Im 21 years old and in 2016 ill become a senior at Business Information Systems- Helwan …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Student need to help ^_^

    Cloud computing, big data and security would all be good fields to get into so I'd give them so special consideration. I'm not sure what you would do for a …
  • Member Avatar for hericles
    hericles

    Began Watching Synchronize data from android to server via rest webservice

    When I'm synchronizing image from android to server, it throws this exception: data truncation: data too long for column Android: @DatabaseField(dataType = DataType.BYTE_ARRAY) private byte[] PERSON_IMAGE; I am using ormlite …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Synchronize data from android to server via rest webservice

    In mysql a blob has a maximum size of 65 kilobytes whereas I believe the mysqlite version of a blob is significantly more than that (I'm assuming you are using …
  • Member Avatar for hericles
    hericles

    Began Watching Alert Window Site name disabler?

    Hi Everybody, I was wondering if any of you know about alert window textual content. I am trying to disable where it says "from "xxxx.com" " line in the heading …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Alert Window Site name disabler?

    Alert boxes can't be customised too much. I would suggest looking into some of the javascript libaries that do that for you. SweetAlert is one I've used but there are …
  • Member Avatar for hericles
    hericles

    Began Watching Can't get WinJS.UI.DatePicker "current" value

    I cant find any decent examples of implementing the WinJS.UI.DatePicker control. Specifically I am not able to retrieve the "current" attribute from the "change" event. In my example below "eventInfo.current" …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Can't get WinJS.UI.DatePicker "current" value

    Is current undefined or is eventInfo? Where are you creating the datepicker object? E.g. where is this line: `var datePicker = new WinJS.UI.DatePicker(element, options);` I only looked into this briefly …
  • Member Avatar for hericles
    hericles

    Began Watching replacing previous image by new image on clicking new option.

    Hi Good Morning every one.. This is my Html Code. <div> <img src="http://imgs.zinio.com/magimages/500299032/2012/416238969_170.jpg" alt="Nov-12" title="Food Network Magazine" class="cover"> </div> <select id="myselect"> <option value="B">Business Card</option> <option value="C">Corporate Card</option> <option value="D">Type #</option> …
  • Member Avatar for hericles
    hericles

    Replied To a Post in replacing previous image by new image on clicking new option.

    Look into the jQuery .change() method. You can attach it to a select element with something like this: $( "#myselect" ).change(function() { // your code to run on a change …
  • Member Avatar for hericles
    hericles

    Began Watching VB.NET Last And First Navigation Buttons Help

    Hi,I am very new to VB.NET and I need help with issue that I have. I have to make Last and First navigation buttons but I can't figure out the …
  • Member Avatar for hericles
    hericles

    Replied To a Post in VB.NET Last And First Navigation Buttons Help

    It depends how you are handling the data but, for example, if you were pulling each record from the database as it was needed your first and last buttons would …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Cron Job after 30 days of submit date

    I don't mean to sound like I'm brushing you off but examples of database queries are pretty common online. You should be easily able to find something in your preferred …
  • Member Avatar for hericles
    hericles

    Began Watching No value given for one or more parameters

    I keep getting this annoying error followed by a really long message when trying to retrieve and match data from database, here is the code try { string connection = …
  • Member Avatar for hericles
    hericles

    Replied To a Post in No value given for one or more parameters

    It seems to me you are adding a parameter called TotalPrice to your parameter collection but you never give it a value. You can either use: `constr.Parameters.AddWithValue("Total price", 'Some value');` …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Cron Job after 30 days of submit date

    That would be the script that accesses the database. Say for example it was a php file called getInvoices.php then you would have the full path to the script. This …
  • Member Avatar for hericles
    hericles

    Began Watching Cron Job after 30 days of submit date

    Hello, I am pretty new to cron jobs, as i am sure you can tell. So.... Let me tell you a little about my project. I am trying to create …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Cron Job after 30 days of submit date

    Run a CRON job every day that reads the database for all invoices that have a submission date of 30 days ago. Email out only those emails. So, your cron …
  • Member Avatar for hericles
    hericles

    Began Watching Database connection with HTML login

    Hi, I just prepared a basic html code for a login page and another webpage linked to the login page.I need to connnect it with a mysql database. But I …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Database connection with HTML login

    Firstly, why use javascript and AJAX to call a PHP script in the first place? You could just have PHP code in your HTML that handles the database stuff on …
  • Member Avatar for hericles
    hericles

    Began Watching Login action failed using OOP PDO

    I have created a function. if i provide correct username and password. i am getting a error message as **Sorry, that username / password is invalid !** can any one …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Login action failed using OOP PDO

    Your code looks OK, there is nothing that immediately stands out anyway. So you need to tick off everything is working correctly. Can you connect successfully to the database (does …
  • Member Avatar for hericles
    hericles

    Replied To a Post in TokenInput jquery??

    Alter your URL to be just the path with no parameters `<?php echo base_url('Register/get_countries')?>` As you have it, the post parameters don't include a parameter called 'q', only $_POST['queryParam'] should …
  • Member Avatar for hericles
    hericles

    Began Watching Connecting to a database

    In the following code, why is neither "Connected Successfully" nor "Connection failed" ever displayed on my page? Also, I'm trying to place for table side by side in one large …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Connecting to a database

    Your <table> tags are wrong. it is incorrect to do this: <table> some value </table> You need the <tr> and <td> elements as well. You also can't have a <table> …
  • Member Avatar for hericles
    hericles

    Began Watching TokenInput jquery??

    I am trying to intergrate the jquery tokenInput plugin to my form [Link](http://loopj.com/jquery-tokeninput/) I want to simple local data search I want data to be fetched from database and show …

The End.