• Member Avatar for hericles
    hericles

    Replied To a Post in help

    You could start by telling us what you intend to build it in (lanuage, platform, etc) and what bits you actually need help with (please don't say all of it). …
  • Member Avatar for hericles
    hericles

    Began Watching cant connect to host database

    Hi, i just hosted my website on 000webhost for free and somehow i cant connect with my database resulting to that i cant login on my website. How can i …
  • Member Avatar for hericles
    hericles

    Replied To a Post in cant connect to host database

    Does the error message provide useful information? If you have another way of accessing the database, control panel or ssh, etc, you can test out connecting via those means. But …
  • Member Avatar for hericles
    hericles

    Began Watching VB - Calling Sub Procedure

    Hi, I'm trying to write sub procedure to check the winner for Rock, Paper, Sissors game. The below code runs fine but it's not showing the winner on the result …
  • Member Avatar for hericles
    hericles

    Replied To a Post in VB - Calling Sub Procedure

    In the code you've posted the sub method whoWins never gets called. Call that method after both hands have picked and it should work
  • Member Avatar for hericles
    hericles

    Began Watching One Time Discount Codes

    Hi, I am working with a small business. They want to be able to provide users with a discount code that will work one time if the customer signs up …
  • Member Avatar for hericles
    hericles

    Replied To a Post in One Time Discount Codes

    you might want to look at using a service like MailChimp. They have plenty of tools for auto responding emails, coupons, etc. There are quite a few options out there …
  • Member Avatar for hericles
    hericles

    Began Watching loading animation whilst PHP loads?

    Hi all, I'm very very new when it comes to JavaScript, but I understand it's what I need to solve my problem. Basically, I have a PHP script that takes …
  • Member Avatar for hericles
    hericles

    Replied To a Post in loading animation whilst PHP loads?

    Is the PHP process started via AJAX? If it is, you can display a spinner gif when the AJAX call is first made (using jQuery or similar) and switch it …
  • Member Avatar for hericles
    hericles

    Began Watching AJAX post data in Mysql

    Hi I have problem to get data when insert with ajax. I have ajax.js file and here is this code: $('#text-content').keypress(function(e){ if(e.which == 13) { if($('input#enter-click').prop('checked', true)) { $('#live-send').click(); e.preventDefault(); …
  • Member Avatar for hericles
    hericles

    Replied To a Post in AJAX post data in Mysql

    You could either do another AJAX query to return all of the conversations and use the result to update the comment area (could be slow depending on the amount of …
  • Member Avatar for hericles
    hericles

    Began Watching Change cell color on click of a checkbox javascript

    Hi All, hopefully you can help. I have: <table> <tr> <td width="120" height="120" bgcolor="#8fd656" align="center" onClick="if (this.bgColor=='#8fd656'){this.bgColor='#DDDDDD'} else {this.bgColor='#8fd656'};"> Check Box <input type="checkbox" name="checkbox[]" id="checkbox[]" value="Checked"> </td> </tr> </table> Now …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Change cell color on click of a checkbox javascript

    Move your code into the click or change event of the checkbox. You'll want to refer to the parent of the checkbox to make sure you are targeting the correct …
  • Member Avatar for hericles
    hericles

    Began Watching different profile page for different users type?

    I am always short of logic when every things works fine then i come up with new problem? **PROBLEM** There are generally 6 user type accounts.Everyone has their own "edit …
  • Member Avatar for hericles
    hericles

    Replied To a Post in different profile page for different users type?

    I'm assuming the user's have their roles stored in the database and you extract them out when the user logs in successfully. Once you have that stored in the session …
  • Member Avatar for hericles
    hericles

    Began Watching Call to a member function prepare() on a non-object on line 87

    i know this has been posted many many times but ive been searching everything and looking over old posts but i still cannot figure this out and why it keeps …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Call to a member function prepare() on a non-object on line 87

    In your constructor you're setting $this->db to be equal to $DB_con, and using $this->db in your login method. So two questions: is $DN_con a valid connection when you pass it …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Create mobile app from website url.

    There is no difference. You would be creating an app that would display HTML, using whatever view in that language achieved that effect. For example, a native iOS app that …
  • Member Avatar for hericles
    hericles

    Began Watching Create mobile app from website url.

    Hello i ve got this message from a fellow programmer. * Directly you load your site from your server in to android or IOS like iframe, we have the option …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Create mobile app from website url.

    I think he was refering to an app that is nothing more than an in-app browser (a web view) that points to your website. Meaning the app wouldn't work without …
  • Member Avatar for hericles
    hericles

    Began Watching Login with different usertype Admin and Normal User

    I need help about this, I've been working for this a quiet while... I want to log-in using one login form for both admin and normal user but after log …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Login with different usertype Admin and Normal User

    You only set the sql statement once but at line 17 you're using it as part of an IF statement: `If sql = "SELECT Usertype FROM [db_dole].[dbo].[tbl_user] WHERE Usertype = …
  • Member Avatar for hericles
    hericles

    Began Watching mysql delete query

    hello all. i have the following code... SELECT * FROM data WHERE no_2 = no_1 + 1 AND no_3 = no_2 + 1 AND no_4 = no_3 + 1 AND …
  • Member Avatar for hericles
    hericles

    Replied To a Post in mysql delete query

    Try this (untested by me) DELETE FROM data2 where id in ( SELECT id FROM data WHERE no_2 = no_1 + 1 AND no_3 = no_2 + 1 AND no_4 …
  • Member Avatar for hericles
    hericles

    Began Watching Disable select/option inside echo

    Hey guys please help me with my code, I want to disable select drop down if $stat=a, this is my code. Thank You! echo "<select name='name' id='name' 'if ($stat =='a'){ …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Disable select/option inside echo

    `echo "<select name='name' id='name' <?php if ($stat =='a'){ echo ('disabled');} ?> >";` I haven't actually tested that but the main point is you need the <?php ?> tags otherwise you're …
  • Member Avatar for hericles
    hericles

    Began Watching How to build search engine for website using sql server

    I need some help with creating a simple search engine for website. Basic idea is that user will enter a string in search bar, which will compare in database key_word …
  • Member Avatar for hericles
    hericles

    Replied To a Post in How to build search engine for website using sql server

    You can do one search but you'll need to add in WHERE clauses, one for each word in the search string. E.g. `SELECT * FROM [SearchTable] WHERE [key_Word] LIKE '%get%' …
  • Member Avatar for hericles
    hericles

    Began Watching Visual Studio 2015 vs Flash Builder for PHP

    ello i am a bit confused because i asked a couple of programmers but i couldnt get a straight answer. I want to make my website -it is written in …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Visual Studio 2015 vs Flash Builder for PHP

    If you want it to be cross-platform on mobile you can look at using Cordova (Phonegap) or Xamarin. Both can be used via Visual Studio once you've installed some extras …
  • Member Avatar for hericles
    hericles

    Began Watching Slides

    Hello, I would like to fix this slider: http://www.innovation.web.id/flickity-docs2/ If I scroll the slides it always place the starting picture in the middle, which left some blank space on the …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Slides

    In the source I can see that the flickty-slider has this CSS transform specified: `transform: translate(791px);` Turning that off pulled the slider over to the correct position. And I only …
  • Member Avatar for hericles
    hericles

    Began Watching focus not working

    Focus not working. What is the error in my code Dynamic Textbox Code: select query $i =1; while() { <input type="text" name="class_teacher_entry[]" id="class_teacher_entry<?php echo $i; ?>" class='marks' size="5" maxlength="3" onkeypress="return …
  • Member Avatar for hericles
    hericles

    Replied To a Post in focus not working

    No errors in your console log? Or is c never greater than d (the onblur is firing but your output never happens)?
  • Member Avatar for hericles
    hericles

    Began Watching Cross Browsing

    How to set html css universal , means looks same as one brower , i have make an site in html but it shows dirent in dirent browsers :(
  • Member Avatar for hericles
    hericles

    Replied To a Post in Cross Browsing

    You can load up what is called a CSS reset file first, this is just a standard CSS file but it resets a lot of display properties to default. You …
  • Member Avatar for hericles
    hericles

    Began Watching Please,help to manipulate with html table with php

    Would be really appreciated your help.I have a code like this: i need to display a total figure for passengers carried on each route and in each month and highlight …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Please,help to manipulate with html table with php

    You need to give us more information. What exactly are you stuck on? What is going wrong?
  • Member Avatar for hericles
    hericles

    Began Watching Display html table from php array

    Dear friends,help me please,i have a php array,how would i display table out of it,something went wrong : <?php $data = array( array ( "Hartsfield Jackson Atlanta International","Atlanta" , "ATL" …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Display html table from php array

    If your code example here is the same as your actual code you have several problems. Line 17: `echo "<table>";` Line 18: `echo "<tr><th>Airport</th><th>City</th><th>Code</th></tr>";` Line 21: your inner arrays only …
  • Member Avatar for hericles
    hericles

    Began Watching Phone Dialing Program

    So the objective of this program is very similar to another C# homework problem (practically the same) but I am allowed to use arrays. I still need to set up …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Phone Dialing Program

    The only problem I had with this code is that you ask for a seven digit number to be input but your check in GetInput looks for whether the input …
  • Member Avatar for hericles
    hericles

    Began Watching Slider2

    Hello, I would like to erase the numbers list 1-4 in this sliders (Any clue how to ?) : http://www.innovation.web.id/slider2/ slider2/index.html <html> <head> <!-- jQuery library (served from Google) --> …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Slider2

    Do you mean you want to hide the actual numbers themselves? CSS: `.bx-default-page {display: none;}` If you're after something else I think you'll need to be more specific...
  • Member Avatar for hericles
    hericles

    Began Watching for software engineers please HELP

    Hi im trying to learn software engineering at home but m confused about two things should i learn coding 1st or learn algorithms 1st i already started learning coding but …
  • Member Avatar for hericles
    hericles

    Replied To a Post in for software engineers please HELP

    I'd suggest learning coding first if you need to pick one. Give yourself an understanding of how to code and do some small projects, etc. Then when you come to …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Changing style color

    Are you trying to swap various CSS style rules on a click event or do you want to switch to another stylesheet altogether? if you want to alter the appearance …
  • Member Avatar for hericles
    hericles

    Began Watching Display the number(s) with most occurences and # of occurences

    I'm given a code that asks us to have the user input a set of integers(they can be positive or negative). Then the code goes through the list and counts …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Display the number(s) with most occurences and # of occurences

    You can loop through the numberList examining each number and its count. Take the first number as being the highest and store it in another variable e.g. int highestCount. For …
  • Member Avatar for hericles
    hericles

    Began Watching Best way to start

    Hello i made a website written on PHP, JAVASCRIPT, JQUERY, MYSQL and i want to make an application. How should i start? I want of course to make it multiplattform …

The End.