Jump to content

corneleus

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Everything posted by corneleus

  1. I don't fully agree, although I fully appreciate jquery and it's application, it's just not something that I enjoy using. While JQuery has an impressive library in terms of quantity, depending on how much customization you require on your website, functionality maybe limited thus using raw javascript maybe inevitable in some cases. The JQuery javascript file is required to run JQuery commands, while the size of this file is relatively small (25-100KB depending on server), it is still a strain on the client computer and maybe your web server as well if you intend to host the JQuery script on your own web server. I think users of jquery should always try to analyze the task at hand before choosing whether or not to use it. Sometimes the advantages will be greater than disadvantages, but of course this will be reversed in other cases. I'd rather my website was efficient to use than have jquery doing everything just to make my life easier at the expense of the user experience. There's a time and a place for everything, and that includes jquery.
  2. Yeah, I was thinking that perhaps the query has failed somewhere, but I can't see anything that looks wrong in the code to tell. I've got a feeling that AJAX isn't sending any variables in the URL parameter to be parsed by PHP. But I'm pretty new to AJAX and was wondering if anyone can offer any insight into a more correct way to send url variables to php through an AJAX call. If anyone can help I'll be very greatful.
  3. Hello everyone, I have recently tried an Ajax/PHP tutorial from http://www.w3schools.com/PHP/php_ajax_database.asp They have a working example of this code on the above url. I tried to mimic this code in my apache server to see if I could get it working. However I keep getting this error: Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in etc. It's telling me that the error is in the php script around the while clause. However I can't see an immediate problem. Or perhaps i'm being blind. Please can anybody help me?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.