• Member Avatar for hericles
    hericles

    Replied To a Post in all conditions in a single query

    This should work, haven't tested it but it's a standard join of three tables sharing a common column. Of course the select can be changed to refer to the specific …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Checking Availability

    On your form you would need two text boxes (as the simplest solution) or two calendar controls that the user can use to enter the two dates. On form submission …
  • Member Avatar for hericles
    hericles

    Began Watching Looking to persist a Radio button selection across a page reload

    I am looking to do exactly what the title states. I have a radio field that i would like to persist across a page refresh. The following is my code: …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Looking to persist a Radio button selection across a page reload

    And what are you using? Because by itself HTML is stateless, you reload the page and it will draw itself as specified in the HTML, which in your case, is …
  • Member Avatar for hericles
    hericles

    Began Watching Checking Availability

    how do in go about in order to check availabili in a form..
  • Member Avatar for hericles
    hericles

    Replied To a Post in Checking Availability

    Are you wanting to validate a form or do something else? Your question isn't very clear.
  • Member Avatar for hericles
    hericles

    Began Watching When to use an interface and abstract classes

    When would you use an interface over an abstract class vise versa?
  • Member Avatar for hericles
    hericles

    Replied To a Post in When to use an interface and abstract classes

    The biggest difference between the two (to me) is that interfaces don't contain implemented methods. They only define the structure that the inheriting class must take, whereas abstract classes can …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Error in jQuery

    OK, I don't why this is the case but if you remove the top:80px from your CSS it works. With the CSS top still there you can do top, left …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Error in jQuery

    Do you have the correct plugin available? unless my knowledge is outdated the jQuery UI lib is needed to use effects byond swing and linear
  • Member Avatar for hericles
    hericles

    Began Watching count++ on minus/plus

    Hello guys I have a problem with jquery this my code: var count = $(".count"); $('.minus').on('click', function () { if (count.val() > 1) count.val(parseInt($(".count").val()) - 1); }); $('.plus').on('click', function () …
  • Member Avatar for hericles
    hericles

    Replied To a Post in count++ on minus/plus

    If your HTML snippet is the same for all rows then each product has a label with a class of 'count'. Which means in your jQuery all of the labels …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Error in jQuery

    I changed the final parameter to linear, switch it back to easeOutBounce, or whatever it was before. I couldn't remeber if that was a correct animation so I went with …
  • Member Avatar for hericles
    hericles

    Began Watching Error in jQuery

    Argh, I can't see the error in this code ? [[Link](http://jsfiddle.net/WildWind/D8tTE/)]
  • Member Avatar for hericles
    hericles

    Replied To a Post in Error in jQuery

    $(".box").click(function() { $('#circle').animate({height: '-=900px'}, 1300,'linear'); }); You were missing the curly braces and the 'px'. The '=' isn't required.
  • Member Avatar for hericles
    hericles

    Began Watching Send automatic email for registration

    Hello, I am trying to create registration form that automatically send automatic email after the user press next. Registration1.php <!DOCTYPE html> <html lang="en"> <head> <title>Registration</title> <meta charset="utf-8"> <meta name="description" content="Your …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Send automatic email for registration

    As far as sending the email goes, are you trying this from a server or just on your local machine? Because you need a working mail server for the email …
  • Member Avatar for hericles
    hericles

    Began Watching unexpected '&&' (T_BOOLEAN_AND)

    Hello, I wonder why I get this error: Parse error: syntax error, unexpected '&&' (T_BOOLEAN_AND), expecting ')' in C:\xampp\htdocs\squprime\registration1.php on line 65 line 65: if(!empty($stu_fname && $stu_lname && $stu_email && …
  • Member Avatar for hericles
    hericles

    Replied To a Post in unexpected '&&' (T_BOOLEAN_AND)

    As far as I know empty() only takes one variable. The error is complaining about ALL of the && in your code, not any particular one.
  • Member Avatar for hericles
    hericles

    Replied To a Post in BETWEEN IN SQL QUERY

    The error says you are trying to put a string into a long. That should be enough to track down the cause. Although your SQL query doesn't look right. Don't …
  • Member Avatar for hericles
    hericles

    Began Watching BETWEEN IN SQL QUERY

    Hi, i am trying to extract values based on range of dates. Why i am getting this error Invalidcastexception was unhandeled **Conversion from string "SELECT * FROM TBLRequest where T" …
  • Member Avatar for hericles
    hericles

    Replied To a Post in BETWEEN IN SQL QUERY

    The error is related to your SQL query itself. It seems to be implying that the variable you are storing the string in is set to be a long variable. …
  • Member Avatar for hericles
    hericles

    Replied To a Post in PHP not able to call function GetImageExtension

    Based on this: echo "1"; if(empty($imagetype)) return false; your $imagetype variable is empty. Which comes back to this: `$imgtype=$_FILES["uploadedimage"]["type"];` Check the actual values of those variables.
  • Member Avatar for hericles
    hericles

    Began Watching Crystal Report 2008 with VS 2012

    i already use VS 2008 and CR 2008 .but i need to use CR 2008 with VS 2012 ..but its giving me error even i added concerned reference like cysrtaldeciosion …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Crystal Report 2008 with VS 2012

    This may help you, [Click Here](http://stackoverflow.com/questions/12695563/crystal-reports-for-vs2012-vs2013), as others seem to have had problems too. But, to really help out, what was the error message?
  • Member Avatar for hericles
    hericles

    Began Watching PHP not able to call function GetImageExtension

    Hi Friends, I am using this code to upload image but it seems my call is not getting inside function. I put some echo commands for debugging. all I get …
  • Member Avatar for hericles
    hericles

    Replied To a Post in PHP not able to call function GetImageExtension

    Can you put an echo after this line: `if (!empty($_FILES["uploadedimage"]["name"]))` to prove this IF condition is being met?
  • Member Avatar for hericles
    hericles

    Began Watching Program does not work correctly with MS Access DB

    I have a small program that queries a database and retrieve some information about employees. The only problem I have is that when I search for the employee my program …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Program does not work correctly with MS Access DB

    Why are you doing it this way? If you want a particular employee and you're entering the name, why aren't you adding that information to the SQL query and retrieving …
  • Member Avatar for hericles
    hericles

    Began Watching how to post data a web site and get result of it in windows phone 8

    i have a windows phone project and i am trying to post data to website and get the data i have working windows form project code but when i try …
  • Member Avatar for hericles
    hericles

    Replied To a Post in how to post data a web site and get result of it in windows phone 8

    Can you confirm you have added the correct USING statement?
  • Member Avatar for hericles
    hericles

    Began Watching HTML 5 & CSS drop down menu

    HI guys hope your all well. I'm in the final stages of getting my website created. I wanted a simple HTML/CSS dropdown menu I have found this, from this website …
  • Member Avatar for hericles
    hericles

    Replied To a Post in HTML 5 & CSS drop down menu

    Was it a mistake when pasting in the CSS that caused you to make the first element 'av' instead of 'nav'? Also, the CSS code can't be complete because I …
  • Member Avatar for hericles
    hericles

    Began Watching querying database with sql server 2005

    Hello, I am currently completing a side project. The biggest ideal of it all has to do with a dynamic drop down box. I have heard and seen of the …
  • Member Avatar for hericles
    hericles

    Replied To a Post in querying database with sql server 2005

    You can search as many columns as you want if you think the input is going to vary. You just want to only return one column and make sure the …
  • Member Avatar for hericles
    hericles

    Began Watching Learning

    I am new to programming and I have learned the language javascript and jquery but I can't actually make things work. In other words I know all the parts of …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Learning

    The best idea is to rebuild something you see working, making some additions, add a new function. If you've read a book with some non-trival examples, build them as they …
  • Member Avatar for hericles
    hericles

    Replied To a Post in SEO

    Indexing alone won't get you into the top search results. poorly constructed sites still get indexed if they are submitted to google or have links in-bound links a spider can …
  • Member Avatar for hericles
    hericles

    Began Watching how to CRUD with generalization in mysql

    Hi guys, I have 3 classes : 1.Product(Super Class) 2.SmartDevice(Sub Class) 3.Accessories(Sub Class) so I made 3 tables in database and made productId as a foreign key for smartDevice table …
  • Member Avatar for hericles
    hericles

    Replied To a Post in how to CRUD with generalization in mysql

    If I understand your question you want to insert a product into the products table and then, depending on whether it is an accessory or a smart device, also insert …
  • Member Avatar for hericles
    hericles

    Began Watching SEO

    I have website, i apply seo meta tags, facebook open graph protocol, title tags, schema tags for sementic web and other minor and majour seo on website but site is …
  • Member Avatar for hericles
    hericles

    Replied To a Post in SEO

    You say you've added meta tags but I don't see a meta keywords tags in your head section. The description could be more relevant to the search terms you want …
  • Member Avatar for hericles
    hericles

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

    Hello, I am getting an error <?Php include 'connect.php'; $userName = $_POST['Username']; $firstname = $_POST['First Name']; $Surname = $_Post['Surname']; $email = $_POST['Email Address']; $password = $_POST['Password']; $gender = $_POST['Gender']; $dob …
  • Member Avatar for hericles
    hericles

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

    Your $dbhandle object doesn't exist. Is it being declared in the connect.php and are you referring to it by the correct variable name?
  • Member Avatar for hericles
    hericles

    Replied To a Post in Unable to remove a variable in session array

    The only query I can see that might cause the error you are seeing is this one: `$query_add= sprintf("SELECT * FROM tbl_addons WHERE addOns_id IN (%s)", $colname_RecAdd_on);` If $colname_RecAdd_on is …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Unable to remove a variable in session array

    You still haven't given us everything required. We know the error is coming from an SQl query and in your first code segment there is : `$result_car=mysql_query($query_car);` with no reference …
  • Member Avatar for hericles
    hericles

    Began Watching XSS injection

    I am learning about cross-side scripting and have made a simple html page along with a php page to return the data entered <!DOCTYPE html> <html> <head> <title>Inject</title> </head> <body> …
  • Member Avatar for hericles
    hericles

    Replied To a Post in XSS injection

    I can confirm this as true. It's not perfect however, you can fudge the script tags in various ways that the script analyser will ingnore and pass through (I saw …
  • Member Avatar for hericles
    hericles

    Began Watching Unable to remove a variable in session array

    Hi everyone.. I'm using a very simple code to remove an item from session array. I just jave no idea why it returns SQL error like this in another page …
  • Member Avatar for hericles
    hericles

    Replied To a Post in Unable to remove a variable in session array

    That code sample clearly isn't making any SQL queries so you'll need to look at your code that is. Presumably at some point you are building up an SQL query …

The End.