No Responses to “Uncategorized”

  1. Neil Morgan

    I realise this is off topic but while your blog looks nice it would be far better if you’ll be able to use lighter colors too in the design. This will encourage a lot more readers come to check it out more often!

  2. Mike Perham

    Thanks for taking the time to discuss this I feel strongly about it and love learning more on this topic. If possible as you gain expertise would you mind updating your blog with more information? as it is extremely helpful for me.
    http://celabright.info/

  3. Jared

    OK, so i have that installed, but i think its looking in the wrong place for it, how do i change the path?

  4. krishsal

    Great solutions you are great. (Nuvvu manishivi kaadu mama).

    Regards
    Krishsal

  5. gout food

    Way cool! Some very valid points! I appreciate you writing
    this article plus the rest of the site is extremely good.

  6. santhosh

    the attach a file is working properly but body content name email and message not working..
    can’t display these details

  7. santhosh

    $headers = “From: admin@server.com\r\n”;

    insted of this i am using Post email id as from address how can i set that email id insted of this ($headers = “From: admin@server.com\r\n”;)… please help me….
    i am change that header id in to other id (except our server email id) its not working give me one solution plzzzzzzzzzzzzzz…….

  8. santhosh

    dear muni,

    r u change header or any modification exept this
    ($to = $_POST[’email’];
    and assigning this in header as from email
    $headers = “From: $to\r\n”;)

    i did same way but my server did not sent any mail.. then i was chnage the headers to.
    $headers = “From: admin@server.com\r\n”;

    the mail sent working … what is the prob… how to solve this miracle….

  9. santhosh

    my code bellow

    $from = $_POST[’email’];
    $to = “test@gmail.com”;
    $bodymsg=”Name : “.$_POST[‘name’].””;
    $bodymsg.=”Email : “.$_POST[’email’].””;
    $bodymsg.=”Contact No : “.$_POST[‘number’].””;
    $subject = ‘Resume’;
    $bound_text = “test”;
    $bound = “–“.$bound_text.”\r\n”;
    $bound_last = “–“.$bound_text.”–\r\n”;

    //$headers = “From: admin@server.com\r\n”;
    $headers = “From: $from\r\n”;
    $headers .= “MIME-Version: 1.0\r\n”

  10. Veronika

    Hi muni,
    thanks a lot for your code!

    I’m new to php and have a trouble editing your code. Is there a way to send multiple entries form input fields in the body of the email?

    For example in your code we are just sending a “message” as a body of the email. What if you need to send “message”, “phone”, “email”?

    Thanks in advance for your help!

  11. muni

    Hi Veronika,

    Yes you can send multiple form entries in the body of mail, just get multiple form entries and concatenate those fields like in the below code

    $bodymsg=$_POST[‘message’]. ”
    phone Number :” . $_POST[‘phone’] . “
    Email”.$_POST[’email’] ;

    I had updated in demo page and in source code too.. Download source if you needed……

  12. securitynews

    hi,

    found your blog from indiblogger,
    was wondering if you know a JS to copy the website/article URL if someone copies anything from the website. i.e if someone copies anything from your website your URL should get copied along with it.
    hope you get what i mean.

    thanks
    support|at|letsbytecode.com

  13. muni

    hi,

    Yes, I had script for your requirement. Do you need it ?

    Regards,

    Muni

  14. My Say

    thanks for sharing that piece of information will this work for wordpress.com hosted sites

  15. Madhulika

    I am unable to download the script. I have subscribed to your blog but still I am unable to download it.

  16. muni

    hi Madhu,

    Thanks for subscribing, I think u got the download link now.

    Regards,

    Muni

  17. Florida

    Hello would you mind letting me know which web host you’re working with? I’ve
    loaded your blog in 3 completely different internet browsers
    and I must say this blog loads a lot quicker then most.
    Can you suggest a good internet hosting provider at a reasonable price?

    Thank you, I appreciate it!

  18. muni

    Hi Florida,

    I am using Host Gator and happy with speed and their service too……

  19. muni

    CREATE TRIGGER testTrigger BEFORE INSERT ON kidz_accesslogs
    FOR EACH ROW BEGIN
    SET NEW.media_id = REPLACE(SUBSTRING_INDEX(NEW.xsuriquery, ‘&’, 1), ‘vid=’, ”);
    SET NEW.user_id = REPLACE(SUBSTRING_INDEX(NEW.xsuriquery, ‘&’, -1), ‘uid=’, ”);
    END;

  20. muni

    SHOW TRIGGERS LIKE ‘%’;
    DROP TRIGGER testTrigger

    CREATE TRIGGER testTrigger1 AFTER INSERT ON kidz_accesslogs
    FOR EACH ROW BEGIN
    UPDATE kidz_media SET no_of_views = (no_of_views+1) WHERE id= NEW.media_id and NEW.xevent==’destroy’;
    END

  21. Onyx

    Thanks for the nice tutorial.
    What modifications does it need to show questions in random order?

    Is an ORDER BY rand(); enough or needs more code added?

  22. mohit

    Im very new to jqgrid. I have seen your jqgrid demo this is awesome ………
    The only thing that i need is search/find option.In ur demo that option didn’t work.
    So kindly help me ……….

  23. vijay

    how can we create prev button functionality if i have to move back an forth before submitting

  24. muni

    highlight: function(element) {
    $(element).closest(‘.form-group’).removeClass(‘has-success’).addClass(‘has-error’);
    },
    success: function(element,lab) {
    $(lab).next().text(‘Success!!!’);
    $(lab).text(‘OK!’).addClass(‘valid’).closest(‘.form-group’).removeClass(‘has-error’).addClass(‘has-success’);
    }

  25. isun

    hei..great tutorial…but why the result keeps appearing(more than one result)?how to stop it and make to give only one result?

  26. muni

    Hi Isun,

    Sorry for delay,
    Remove following lines of javascript

    setTimeout(function() {
    submit();
    }, 50000);
    it will solve your problems

  27. Nitin

    Does flex builder still don’t support Eclipse later version like Juno? I could see that Flexbuilder supports eclipse versions after 3.3. Can you please comment on this matter.

    Regards,
    Nitin

  28. murugan

    thanks. however it is not working if the data records exceed more than 10? Could be due to fixation of random number for the range from 0 to 9. Or have you restricted the number of records to 10 and if so in which file?

    murugan

  29. muni

    Hi,

    Thanks Murugan,

    once I fixed, I will leave you comments here………

    Regards,
    muni

  30. murugan

    Great. Now it is working. Thank you very much. I will check the latest code and find where it went wrong.
    Once again I thank you for your guidance.

    murugan

  31. Jagan

    Dear Muni,
    Your work is great & it’s helping plenty of programmers.
    But I asked assistance for something from you that you’d probably remember… There’s not even one in that list that is capable for writing tutorial ?

  32. naveen

    i want be a full quiz coding with timer…

    also a website is very useful

  33. Okezie Micael

    Nice, Good work. wishing you more knowledge and Grace.

    Please how do i add a timer to it ?

  34. Muthu

    nice website, thanks for sharing your code, please share with source code with category selection

  35. mile

    hey muni, how to dont use ajax in mean not show question if touch CTRL+U
    I mean more safe if use session, right? how show from database with random question+answer and know what question was answered.

  36. Lawson

    Hi, How do i make a timer for each question. So once time runs out. It moves to the next question

  37. Chris

    Hi muni,
    I have the same issue with the script not allowing for more than 10 records. You said you fixed that. What was the problem? I guess it has to do with the javascript that hides and unhides the questions.
    Could you pls share the corrected code here? Would be kind thank you!
    Cheers Chris

  38. Luis

    very good project, congratulations, greetings from Mexico, my English is not very good, but I wonder how it could save your responses in bsade data’m somewhat novice in web development, agradececia much any suggestions of yours, I hope you can help me .

    In advance thank you very much.

  39. muni

    $.validator.addMethod(‘filesize’, function(value, element, param) {
    // param = size (en bytes)
    // element = element to validate ()
    // value = value of the element (file name)
    return this.optional(element) || (element.files[0].size <= param)
    });

    $(document).ready(function() {

    var validator = $('#test').validate( {
    submitHandler : function(form) {
    $("#sub").attr("disabled", "true");
    form.submit();
    },
    rules : {
    img : {
    required : true,
    filesize: 1024*1024
    }
    },
    messages : {
    img : {
    required : 'Please select file to upload',
    filesize : 'Please select file lesser than 1 MB'
    }
    }
    });
    });

  40. Tusar

    Hi Muni. In a situation, where I have to show checkboxes instead of radio buttons for teh answer options, where user can select multiple answers. I have stored the answers in the db as comma separated value. How do i validate the serialize data. Can you please suggest.

    Yhanks

  41. designers

    I believe everything published was very logical. But, what about this?
    what if you added a little content? I am not saying your information isn’t solid., however what if you added a
    headline that grabbed a person’s attention? I mean Live Usernjame and Email
    Availability Checking using PHP, jQuery and AjaxSmart Tutorials – PHP, MySQL, Jquery,
    JavaScript is kinda vanilla. You could peek at Yahoo’s home page and see how they create article headlines to get viewers to click.

    You might add a video or a related picture
    or two to grab readers excited about what you’ve got to
    say. Just my opinion, it might make your blog a little livelier.

  42. Joe Koder

    Your smart tutorial is not being smart using old mysql calls. You should be using mysqli or pdo.

    Additionally, the following query from questions.php line 15 can cause an error:

    mysql_query(“INSERT INTO users (id, user_name,score,category_id)VALUES (‘NULL’,’$name’,0,’$category’)”) or die(mysql_error());

    Since the id column is an auto increment and you are specifying column names in the query, there is no need for it. Correct query (without mysqli or pdo)

    mysql_query(“INSERT INTO users (user_name,score,category_id)VALUES (‘$name’,0,’$category’)”) or die(mysql_error());

  43. muni

    .hide{display:none;}

    <?php while ( $result = mysqli_fetch_assoc($row) ) {
    if ( $i == 0) echo "”;?>

    <div id='question’ >
    <p class='questions' id="qname”> .
    <input type="radio" value="1" id='radio1_’ name=”/>

    <input type="radio" value="2" id='radio1_’ name=”/>

    <input type="radio" value="3" id='radio1_’ name=”/>

    <input type="radio" value="4" id='radio1_’ name=”/>

    <input type="radio" checked='checked' style='display:none' value="5" id='radio1_’ name=”/>

  44. muni

    $i++;
    if ( ( $remainder < 1 ) || ( $i == $number_question && $remainder == 1 ) ) {
    echo "Finish”;
    echo “”;
    } elseif ( $rowcount > $number_question ) {
    if ( $j == 1 && $i == $number_question ) {
    echo “Next”;
    echo “”;
    $i = 0;
    $j++;
    } elseif ( $k == $rowcount ) {
    echo ” Previous
    Finish”;
    echo “”;
    $i = 0;
    $j++;
    } elseif ( $j > 1 && $i == $number_question ) {
    echo “Previous
    Next”;
    echo “”;
    $i = 0;
    $j++;
    }

    }
    $k++;

  45. Joe Koder

    Glad to see you updated the code to Mysqli. One problem you might want to address: Every time a user reloads the page the quiz/timer resets.

  46. muni

    Hi Jac,

    Sorry I had restricted the direct download, only subscribed users will get download to their mail id after they subscribed the blog successfully..

    Many Thanks,

    muni

  47. Vitor Sousa

    i i subscribded, but i still cant download de files…

    Is any problem with that?

    So you catched my e-mail adress and…

    Thank you

  48. Vitor Sousa

    Hi there, where are the .css file called style?

    And js??

    Thank you

  49. Vitor Sousa

    You give us a path like this in questions.php

    …But where are the files?…

    “”

    The next buton apears in all page and doesn’t work:::

    How can i fix it?

    Thank you:::

  50. Vitor Sousa

    sorry i was talking about this files
    css/bootstrap.min.css” rel=”stylesheet” media=”screen
    css/style.css” rel=”stylesheet” media=”screen

    “js/jquery-1.10.2.min.js

    js/bootstrap.min.js
    script src=”js/jquery.validate.min.js

  51. muni

    Hi Vitor,

    I had provided all the source files in the downloaded link. Please find the download button at the start of tutorial and download all the source files….

    Many Thanks,
    muni

  52. Vitor Sousa

    Hi i got the files that i want, but when user wants to repeat the quiz it takes him to index and if he wants to repeat several times he needs to enter his name.. and i dont know how to fix it…

    Anyone can help?

    thanks

  53. muni

    Hi Victor,

    If user enters his/her name first time those value saved in session, once he finished quiz then he want take quiz all need to do is just press start a quiz button it brings him to index page, where he only he need to choose category quiz he had choosen… No need to re-enter his name again.

    Many Thanks,

    muni

  54. Siyanat

    Hi,
    The demo looks great , I have subscribed but still not getting any download link 🙁

  55. DShed

    This looks stunning – can’t wait to use it. Thank you for sharing 🙂

  56. DShed

    Help! I’ve deployed this and it works flawlessly in firefox and chrome, but in IE 9 i see the following error in the console log

    Unable to get value of the property ‘sandbox’: object is null or undefined
    wysihtml5-0.3.0.min.js, line 260 character 364

    The WYSI field just keeps showing the loading wheel. Your page works fine in IE9, what can i do?

    Thank you

  57. omar faruque

    hello muni. Thanks for your nice tutorial. I use your code in my page. But i face a new problem, I want to show a single question. But my all question are hide. plz want to know why?

    Thanks,
    I am weating for your response.
    Omar Faruque from Bangladesh.

  58. Gopi

    Hi muni,
    I am Gopi,I run your code in xampp server i got some error,
    please suggest me how to rectify that error.

    error is :

    Could not execute: /var/qmail/bin/sendmail

  59. Justin

    This is fantastic – thank you!

    One problem: for the editable textarea, I get it to work fine. However, when I refresh the page with text I have already saved, it displays the text with a line space above the text.

    Is there any way to fix that? I’ve been looking at the CSS, but couldn’t find it.

    Thanks!

  60. muni

    When u submit a form, you will get data in array format. then using for or foreach insert those data in Database.

    Regards,

    muni

  61. michael lupolover

    We are a bunch of volunteers and opening a braand new scheme in our community.
    Your website provided us with helpful information to work on.
    You have done an impressive job and our entire group shall be grateful to you.

  62. eric fan

    hello, can email me this codding , im need use this for my reference, i need use this method in my project.. thank…

  63. Narasinga Rao

    Sir, What changes should i make in watch.js, if i need to decrement my counter, i.e, i need to show countdown timer in quiz. Please help me out in this

  64. Narasinga Rao

    Thanks a lot muni,

    Another Problem is that, when i fetch questions from database, its displaying half a question. I mean, it is not displaying full question. Is there any restriction on displaying number of characters of question?

  65. khufu23

    Would it be a simple task to have the correct answer and an explanation displayed before jumping to the next question? Any ideas how to do that?

  66. Prince

    I would like to receive the script. Please send it to my email box. Waiting for your reply

  67. Narasinga Rao

    Hi Muni, There is a problem in timer programming in version 2 and version 3 of your code, when we refresh the quiz page in browser the timer once again restarts from initial value. In Quiz that shouldn’t happen. Kindly provide me the answer for this. Accessing timestamp value to set it as session variable to avoid this problem.

  68. ahmer

    Hi Muni,
    Great work…
    How do i make a timer for each question. So once time is up. It moves to the next question

  69. omar faruque

    Dear Bro,
    Thanks a lot for this type of tutorial. But I have a problem. If you fix my problem. This is my file link: http://www.grecenter.net/model_tesst/

    When i click “next” then come “next-2” question but after 9th question they show 2 “container div” at a time. i meen number 10th & number-1 show at time. In this position what can i do?

    Thanks
    Omar Faruque
    Bangladesh.

  70. Jihed

    That’s what I’m looking for, anyone find a solution post it please!

  71. Keerthi

    i want random questions each time when i refresh 🙁 i want that source code 🙁

  72. Jordan

    I’ve done the step by step process that you did in order to make the simple quiz application but my quiz application is displaying all the questions at the same time and I don’t know why. I need help getting it fixed. I’ve tried subscribing so that I can download the files directly but for some reason I can’t do that either. I just want to use the Quiz application Using PHP, jQuery, Ajax, MySQL and HTML5 Part-1 not part 2 or 3. Can you send the coding files directly to me? thank you.

  73. abul hasan

    Hi Munni,

    Superb Work…

    I have subscribed. But still i didn’t get download link….

    Thanks…

  74. Swapnil

    Hey u jave given link to download but its not working so could u plz provide me the code for the above example

  75. Thriz

    Your tutorial is excellent but i have just one problem with it is that a user is only allowed to take one question if user starts a new quiz it does not reflect in the db and the same user can’t log in again….how do i slove this to make a user take multiple test and make those tests scores reflect in the db

  76. Dipo

    Please i requested for some download and i got nothing it’s more than 24 hours now pls refer to this problem thanks

  77. drukarnia

    After I originally left a comment I seem to have clicked on the -Notify me when new comments are added- checkbox and from now on whenever a
    comment is added I get four emails with the same comment.

    Perhaps there is a way you can remove me from that
    service? Thanks a lot!

  78. Layla

    I’ve tried to download the source file but it didn’t work.
    I subscribed with 2 emails and I didn’t get the download link
    I need the css files please

  79. Komal

    In your code is the no of questions are fixed because when I fetch the question from database and question is greater than 5 the page went broken. plz give me the solution

  80. Saad

    Great work. Need small help. The comments textarea puts a lot of whitespaces before and after the value retrieved from the db. Same issue is on your sample page as well. Any tweak to avoid it?
    Thanks,
    Saad

  81. eko

    i dont understand in file ajax.php, when $_POST[‘$i’] fill in. . ? in this statemen if($result[‘answer’]==$_POST[“$i”])

  82. Ginny

    Where can i download the .css and .js files??
    I need them asap… Please send the link,..i have subscribed also. when will i get the link?

  83. Rafael Diaz

    Hello, i suscribe for your page, but don’t have the code. Please, send me code, thanks!

  84. jack li

    Your register/subcribed system look silly, I try 5 times to get a download link and fail after download “Grid_inline”, don’t you have a remember_me or register system?

  85. Textus Intentio

    Hello Muni/Narasinga,

    Any answers to your question? I am facing thew same issue. Any help would be appreciated.

    Thanks & Regards,
    Textus Intentio

  86. jafran

    It’s showing an error like below
    NetworkError: Failed to execute ‘send’ on ‘XMLHttpRequest’: Failed to load ‘file:///C:/xampp/htdocs/nawasmotors/application/views/templates/post.php
    what can I do ??

  87. Ashish

    I want to send Doc and PDF file so what changes i have to do in code can you help me please

  88. Abhishek Asthana

    Hi Muni,

    greetings dear,
    A very good tutorial,and for a newbe like me its very nice.there is one issue,like if we want that a column should be hidden from viewing then what can be done?what is the procedure.Because like there is a user_id by which the data will get updated.So what can I do?Please help

  89. Quocuy

    Please create some sub categories for each category. For example, first, user can choose class 6,7,8,9. Next user can choose courses: math, history, english. In math, user can choose chapter 1,2,3… Thank you!

  90. nguyenquocuy

    Send me source file please. I did subscribe, but no download link has been sent to me. Thank you so much, very nice quiz!

  91. nilesh

    thanks for sending the code
    can you tell me how to add sroll bar to dropdown values of textbox

  92. Vishwanath

    I need to know how may written online exam on a particular date..

    please send me code for this

  93. Alessandro Nestola

    Following the example I can not pass parameters page or limits for reading and id for the upgrade and so on.
    how can I do?

  94. Michelly

    Sajid: You do that the same way. Just make a new entry in your hosts file and httpd.conf file for each new sub-sub-domain. Example:127.0.0.1 elxmpae1.wp.localhost127.0.0.1 elxmpae2.wp.localhostand DocumentRoot D:\xampp\htdocs\wordpress1 ServerName elxmpae1.wp.localhost DocumentRoot D:\xampp\htdocs\wordpress2 ServerName elxmpae2.wp.localhost

  95. Anand

    Can you email me the code,

    Very helpfull code.

    Thanks in advance..

  96. Damon

    Hi Muni,
    Is it possible to put the server.php & update.php code into a functions.php and call it from the jquery code? I’d like to use the table grid for multiple views without having a query/update file for each table. It would be nice to have those sql calls in a functions file. I’ve tried the following but the data isn’t returning.

    #table1_view being the function name, I don’t get any errors but I also don’t get any data returned.
    url:’inc/functions.php/table1_view’,
    datatype: “json”,

    Thanks for you time.

  97. Damon

    Did you ever figure this out, I’ve copied the exact code and can’t get data to display, the grid layout does just no data.

  98. haris

    Can you please send me the source code for this? I have spent days trying to develop this but keep getting errors, I would really appreciate it

    nj.haris@gmail.com

    thank you

  99. Balaji

    Can i have full source code of this examples to my email id……….. i’m looking for this search for past 2 days

  100. Pulkit

    Hey can u mail me full source code for this.
    Thanks 🙂

  101. Sarath

    Sir,
    please send the code to my mail. its very urgent that i need this code. Thnk u in advance

  102. Ezio

    hey, can you mail me the source code, it is a great tutorial thnaks.

  103. dasa

    Hi Muni… nice code there… can you email me the code
    thanks in advance 😉

  104. Rajesh kannan

    It is a very useful tutorial.I need this,can u send me as soon as possible…Thanks in advance

  105. longdonkey19

    why doesn’t the download work? Can I get the source pls.

    regards

  106. Igor

    hi, can you mail me the source code, it is a great tutorial thanks.

  107. Her

    Hi Muni! For me the questions are all appearing in the same page.
    How do I make only one question appear in the page?

  108. Rodrigo

    This example applies to jQuery Mobile? I signed my email but not received the source code of this project .. Could it available?

  109. Baljeet

    thanks a lot bro, really i am thankful to you, i become ur fan…

  110. Chetan

    Hi, Muni. You did an amazing tutorial.

    Can I get the download Link for this one?

  111. longdonkey19

    Got it working and works a treat. but I just found out it doesn’t work in IE. Is there a fix for this or have I missed something?

    regards
    Sam P

  112. Adheesh

    sir plz send me the complete source code please please asap 🙂

  113. Joe

    Hi Muni,

    Great code tutorial. Please can you email me the zip files of code, thanks.

  114. ganesh Suthar

    Pagination

    {

    function change()
    {
    Document.getElementbyID(‘go-txt’).value=”1″;

    }

    #tab
    {
    border:2px solid black;
    }

    connect_error>0)
    {
    die (“Unable to connect your system..”);
    }

    $sql=”select * from pagination “;

    //LIMIT “.($pagenum-1)*$pagesize.”,”.$pagesize;

    $result=$con->query($sql);

    $count=mysqli_num_rows($result);

    $totalpage=$count/$pagesize;

    //echo $totalpage;

    settype($totalpage,’integer’);

    if($count%$pagesize!=0)
    {
    $totalpage=$totalpage+1;
    }
    //echo $totalpage;

    ?>

    <input type="hidden" value="


    />

    <input type="hidden" value="
    1)
    {
    echo $pagenum;
    }
    ?>

    />

    Total Page:

    <input type="text" name="go_txt" onchange="change();" value="<?php

    if($pagenum”/>

    <?

    echo "”;
    echo ” Per.No “;
    echo ” Name”;
    echo ” Address”;
    echo ” Gender”;
    echo ” Qualification “;
    echo “”;

    $sql2=”select * from pagination LIMIT “.($pagenum-1)*$pagesize.”,”.$pagesize;

    $result=$con->query($sql2);

    //$count=mysqli_num_rows($result);

    while($row=$result->fetch_assoc())
    {
    echo “”;
    echo “”.$row[‘per_no’].””;
    echo “”.$row[‘Name’].””;
    echo “”.$row[‘Address’].””;
    echo “”.$row[‘Gender’].””;
    echo “”.$row[‘qualification’].””;
    echo “”;
    }
    mysqli_close($con);

    ?>

  115. ganesh Suthar

    above code Last button is not working. please help me and also button is not disable.

  116. fon

    please send the code to my mail.i am need this code. thnx in advance

  117. mounika

    hey.. i subscribed to your site but still wasnt able to get the download link. Please send me the code.

  118. Boopathi Raja

    Great Work!!! But some times its says “Something went wrong”..

  119. David

    Hello, thanks for this tutorial, i’m starting to learn how to code and i have some problem making this tutorial.
    can u send me the complete source code?

    thanks

  120. irwan

    Hi Muni,
    Great code tutorial. Please can you email me the zip files of code, thanks

  121. marco

    Hi, very nice code. Can you send me the code, please?
    Is it possible to search in the whole record and not only the first letter?
    So, if i search “ama”, the results is both , ex, alabama and amarcord

    Sorry for the bad english

    thankyou very much.
    Marco

  122. Cristian

    Hi muni! Can you please send me through email the source code please? I’m already subscribed and can’t get your mail with the code automatically

  123. Rodrigo

    In this example there is the possibility of adding new questions? If so, how?

  124. Cristian

    Hello! I there any simple way to display the list of questions and answers on the results page? I mean I want to display all the questions with selected answers and correct answers! Important for users to reviews answered questions:).

    Thank you

  125. wojtek

    hi, I have subscribed to your sub list but still no code, Can you please post the code to me please? Thank you

  126. Kem

    Hi could you send me the whole code for this, ill try convert it to PDO for my current project.

    Thanks

  127. Rodrigo

    Good morning this example when I create a User and beginning to play the quiz. Now when do i get out of this User session and try to put your credential accuses the system that already has a registered User and not play the quiz

  128. Domy

    i cant check the comments after login. What can be the problem? Can you please tell me to make code work for more than 10 questions?

  129. Domy

    Thank You so much….i really appreciate your help….keep on posting tutorials..will be following you…thank you again!!

  130. Jacob

    Hello i got full source code from you, but there is a problem. Why it doesn’t work for me ? I created database etc. When i i type in input field af im getting in console reply

    [“AFGHANISTAN”]<!–
    document.writeln('’);
    //–>

    but it doesn’t show the tip.

    you can check it http://www.schrack-seconet.pl/autocomplete/

    Please help me to solve this problem.

  131. muni

    Hi Jacob,

    It’s problem due to script after closing tag. please remove that it will work fine.

    this is that script

    <!–
    document.writeln('’);
    //–>

    Many Thanks,

    Muni 🙂

  132. Jacob

    Hi Muni,
    thanks for your anserw it’s working well now :), i got 1 question. Is it posiible to make link. I mean for example i write Pol and as tip shows POLAND and after click on it i want it to go to some website.

  133. dominique.jorandon

    Thank you so much my friend for your link, very good work ! thx

  134. kumarramesh2020

    why only 20 images are uploaded. if yes then where is the condition is written

  135. Don

    I was looking for the code for Populate Mutiple Textbox with single auto-select Request. I subscribed but got no link.

  136. Jitender

    I want to use autocomplete
    But in a different way actually in your demo data comes out in a row .

    i want to first use autocomplete then on the basis of my selection i wan to fill columns like his dob, qualification mom dad and many more fields.

    Like you do in country demo.
    but this is in row .

    Is that its possible please let me know my email id is jitu.sorout@gmail.com …. Please Help me …

  137. venky perumalla

    can you send download link to my mail also .. if its possible..

  138. Rodrigo Macedo

    How to strip one time? or at least increases more? Why when the 50 seconds the quiz closes

  139. Another

    Hi,
    i am subscribed your newsletter to get this files.
    Please kindly share tutorial files.

    Many thanks

  140. KasperskyHut

    The download link I get is for BS3 (inline.zip). Could you provide me link for BS2 please. Thanks.

  141. BennyHoang

    Hi Muni !
    Its so awesome tutorial. Many thanks you guy.
    All the best, my searching tool running good in php 5 and apache 2. but in php4 can not work.
    Would u plsz show me how to fix it. Thanks.

  142. BennyHoang

    Hi Asthana !
    I had the same issue like u, and u should set all attributes “editable” in all shown collumns. Updating data just in file update.php.

  143. pravin

    After Click on submit (kiss me), nothing happen, let me know whats the issue, tried it online also

  144. muni

    Are you going to add text fields dynamically? If not pls explain me how you are going to use this?

  145. Vinod Verma

    Hi I am geting “Could not execute: /usr/sbin/sendmail” error please help me

  146. pravin

    nice work just let me know how to show correct / incorrect response message for all questions

  147. Lingeshwaran Sambasivam

    Best resume builder to create beautiful resumes instantly. Creative, user-friendly and easy to use.

  148. lusine

    I wanted the code for Populate Mutiple Textbox with single auto-select Request. I subscribed but got no link.
    Can you send me that one?

  149. arshi

    Undefined index: type in C:wampwwwautoautocompleteajax.php on line 8 please help me…

  150. Ishupreet Singh

    please put the consolidated code, and pls tell how to get the friends of a person on client side like we have fb /me/friends api

  151. Matt

    Please Give Your 2 Minutes to Read,

    Facebook earns $7.87 billion dollors per year, We use Facebook for social networking and to connect with our friends. Thus facebook earn revenue because of us but facebook never shares revenue with any facebook user.

    Although we spend our time on facebook, facebook never pays us anything. Wehy should we use facebook further?

    There is new social networking site launched called Tsu, which pays revenue to users means to us. Tsu gives earning opprtunities to us by using social netwok.

    This is very helpful for bloggers too, because bloggers get paid for his/her content.

    Click here to Join Tsu and to Start Earning..!!

    Q- How Can You Earn?

    A- You have to use Tsu as you use facebook, twitter etc.. nothing more than that.. Tsu will give you advertising revenue generated from the ads shown to your friends. Ads are similar as appears on Facebook.

    Click here to Join Tsu and to Start Earning

    Thanks for being the part of people’s welfare by approving this comment. Your Approval will surely help most of your readers to earn money. Just Click here to Sign Up for Tsu and to Start Earning

    Tsu Sign up | Tsu Shortcode | Join Tsu | Tsu Invitation | Tsu

    Thanks for approving this comment, you are helping your readears to earn money. Thanks for your participation in social welfare.

  152. Wattburg

    Hey Muni,

    I just subscribed, so can you send me the download link? 🙂

  153. Thomas Lambert

    i have a trouble…this is my error..what can i do for this..looking for reply only…………

    Could not execute: /var/qmail/bin/sendmail

  154. muni

    Sorry for the delay… check the following two things..

    Are you sure the path /var/qmail/bin/sendmail is correct?

    If yes, check also the permissions for sendmail are set correctly. Because if you are shared hosting by default they won’t provide support to sendmail. Create a support ticket & ask your host about it

  155. muni

    Are you sure the path /var/qmail/bin/sendmail is correct?

    If yes, check also the permissions for sendmail are set correctly.
    Because if you are shared hosting by default they won’t provide support
    to sendmail. Create a support ticket & ask your host about it

  156. muni

    HI Omar,

    Did u got source code, If you got then refer populate multiple textbox with single auto-select request script.

    tyr to send response like this [INDIA|356].

    Using success method assign Country id instead of name

    success: function( data ) {
    response( $.map( data, function( item ) {
    var code = item.split(“|”);
    return {
    label: code[0],
    value: code[1],
    data : item
    }
    }));
    }

  157. muni

    you are missing type while making ajax request..

    data: {
    name_startsWith: request.term,
    type: ‘country_table’,
    row_num : row
    }

  158. Omar Elbaga

    Perfect! But is there a way I can leave the textfield as is displaying the country name, but have the ID added into a hidden field?

  159. muni

    yes, you can assign values to any number textfields using select method like this

    select: function( event, ui ) {
    var names = ui.item.data.split(“|”);
    $(‘#country_name ‘).val(names[0]);
    $(‘#country_id ‘).val(names[1]);
    }

  160. muni

    console.log(“scrollHeight———–“+document.getElementById(‘scroll’).scrollHeight );
    console.log ( “scrollTop——“+ document.getElementById(‘scroll’).scrollTop );
    console.log(“clientHeight———–“+document.getElementById(‘scroll’).clientHeight );

  161. Omar Elbaga

    How do i combine this method with the above method? When i try it I don’t see the value of the textfield populating in the other test textfield.

  162. Omar Elbaga

    I got this to work but the problem is it adds the id once the dataset returns so it randomly picks and ID if there are multiple records returned.

    I need it to only add the ID selected by the user from the dropdown into the other textfield.

    so far my code is:

    success: function( data ) {
    response( $.map( data, function( item ) {

    var code = item.split(“|”);
    $(‘#thehiddentextfield’).val(code[1]);
    return {
    label: code[0],
    value: code[1],
    data : item
    }

    }

  163. Omar Elbaga

    Is there a limit to the amount of records it’s returning. It seems to be cutting off at a certain point, not going through all the records?

  164. Gerardo Vicente Vicente

    your project is great broh! but i
    i want add more colums, how can do that?

  165. muni

    yes, you can add no. colums required. but you need to change in your html page as well as juqery script… try, if u canot find out let me know…

  166. Gerardo Vicente Vicente

    i was trying but i can’t, when i do that the values overlap in the same colum i try to change in your auto.js , ajax.php and index.php, i hope you can help me please! i want to add seven colums

  167. muni

    Hi,

    pls change your table like this in index.php

    S. No
    Country Name
    Country Number
    Country Phone code
    Country code
    Favourite Place
    Historical Place
    Favourite Game

    1.

    Then chnage script in auto.js file

    var data=””+count+”.”;
    data +=” “;
    data += “”;
    data += ” “;
    data += ” “;
    data += ” “;
    data += “”;
    $(‘table’).append(data);

  168. Gerardo Vicente Vicente

    thanks broh! i have problems with the auto,js i replace in the same order but dreamweaver say that exist a sintax error

  169. Mech Clavano

    good morning sir! your tutorials are great. I subscribed already to get the source code but i didn’t receive. can you give me the source code??? this is the best quiz game i’m looking for. Im a student and part of our project is to make a quiz game. please help me.

    Thank you! 🙂

  170. Mech Clavano

    good morning sir! your tutorials are great. I subscribed already to get the source code but i didn’t receive. can you give me the source code??? this is the best quiz game i’m looking for. Im a student and part of our project is to make a quiz game. please help me.

    Thank you! 🙂

  171. Mech Clavano

    good morning sir! your tutorials are great. I subscribed already to get the source code but i didn’t receive. can you give me the source code??? this is the best quiz game i’m looking for. Im a student and part of our project is to make a quiz game. please help me.

    my email account — mech_clav87@yahoo.com.ph

    Thank you! 🙂

  172. Omar Elbaga

    How do we change it so that I can populate the value into a span or div element instead of a textfield?

    $(‘#country_no_1’).val(names[1]);

  173. nicowizz

    Thank you so much for your good work ! The script works well with your files. But I have a problem when I want to connect to another database with tables and different fields. Unable to run the script by changing yet config.php and ajax.php ; could you tell me if there is anything to change? thank you

  174. seangore

    It’s not an html5 form without proper input types, and arguably fieldsets with legends. You should have used input type=tel on the county area code, included placeholders, and added required, or maybe even autofocus. You’re also missing labels…

    But more to the point, if you were really doing html5, you could have avoided all of this JavaScript entirely with the use of the datalist attribute. It lets the browser natively do autocomplete. No need for jQuery UI, or any libraries…

    I will stop there, as I know thIs was just a demo, but I would encourage you to have another look at your markup for those beginners who are new to html (not html5).

  175. muni

    Thank you Seangore..

    I don’t think hmtl5 itself will make ajax request and pull data from db… That why i had used jquery and jquery ui….

  176. Samiur Rahman

    Great tutorial thank you for this.. but do you have anything like invoice??Auto complete with a price and calculations…if you have please share with us..I am a beginner.. 🙂

  177. John Doe

    There is an error in the demo. Populate 3 to 4 fields by add more button. Then select country in second row, it will fill the data in 3rd row.

  178. John Doe

    Oh my bad. Sorry, It works fine. Thanks and happy new year to you too.

  179. David Blomstrom

    I just subscribed and would like to request the source code as well. Nice quiz software!

  180. developer

    Please Explain how to add, re size image when it’s uploading, With this image upload script file?. Thank You and this is excellent tutorial !.

  181. muni

    After image is uploaded, we are calling thumbnail($src, $dist, 200); function to do resize. As a parameter to the function we are passing uploaded image url, resize image name and height/weight of the image to be resized.

    In thumbnail() function , I get image extension (jpg, png and etc..) and find height from the width you sent. Finally using PHP GD library to do resizing of the image.

    Also refer this tutorial….

    http://www.smarttutorials.net/thumbnail-image-generation-from-uploaded-image-using-php/

  182. Era

    Glad I found this. Everything works but I wonder how to change the destination folder for the uploaded images? Changing the BASE_PATH does not seem to affect this. Am I missing something?

  183. balu k

    hi,

    Awesome invoice… Please add print functionality and as well as download invoice in pdf format.

  184. balu k

    its just my opinion .. i thought another one functionality like sending invoice pdf by email..

  185. muni

    yes i already in the process to add those functionalities… i will add it soon… Thank you 🙂

  186. Jim

    Excellent development, many thanks Muni, i just wonder if i want to add a discount value before calculation of every line.

  187. Okulaja Ganiu

    Hello sir! your tutorials are great. I just subscribe to get the download too.
    this is the best quiz i have been looking for. Though, i need something that will be displaying the questions (one by one) I’m a student and one of my project is to make a quiz game. please help sir

  188. arvind malav

    great one..need this for my php project….can you plz send me download link for this 3rd part?

  189. Guest

    Thanks for sending the link

    However,…it does not include database tables…

    Can u plz send database tables structure as well?

  190. muni

    Hi Jim,

    Yes You can … pls modify following script to add discount value..

    //price change
    $(document).on(‘change keyup blur’,’.changesNo’,function(){
    id_arr = $(this).attr(‘id’);
    id = id_arr.split(“_”);
    quantity = $(‘#quantity_’+id[1]).val();
    price = $(‘#price_’+id[1]).val();
    if( quantity!=” && price !=” ) $(‘#total_’+id[1]).val( (parseFloat(price)*parseFloat(quantity)).toFixed(2) );
    calculateTotal();
    });

  191. Dony Aditya

    can u add button to save data to another table, when we already fill the row

    thank you 🙂

  192. jonah

    Excellent development and big thanks to you. I just wonder how possible it could be to have a quantity type field for example i can sell out drugs as tablets or as sackets with the price varying.

  193. muni

    yes you can, add quanity type field as drop down in the table..based dropdown selection you change the price…

  194. jonah

    I have tried implementing with a drop down but then the challenge I have is that it cant pick the price of the exact product. All it does is, it picks for me the quantity type and in my ajax script i am doing a SELECT but then I need to know how to filter in my WHERE clause so that i can pick the price of that product for that quantity type.

  195. muni

    pls check on ajax request you are sending selected quantity type… if it yes .. then add add that quantity_type in where clause like that WHERE QUANTITY_TYPE = ‘selected quantity type’;

  196. jonah

    this is how it is; $qtype=$_POST[‘qtype’]; //get the selected quantity type $mj=mysql_query(“SELECT * FROM productlist WHERE qtype=’$qtype'”);
    // the above statement does do what i want as it doesn’t filter records based on the chosen quantity type and product name;
    Also i wonder how possible it is to pass two different values with the onchange attribute such that my code can as below;

    $pname=$_POST[‘productName’];// product name passed through ajax $qtype=$_POST[‘qtype’]; //get the selected quantity type $mj=mysql_query(“SELECT * FROM productlist WHERE qtype=’$qtype’ AND product_name=’$pname'”);
    //this query would filter results based on the quantity type selected and the product selected

  197. gworks

    Hi, Nice needed tutorial. Adding multiple items, total gets added. But if I delete any items, total not getting decreased

  198. muni

    hi,
    pls pass number of required parameters like this.

    data: {
    name_startsWith: request.term,type: type,productName: ‘nameofProduct’}

  199. muni

    ya… for that we need to keep added item no. in array, then every time you going to add item need to check with that array of item nos…. if exists we need to show the alert with that message… if you need will update that too….

  200. Gonzo Iñarritu Bocanegra

    cheking tutorial… thank u very much for this tutorial!

  201. palani

    Hi
    I am having 4 column, first 3 from one table and second 2 from another table. But their is no interaction between to table. I can able to display first 3 column. But I am unable to fetch value from 2nd table. can you please help me

  202. muni

    you are referring two tables that are html table or mysql tables? , if it mysql table get records from mysql table using join and fill respective fields…

  203. palani

    S. No

    Country Name

    Country Number

    Country Phone code

    CTYPE code

    TYPE code

    1.

    – Delete

    + Add More

    /**

    * Site : http:www.smarttutorials.net

    * @author muni

    */

    $(“.delete”).on(‘click’, function() {

    $(‘.case:checkbox:checked’).parents(“tr”).remove();

    $(‘.check_all’).prop(“checked”, false);

    check();

    });

    var i=$(‘table tr’).length;

    $(“.addmore”).on(‘click’,function(){

    count=$(‘table tr’).length;

    var data=””+count+”.”;

    data +=” “;

    $(‘table’).append(data);

    row = i ;

    $(‘#countryname_’+i).autocomplete({

    source: function( request, response ) {

    $.ajax({

    url : ‘ajax.php’,

    dataType: “json”,

    method: ‘post’,

    data: {

    name_startsWith: request.term,

    type: ‘country_table’,

    row_num : row

    },

    success: function( data ) {

    response( $.map( data, function( item ) {

    var code = item.split(“|”);

    return {

    label: code[0],

    value: code[0],

    data : item

    }

    }));

    }

    });

    },

    autoFocus: true,

    minLength: 0,

    select: function( event, ui ) {

    var names = ui.item.data.split(“|”);

    id_arr = $(this).attr(‘id’);

    id = id_arr.split(“_”);

    $(‘#country_no_’+id[1]).val(names[1]);

    $(‘#phone_code_’+id[1]).val(names[2]);

    $(‘#country_code_’+id[1]).val(names[3]);

    }

    });

    $(‘#ctype_code_’+i).autocomplete({

    source: function( request, response ) {

    $.ajax({

    url : ‘ajax1.php’,

    dataType: “json”,

    method: ‘post’,

    data: {

    name_startsWith: request.term,

    type: ‘country_table’,

    row_num : row

    },

    success: function( data ) {

    response( $.map( data, function( item ) {

    var code = item.split(“|”);

    return {

    label: code[4],

    value: code[4],

    data : item

    }

    }));

    }

    });

    },

    autoFocus: true,

    minLength: 0,

    select: function( event, ui ) {

    var names = ui.item.data.split(“|”);

    id_arr = $(this).attr(‘id’);

    id = id_arr.split(“_”);

    $(‘#ctype_code_’+id[1]).val(names[4]);

    $(‘#type_code_’+id[1]).val(names[5]);

    }

    });

    $(‘#phone_code_’+i).autocomplete({

    source: function( request, response ) {

    $.ajax({

    url : ‘ajax.php’,

    dataType: “json”,

    method: ‘post’,

    data: {

    name_startsWith: request.term,

    type: ‘country_table’,

    row_num : row

    },

    success: function( data ) {

    response( $.map( data, function( item ) {

    var code = item.split(“|”);

    return {

    label: code[2],

    value: code[2],

    data : item

    }

    }));

    }

    });

    },

    autoFocus: true,

    minLength: 0,

    select: function( event, ui ) {

    var names = ui.item.data.split(“|”);

    id_arr = $(this).attr(‘id’);

    id = id_arr.split(“_”);

    $(‘#country_no_’+id[1]).val(names[1]);

    $(‘#country_code_’+id[1]).val(names[3]);

    $(‘#countryname_’+id[1]).val(names[0]);

    }

    });

    $(‘#country_no_’+i).autocomplete({

    source: function( request, response ) {

    $.ajax({

    url : ‘ajax.php’,

    dataType: “json”,

    method: ‘post’,

    data: {

    name_startsWith: request.term,

    type: ‘country_table’,

    row_num : row

    },

    success: function( data ) {

    response( $.map( data, function( item ) {

    var code = item.split(“|”);

    return {

    label: code[1],

    value: code[1],

    data : item

    }

    }));

    }

    });

    },

    autoFocus: true,

    minLength: 0,

    select: function( event, ui ) {

    var names = ui.item.data.split(“|”);

    id_arr = $(this).attr(‘id’);

    id = id_arr.split(“_”);

    $(‘#country_code_’+id[1]).val(names[3]);

    $(‘#phone_code_’+id[1]).val(names[2]);

    $(‘#countryname_’+id[1]).val(names[0]);

    }

    });

    i++;

    });

    function select_all() {

    $(‘input[class=case]:checkbox’).each(function(){

    if($(‘input[class=check_all]:checkbox:checked’).length == 0){

    $(this).prop(“checked”, false);

    } else {

    $(this).prop(“checked”, true);

    }

    });

    }

    function check(){

    obj=$(‘table tr’).find(‘span’);

    $.each( obj, function( key, value ) {

    id=value.id;

    $(‘#’+id).html(key+1);

    });

    }

    $(‘#countryname_1’).autocomplete({

    source: function( request, response ) {

    $.ajax({

    url : ‘ajax.php’,

    dataType: “json”,

    method: ‘post’,

    data: {

    name_startsWith: request.term,

    type: ‘country_table’,

    row_num : 1

    },

    success: function( data ) {

    response( $.map( data, function( item ) {

    var code = item.split(“|”);

    return {

    label: code[0],

    value: code[0],

    data : item

    }

    }));

    }

    });

    },

    autoFocus: true,

    minLength: 0,

    select: function( event, ui ) {

    var names = ui.item.data.split(“|”);

    $(‘#country_no_1’).val(names[1]);

    $(‘#phone_code_1’).val(names[2]);

    $(‘#country_code_1’).val(names[3]);

    }

    });

    $(‘#country_code_1’).autocomplete({

    source: function( request, response ) {

    $.ajax({

    url : ‘ajax.php’,

    dataType: “json”,

    method: ‘post’,

    data: {

    name_startsWith: request.term,

    type: ‘country_code’,

    row_num : 1

    },

    success: function( data ) {

    response( $.map( data, function( item ) {

    var code = item.split(“|”);

    return {

    label: code[3],

    value: code[3],

    data : item

    }

    }));

    }

    });

    },

    autoFocus: true,

    minLength: 0,

    select: function( event, ui ) {

    var names = ui.item.data.split(“|”);

    $(‘#country_no_1’).val(names[1]);

    $(‘#phone_code_1’).val(names[2]);

    $(‘#countryname_1’).val(names[0]);

    },

    open: function() {

    $( this ).removeClass( “ui-corner-all” ).addClass( “ui-corner-top” );

    },

    close: function() {

    $( this ).removeClass( “ui-corner-top” ).addClass( “ui-corner-all” );

    }

    });

    $(‘#country_no_1’).autocomplete({

    source: function( request, response ) {

    $.ajax({

    url : ‘ajax.php’,

    dataType: “json”,

    method: ‘post’,

    data: {

    name_startsWith: request.term,

    type: ‘country_no’,

    row_num : 1

    },

    success: function( data ) {

    response( $.map( data, function( item ) {

    var code = item.split(“|”);

    return {

    label: code[1],

    value: code[1],

    data : item

    }

    }));

    }

    });

    },

    autoFocus: true,

    minLength: 0,

    select: function( event, ui ) {

    var names = ui.item.data.split(“|”);

    $(‘#country_code_1 ‘).val(names[3]);

    $(‘#phone_code_1’).val(names[2]);

    $(‘#countryname_1’).val(names[0]);

    },

    open: function() {

    $( this ).removeClass( “ui-corner-all” ).addClass( “ui-corner-top” );

    },

    close: function() {

    $( this ).removeClass( “ui-corner-top” ).addClass( “ui-corner-all” );

    }

    });

    $(‘#phone_code_1’).autocomplete({

    source: function( request, response ) {

    $.ajax({

    url : ‘ajax.php’,

    dataType: “json”,

    method: ‘post’,

    data: {

    name_startsWith: request.term,

    type: ‘phone_code’,

    row_num : 1

    },

    success: function( data ) {

    response( $.map( data, function( item ) {

    var code = item.split(“|”);

    return {

    label: code[2],

    value: code[2],

    data : item

    }

    }));

    }

    });

    },

    autoFocus: true,

    minLength: 0,

    select: function( event, ui ) {

    var names = ui.item.data.split(“|”);

    $(‘#country_code_1 ‘).val(names[3]);

    $(‘#country_no_1 ‘).val(names[1]);

    $(‘#countryname_1’).val(names[0]);

    },

    open: function() {

    $( this ).removeClass( “ui-corner-all” ).addClass( “ui-corner-top” );

    },

    close: function() {

    $( this ).removeClass( “ui-corner-top” ).addClass( “ui-corner-all” );

    }

    });

    ajax.php

    require_once ‘config.php’;

    if($_POST[‘type’] == ‘country_table’){

    $row_num = $_POST[‘row_num’];

    $name = $_POST[‘name_startsWith’];

    $query = “SELECT * FROM $version_type where UPPER(VRPID) LIKE ‘”.strtoupper($name).”%'”;

    $result = odbc_exec($connection, $query);

    $data = array();

    while ($row = odbc_fetch_array($result)) {

    $name = trim($row[‘VRPID’]).’-‘.trim($row[‘VRVERS’]).’|’.trim($row[‘VRPID’]).’|’.trim($row[‘VRVERS’]).’|’.$row_num;

    array_push($data, $name);

    }

    echo json_encode($data);

    }

    ajax1.php

    require_once ‘config.php’;

    if($_POST[‘type’] == ‘country_t’){

    $row_num = $_POST[‘row_num’];

    $name = $_POST[‘name_startsWith’];

    $query = “SELECT * FROM $database.FQ64006 where UPPER(SCYQ64CTYPE) LIKE ‘”.strtoupper($name).”%'”;

    $result = odbc_exec($connection, $query);

    $data = array();

    while ($row = odbc_fetch_array($result)) {

    $name = trim($row[‘SCYQ64CTYPE’]).’|’.trim($row[‘SCYQ64TYPE’]).’|’.$row_num;

    array_push($data, $name);

    }

    echo json_encode($data);

    }

  204. Madalin

    Hello muni! This script is amazing but how can i add multiple answers instead single answer possibility?

  205. muni

    i think you want to fill autocomplete for the following fields right… ctype_code_1 & type_code_1 ? ., u never made ajax call with the above fields… make autocomplete ajax call with the fields it will work..

  206. Blair Carriere

    Great Job muni! 🙂
    I have a mysql database named autocomplete with 1 table named song and 3 columns id, artist, title and 30,000 rows.
    I only want the fields on index.php Example: (S.NO) | (Search by song ARTIST…) | (Search by song TITLE…)
    Example: I have 640 song titles for the artist Elvis Presley. So If I select Elvis Presley in the ARTIST field it should only show me 640 possible song titles and not all 30,000. Vice versa
    1) How can my example above be achieved?
    2) How do I remove the extra columns from auto.js?
    3) How do I add a button that will email the data selected?
    4) Can it be made to search for for part of the ARTIST name? Example: Presley

  207. palani

    Thanks Muni.

    I made autocomplete for ctype_code_1

    But its not working

    code

    $(‘#ctype_code_1’).autocomplete({

    source: function( request, response ) {

    $.ajax({

    url : ‘ajax1.php’,

    dataType: “json”,

    method: ‘post’,

    data: {

    name_startsWith: request.term,

    type: ‘ctype_table’,

    row_num : 1

    },

    success: function( data ) {

    response( $.map( data, function( item ) {

    var code = item.split(“|”);

    return {

    label: code[4],

    value: code[4],

    data : item

    }

    }));

    }

    });

    },

    autoFocus: true,

    minLength: 0,

    select: function( event, ui ) {

    var names = ui.item.data.split(“|”);

    $(‘#ctype_code_1’).val(names[4]);

    $(‘#type_code_1’).val(names[5]);

    }

    });

  208. muni

    check following things

    1. Will it makes ajax request? while searching on the field.

    2. Did u get response from server?

  209. pribad

    Hi, I still have no ideas when we will edit the data after saved in the same format , Could you give a clue in the next tutorial ? thanks in advance

  210. Blair Carriere

    I’ve been at this forever… Any chance you could be more specific

  211. tobias12345

    Hi, I subscribed and got the Email, but there was a wrong download link, can you please post the correct one?

  212. Blair Carriere

    1 & 2) I went to the link provided, I’m confused. Where’s the tutorial I’m supposed to refer to?

    3) Could you be more specific?

    4) I referred to the link you provided & downloaded & installed the Demo Invoice System.
    It doesn’t function the same as your website Demo. With your website Demo Invoice System if you search in Item Name: “ate” the result is: “1969 Harley Davidson Ultimate Chopper”. On the Downloaded
    Demo Invoice System I installed if you search: “ate” I get nothing. But if I search: “1” it shows “1969 Harley Davidson Ultimate Chopper”. It seems to ONLY search alphabetically and not parts of the search field.

    Any help will be greatly appreciated… 😉

  213. muni

    For demo purpose i am getting data from server. If you want data as in demo, you need to modify the SQL query to search condition….

  214. Hacko

    Script is not working:
    There is an error:
    Notice: Undefined index: type in
    I changed if($_POST[‘type’] == ‘country_table’) to if(isset($_POST[‘type’]) == ‘country_table’) and no more error.
    But the script is not working anyway.
    I copy and paste from this website, i do not have download link. Can you help?

  215. Ae Cho

    hi. upload the script at my server. when i click the upload button, the image doesnt upload to the server or appear (preview) like yours. i already insert my db name, username & password. hope you can help me with my problems. thanks

  216. Blair Carriere

    What exactly do I have to modify to the SQL query search condition to make it like demo?

  217. muni

    change query like this

    $query = “SELECT productCode, productName, buyPrice FROM products where quantityInStock !=0 and UPPER($type) LIKE ‘%”.strtoupper($name).”%'”; in ajax.php file

  218. Eudomar

    como podria formatear los numeros ej 1000.00 a 1.000,00 en los campos de la factura

  219. Lizel Atis

    Can you please send me the script as well as the database. It would be a great help in my project ..

  220. jonah

    hello Muni; Thanks for your continuous efforts in mentoring us into becoming better developers; I do have problem; I would like to program a sales receipt , printable after a transaction but trust me i have no idea where to pick this up from. Thanks

  221. AB

    Hi,
    Is it possible to upload it and make also a thumbnail and put that also in the same record?

  222. dil

    Thanks for your great tutorial. I implemented it. It works like a chime.
    I want to make all input areas (country, name, fruit …) as one input and using drop-down list to trigger database column selection for individual cases. if you select “country” the autocomplete only shows “country” list, if you select “fruit”, the autocomplete only suggest “fruit”, how to do it, please help. Thanks.

  223. muni

    thumbnail($src, $dist, 200);
    $sql=”INSERT INTO images (`id`, `original_image`, `thumbnail_image`, `ip_address`) VALUES (NULL, ‘$name’, ‘$thumbnail’, ‘$ip’);”;
    if (!mysqli_query($con,$sql)) {
    die(‘Error: ‘ . mysqli_error($con));
    }

    this will save thumbnail image name to db after thumbnail generated for the uploaded image.

  224. dennis

    I download autocomplete but I will not work on my computer using windows 8.1,Laravel, apache, php and MySQL. When I enter a letter nothing happens. Things I tried are as follows. I hear the field ‘name’ in the company table may be a problem so I changed to c_name. I change from MySQL to mysqli. I noticed auto.js was not in the script header so I added a link to it. My database name is busspir I set my connect to it as user ‘root’. My connection is good because I have other methods using it and I get no errors. When I changed to mysqli I added the $con to the select statement and changed all the references of MySQL to mysqli. Please help me I have become a member of Smart Tutorials and intend to use it exclusively.

  225. muni

    Hi Dennis,

    When type something in text box, Is it make ajax request?
    If ajax request goes then check what value you in php?
    Then finally check what SQL query it generates?

  226. dennis

    Thank you for the response. I’m new at this so how do I check the ajax request and the query.

  227. muni

    Denis if you are Firefox browser then install firebug extension .. Then launch that using F12… When type something it make ajax to server … You see that in the console window… On php side just echo the query , you will get response as that query ….

  228. salman

    i am not able to download it even after 12 hours.. can you please help me out?

  229. fatin

    how to create many row from table database in one text for search?please help me

  230. fatin

    i want to create this code n1 until n10 how?

    if($nt_mask!=”)
    $where.= ” AND n1 LIKE ‘$nt_mask%'”;

  231. PNR Status Check IRCTC PNR Sta

    I also have a website pnrstatusirctc.in but it loads very slow 🙁 i have followed everything whatever you mentioned above.. Please help me!

  232. dil

    Thanks for your great tutorial. I implemented it. It works like a chime.

    I want to make all input areas ( county, name, fruit …) as one input and using drop-down list selection to trigger database column selection for individual cases. if you select “name” the autocomplete only shows “name” list, if you select “fruit”, the autocomplete only suggest “fruit”, how to do it, please help. Thanks.
    If I change the input field ID by drop-down selection, I am expecting ajax call and load appropriate data table. Following code is working only updating input ID, but there is no data loaded corresponding to selected ID of input field. How can I trigger the data call when I updating input field ID? Please help.
    This is what I did. HTML part.

    county
    fruit
    baby

    jQuery part:

    $(‘#list-select’).change(function(){
    var selection=$(this).find(‘option:selected’).val();
    console.log(selection);
    $(‘input.form-control’).attr(‘id’,selection+”);
    });
    })();

  233. Sam

    Hi, your script is amazing but it is very dificult to download. You should not force people to suscribe in order to download. Either you give the script for free without forcing people to do anything or you just choose to charge for your script. thanks

  234. Hassan

    Hi, I tried downloading and it does not work even though i subscribed yesterday still did not get a link

  235. Yamuna Jasmine

    I was added one column additionally in this model and I want to disable the added column based on selected country name text box changes. Suggest me how to complete it. Thanks.

  236. Yamuna Jasmine

    S. No

    Car Name

    City

    Year of Model

    Availability

    Feedback

    1.

    – Delete

    + Add More

    function test_hide(str)

    {

    if(str==’yes’)

    {

    document.getElementbyId(“feedback_1”).disabled=false;

    }

    else if(str ==’No’)

    {
    document.getElementbyId(“feedback_1”).disabled=true;
    }

    }

    I have to enable & disable the feedback input field based on availability (yes or no ) condition.How to complete it,please help. Thanks.

  237. muni

    Hi Yamuna,

    In autocomplete select function you do enable/disable things you want..

    ,
    select: function( event, ui ) {

    }

  238. Yamuna Jasmine

    select: function( event, ui ) {

    var avail_value1= $(‘#availability_1’).val();

    var value2= ‘Yes’;

    alert(avail_value1);

    if(value2= avail_value1)
    {
    $(‘#feedback_1’).prop(‘disabled’,true);
    }
    else if(value2!= avail_value1)
    {
    $(‘#feedback_1’).prop(‘disabled’,false);
    }

    }

  239. Jesse Farmer

    Facebook login doesn’t work. I came here, trying to figure out how to get the Facebook popups to work when you’re not logged in. Does anyone know how to do that?

  240. Jesse Farmer

    No, I get it. I’m saying you can’t actually log into Facebook from a Bootstrap Modal. I get that you can mock it up.

    Well, I’m not saying you can’t. I am saying I haven’t been able to figure it out yet. Have you? Do you have authentication through a tb modal with fb working anywhere?

    How?

  241. AnujGupta19

    When i hit cancel during the authorization ,it doesn’t redirect me to the index.php page. What should i do ?

  242. AnujGupta19

    I am not able to create the session what should i do ??

  243. muni

    you need to start session at the start of every page to create and get session data’s. so please check whether you are started session?

  244. Joseph Kiwan Haddad

    Great script! Thank you… I just have one question, some images are being rotated clockwise – how can I prevent this?

  245. James

    Has anyone tried this with questions over 9, I noticed that when it get question 9, previous button does not work, and it display two question on the screen.

  246. James

    Thanks @ Muni, I went to this referred links, but I couldn’t get it straight, you defined variable j, k and it got me hours thinking of its purpose, still can’t figure it out, and another suggestion can you make this tutorial straight forward than we switching from one page to another to another… just a suggestion! and please help me to understand the condition of more than 10 questions.
    Thanks in advance.

  247. Elimelec Munoz

    I´m looking for the code Populate Multiple Textbox with single auto-select Request just like you have. I subscribed but got no link and I get subscribed but nothing happens. Thanks this is my mail: elimelecmunoz[at]gmail.com

  248. Arjit

    Fatal error: Uncaught exception ‘Exception’ with message ‘Email and Password are mismatch’ in C:xampphtdocsuser_loginClUser.php:143 Stack trace: #0 …user_loginindex.php(64): Cl_User->fb_login(Array) #1 {main} thrown in …user_loginClUser.php on line 143

    getting the above error can u please check and let me know

  249. Ed

    Registered for the blog, over 12 hours still hadn’t got the demo code link for source. Was able to use this along with other tutorials and get a working version. Please address your subscription and link distribution system.

    Great tutorial, really helped me figure this out after several hours of hitting dead ends. The hardest part was integrating the ajax call into the service as your description didn’t review the full scope. Working good now, looking forward to how I can apply this through my projects.

    Might be a fun idea to show people how they can iterate through a list of submitted values once they have fulfilled their desired form. I.e. after composing an order with autolookup skus and prices how to submit that data and check dynamic inputs.

    Looking forward to more tuts.

  250. Yuta Lolap

    HI all,

    Facing issue with the following code. I have followed the instructions mentioned above but still i cant seem to detect it. ajax call is scene in the firebug console, but it always returns the alert from the error call function.

    <?php

    include 'config.php';
    include 'connection.php';

    $('#project_id').autocomplete({
    source: function( request, response ) {
    $.ajax({
    url : 'autopopulate.php',
    dataType: "json",
    data: {
    name_startsWith: request.term,
    type: 'project_id'
    },
    success: function( data ) {
    alert('sucess');
    console.debug(data);
    response( $.map( data, function( item ) {
    return {
    label: item,
    value: item
    }
    }));
    },
    error:function(){

    alert('error');
    }
    });
    },
    autoFocus: true,
    minLength: 0
    });

    if($_GET['type'] == 'project_id'){
    $sql ="Select project_id from ".$tbl_prefix."project_directory where project_id like '".$_GET['name_startsWith'])."%'";
    echo $sql;
    $result = mysqli_query($con,$sql) or die(mysqli_error());

    $data = array();
    while ($row = mysqli_fetch_array($result)) {
    array_push($data, $row['project_id']);
    }
    echo json_encode($data);

    }
    Please can you guys tell me where i might be going wrong? Is this any version specific issues?

  251. ricky yusuf

    Please Help…how to use disable or read only fungtion in autonumber. e.g View in my page

    noted :

    1.

    ths All 😀

  252. ABEER

    No doubt its a nice simple and very useful script. a big hats off for you Muni. i need help
    1. i want to add a files discount after the the filed amount paid. is it possible? please help me out…
    2.How to insert these datas to mysql table?? any help link for this?

  253. freddy

    yes but i need easy download without pay ? do you really make it for money?

  254. freddy

    Hello Murni i want to ask in codeigniter, i have translate it to codeigniter, my question is how can i make operation math in your form, here i give code in codeignter http://adf.ly/1BwwfK

    and this is my problem, will big thanks for any help Murni, it help others too and you can post in your blog, Thanks,

    Thanks alot

  255. freddy

    wow your cool murni, full ajax and jquery, really apreciate that

  256. freddy

    Hello admin, how can i make hidden value which came from database in your form, will be big thanks for any help, multiplication i have done now i want to make hidden value came from database, thanks

  257. freddy

    murni please respon how can i change number format, if indonesian number format will be like this 1.000.000, will big thanks for you, please respon as fast as possible , sorry if this comment feel you distrub, thanks

  258. Akhilesh Patel

    login_part1 script is not working like registration page………

  259. User

    i have changed this UPDATE users SET password = ‘$password1’ WHERE email = $email to UPDATE users SET password = ‘$password1’ WHERE email = ‘$email’ then only it worked for me

  260. muni

    Yes you are right… where email is string I missed apostrophe (”)… Thank you

  261. Guest

    and i have issues for oauth 2 facebook login, google login twitter login script.. i have same email id for facebook and google login. first i have registered with facebook .. then social id is stored in the database.. it logged in succesfully.. after that i tried with google + login with same email id.. it is not logging in ( I mean whether it will store 2 social ids for same email iD )

  262. User

    and i have issues for oauth 2 facebook login, google login twitter login script.. i have same email id for facebook and google login. first i have registered with facebook .. then social id is stored in the database.. it logged in succesfully.. after that i tried with google + login with same email id.. it is not logging in ( I mean whether it will store 2 social ids for same email iD ).

  263. User

    one more issue is when i register with facebook login . password is not stored in database right. it logged in successfully. but in myaccount page there is option to change password… where there we have to provide current password. i have checked in the database it is null. form validation does not accept null in that column. so i am not able to change my password in that case

  264. muni

    do one thing generate random password and insert at the time of registration….

  265. muni

    no… are you getting response from google oauth?… if yes print all the queries in google_login function and share with me…2 social ids never be the same

  266. User

    actually i gave forgot password and changed it or i will remove current password validation.

  267. User

    i mean facebook social id is already stored in database. then i logged with google.. which has same email id as facebook email. . so now google social id should store in the same column (social id column). at this time it is failing. whether it will replace the previous social id

  268. muni

    no it will insert int new row i.e. record.. better print insert query, and see what’s the issue

  269. User

    user will not know the generated random password right. so he need to give again forgot password to get that one. Ok will do

  270. muni

    you need to send email to user at the time registeration with his login details.

  271. User

    UNIQUE KEY `email` (`email`), i think it will not insert another record . will check

  272. muni

    Yes… UNIQUE KEY will not allow to insert same email ID one more time.. I checked in my db UNIQUE KEY is not set for email ID…

    So please remove UNIQUE KEY constraint , it will solve your problem…

  273. Chetan Soni

    Forget password seems to be not working for me, I Already added apostrophe like this ‘$email’
    But when i enter my email ID for recovering, Didn’t get any Error message and even i didn’t receive any mail

    Please help

  274. Tukaram Dokhale

    This is work perfectly. But user information does not stored in database.Please help me.

  275. muni

    print insert query and run that query manually using PHPmyAdmin… Please that query with me..

  276. Tukaram Dokhale

    I have tried google login not signup then login.

  277. Akhilesh Patel

    yes it’s working fine………….good tutorials….thanks………

  278. freddy

    Murni how about if in table there is stock nad i amke it hidden in table, when user typing quantity and make it in alert where suppose to be added in your jquery script, really need help, will big thanks for any help,

    Freddy Sidauruk

  279. muni

    If user enters quantity higher than quantity of stock in hidden field, then you need to show alert right?…

  280. User

    when i click login with facebook .. it is checking with google oauth validation – Fatal error: Uncaught exception ‘Google_AuthException’ with message ‘Error fetching OAuth2 access token, message: ‘invalid_grant” .. if i remove google code in login.php then it is working..

  281. freddy

    Yes Murni how can i do that ? Sorry to much asking here, Thanks for respon

  282. freddy

    i have logic, i should hidden stock with class because if id only work in first row , am i right ?

    and use keyup and get the value user entering and trying compare with stock type hidden, but how can i do that in jquery, i’m really new in jquery?

  283. muni

    $(document).on(‘focus’,’.classname’,function(){
    type = $(this).val();
    id_arr = $(this).attr(‘id’);
    id = id_arr.split(“_”);
    element_id = id[id.length-1];

    …..
    });

    hope this will help you….

  284. shatnersbassoon

    Teh Facebook login works fine but cant get the Google one to work correctly. Im not sure whats wrong.

  285. freddy

    Done, i use this, any my problem now why i make edit it cannot succes murni, Thanks for your effort make some people have eagerness to learn jquery, please make form for edit if you free murni ?

    $(document).on(“keyup”,”.quantity”, function()
    {
    var quantity = $(this).val();
    var stock = $(this).parents(‘tr’).find(“td .stock”).val();
    if ( parseInt(quantity) > parseInt(stock))
    {
    alert (‘Data lebih besar’);
    //$(‘:input[type=”text”].quantity’).css(“background-color”,”red”)
    }
    });

  286. Hendra Wijaya

    its not working. when i click facebook login then redirect to index.php again.

  287. manju kumari

    actually i want that there should be a common start and cancel button for all the uploaded files……………..i mean there should be a check box with each file (like start button) and then user selects the files via checkboxes and click on start button then that selected files only gets uploaded to server ……………..please help me i m trying these but nothing happened as i dont have any idea in which files this could be done…i will be very thankful to you.

  288. Bijon Ahmed

    Dear brother, How to use php ci please help me. pls pls

  289. Arul Kumar

    hello admin ,when i select the item name in dropdown list and it will automatically show the price at another text box please help me thanks

  290. Vijay Palaskar

    Please send the timer for 30 minute.After 30 minute form will automatically submitted.

  291. abhishek raj

    Hello sir, I need source code of this quiz. Would you like to send me complete code at my email address?
    My email address is: akrj21896@gmail.com
    I have already subscribed here..
    Thanks in advance. 🙂

  292. ZH ZA

    I have subscribed to download the script for than 12 hours ago. Unfortunately I did not receive any email for the download link. Please help. Tq.

  293. Guest

    Hello Muni, I had purchased the Paid version of the ‘Responsive PHP Quiz Script’ about two weeks now. I had emailed you my issues, I can’t seem to create a user with the ‘Sign up’ field…. and I thought all I had to do after purchasing the software was to edit the ‘config.php’ file with my database credentials and create the database tables in mysql, I did that and the application is still not working. I tried manually creating the user account in the mysql database to login to the application and then I was able to login successfully. But I received another issue, All the navigation links are broken (to start the Quiz, to view the results, etc) ……Also after taking the quiz, the answers are not saving to the database. The free DEMO version is working like a charm on the same database, but it does not save the users submitted results to the database. Can you help me please!!!!…… My email is audleywalker1@gmail.com

  294. Efektiv

    First thank you for this great tutorial. I have one question: How to or is it posible to autocomplete multiple fields if I type for exemple SAINT HELENA and not select it from dropdown? In demo if I do that nothing heppens.

  295. Carl Martin Haug

    Hello Muni. I paid to download this script. however, i did not get a download link, no notification mail no nothing. money is withdrawn. Please advise.

  296. Wellington Lopes

    Hello, I subscribed yesterday and asked for the .php file but I didn’t get it yet. Can you send it to me?

    If you can send the .js and .css I’d be glad too. Thanks.

  297. Cai Haoyang

    Hello Muni,
    I have subscribed, but there is on answer for days. So please send me the download link of this script with the database.
    My email is caihy.ps@gmail.com
    Thank you!

  298. ThavaMani

    i subscribed, but i didnot get the download link ,how can i get it guide me frds

  299. Marcelo

    Muni, how to select only 20 random questions at the database over 20 questions for the same subject ?

  300. Stephan A.J.

    Hi Muni, first of all thank you for this amazing tutorial. I need the text input emptied if someone decided not to click any result from the drop down menu. thx

  301. Stephan A.J.

    Hi Muni, first of all thank you for this amazing tutorial. I need the text input emptied if someone decided not to click any result from the drop down menu. This is to prevent inserting unknown Product ID to the database. thx

  302. Nisha Shah

    Subscribe seems to be just cheating. No download links are given after confirming subscription.

  303. Devendra

    Hi muni,
    i run it on server it get below error
    please suggest me how to rectify that error.

    error is :

    Could not execute: /usr/sbin/sendmail

  304. segunoyebode

    what if you wanna populate them into database how will you do that?

  305. segunoyebode

    i want to populate then into database what can i do please?

  306. muni

    Hi Nisha,

    You will surely get the download after 12 hours… If you still have any problem, pls mail me.

  307. ThavaMani

    Hello muni
    how can i add review questions in final page guide me frd

  308. Oktay KOCATÜRK

    Hi, why can’t I download source code of this tutorial??

  309. muni

    You need subscribe my blog, then we will send you download link after 12 hours .. Only first time.

  310. chandrasekhar pachari

    Hi how to add dropdown which displays data from mysql

  311. chandrasekhar pachari

    Hi Muni thanks a lot for the tutorial…i have one doubt how to add dropdown which we get data from mysql please help me

    Thanks And Regards,
    Chandra sekhar

  312. chandrasekhar pachari

    I mean to say when we click add you are displaying textboxes na in that place i want to show dropdown which we get data from mysql

  313. muni

    You need to form HTML markup from the results, you are getting from database. Finally append it to the DOM

  314. Ashok Kumar

    If we alter the hash code in url and try to open the url, it fails to report error. How to solve the problem?

  315. Kovu'Akpevwe EGBELUGHE

    Hi Muni,

    great tutorial by the way.

    I have a small issue, i get “Strict standards: Only variables should be passed by reference in C:wampwwwlogin_part1templatesheader.php on line 48” in the home.php page.

    Any suggestion on how i can fix this.

    Thanks

  316. Aishwarya Mago

    heyy i used the exact same code yet the add or remove buttons arent working!!!

  317. Callum Burns

    What a load of junk this site is! Try and get a download link, wait 12 hours to find that the link sent doesn’t work! Just give us a link that works without the signing up junk! Geez!

  318. Alba Marquinos

    Hi Muni. I subscribe for 10$ instant download quiz application and i didnt get any download link after payment, I also later on pay for the premium user $29 when i login my account it still ask me to Go Premium after pay and i cant download script

  319. Aby

    I subscribed yesterday and got a message that i would get the link to download the code in the next 12 hrs, but still nothing, can you send me the link to abby.cid@gmail.com please? I am new in all this so i really want to study your code, it looks awesome what it does.

  320. Samitha Salinda

    Thank you.. Great script!.

    1. how to changing thumbnail image height and thumbnail image save another folder (thumbnail folder).

    2. i want to insert to database some field information (ex input type= text ) . How this

  321. Alba Marquinos

    I bought this script and i am having problem using it. When i create an
    invoice with more than 1 column and save, it submit all the column, but
    when i print invoice it only echo out 1 single column please help on
    this.

  322. Himanshu Aggarwal

    I want to fetch data from mysql using ajax checkbox filter can you help me

  323. Klaylton Fernando

    How do I add this editor in my wordpress blog through its API. Only available the editor for users to edit their photos freely. Already use it via iframes, but wanted to add it via the API.

    Note: Sorry for the mistakes, I’m from Brazil and I’m using Google translator.

  324. Bibhuti Patnaik

    Its not working. I downloaded the latest (facebook-php-sdk-v4-4.0-dev) from facebook. And replaced the “Facebook” folder.
    The problem is, when it asks “yourapp will receive the following info: your public profile and email address” . And i press okay. It is showing a blank page, it is not redirecting, Please help

  325. Ramkumar Boopathi

    Please provide this example with ‘Back’ button to go to previous question..

  326. Naor Czerwacki

    i liked it nicely done.. .the problem is that i subscribe but 12 hours have passed.. more like a day+ by now..
    i did get the email and i clicked on the link given which sent me to a feedburner site which displayed this message:

    ” Email Subscription Confirmed!
    A message will be delivered to (my email address) if the publisher has produced new content on that day. No new content, no email for you. ”

    this was on July 05, 2015 3:10:22 AM (my time)..
    this is the final piece for my project.. i will much appreciate it if you look in to it..
    thank you in advance…

  327. Marcelo

    Your demo page, prevents to copy images, but not texts. I want to prevente text copies, it’s possible ?

  328. Naor Czerwacki

    i have the same problem.. did you manage to fix it?

  329. Joselito Coutinho

    Hi… thanks for the demo, but I can’t test it, need databese(*.sql). Can you provide the database?

  330. shea butter

    hi muni.. i cant retrieve the ajax file. the textbox for searching not function..when i enter the in textbox nothing display..

    auto1.php

    $(‘#staffName_1’).autocomplete({
    source: function( request, response ) {
    $.ajax({
    url : ‘auto.php’,
    dataType: “json”,
    data: {
    n: request.term,
    type: ‘s’,
    row_num : 1
    },
    success: function( data ) {
    response( $.map( data, function( item ) {
    var code = item.split(“|”);
    return {
    label: code[0],
    value: code[0],
    data : item
    }
    }));
    }
    });
    },
    autoFocus: true,
    minLength: 0,
    select: function( event, ui ) {

    var names = ui.item.data.split(“|”);
    $(‘#username_1’).val(names[1]);
    $(‘#password_1’).val(names[2]);
    $(‘#staffID_1’).val(names[3]);
    }
    });

     

    auto.php working good using sql server..

  331. sergio

    Im using your script in my page. The images are uploaded correctly and inserted in database. But when i clik the upload button it jumps from my page to ajax.php and just shows
    {“1”:{“success”:”turismo-navarra-image1-2015-07-14.jpg”}}
    Also when i return to my form page Firebug shows me “TypeError: $(…).ajaxForm is not a function”

  332. Mansa Rao

    Hi can u please suggest me how to get ajax variable to php variable on same page

  333. SANTANU ADAK

    Fatal error: Class ‘Cl_User’ not found in index.php

  334. SANTANU ADAK

    Fatal error: Class ‘Cl_User’ not found in index.php help me

  335. scariest

    hi, any idea on how to make it a must for the user to pick an answer for each question. Thanks

  336. Gagandeep Sharma

    Hi Muni,

    how to handle this function call in “user.php” in Register.php

  337. muni

    You need to create object of the User class in Register.php file then using that object you may call functions of User class from Register.php file.

  338. muni

    Email not work in localhost, In order to email work in localhost you need to do some extra configuration.

  339. muni

    may be you are missing autoload function config.php file… This is because Class ‘Cl_User’is not included in the index.php file.

  340. Gagandeep Sharma

    Thanks Muni.. I figured that out at that time only. And also i have not received any link for download as i have subscribed yesterday 2PM and it is more than 12 hours now.

  341. Gagandeep Sharma

    Hi muni,

    While using FB login tutorial. After pressing Ok on consent screen then i am not getting redirected

    Exception says

    [23-Jul-2015 11:25:05 Etc/GMT] PHP Fatal error: Uncaught exception ‘FacebookFacebookAuthorizationException’ with message ‘Missing redirect_uri parameter.’ in /home/parikla3/public_html/shop/Pari/social_login/Facebook/FacebookRequestException.php:134
    Stack trace:
    #0 /home/parikla3/public_html/shop/Pari/social_login/Facebook/FacebookRequest.php(268): FacebookFacebookRequestException::create(‘{“error”:{“mess…’, Object(stdClass), 400)
    #1 /home/parikla3/public_html/shop/Pari/social_login/Facebook/FacebookRedirectLoginHelper.php(175): FacebookFacebookRequest->execute()
    #2 /home/parikla3/public_html/shop/Pari/social_login/login.php(57): FacebookFacebookRedirectLoginHelper->getSessionFromRedirect()

  342. Gagandeep Sharma

    Hi Muni…

    This is solved by upgrading PHP version to 5.6. Earlier i was having 5.4

    but now issue is that EMail and Image is not getting saved in database.

  343. Gagandeep Sharma

    Muni.. when i try to print getEmail() likewie getId() function then get email is returning null..

  344. Gagandeep Sharma

    Muni.. when i am priting google response then it is as below:

    Array
    (
    [user_ids] => 9
    [names] => Gagandeep Sharma
    [emails] =>
    [createds] => 2015-07-24 08:11:54
    [logged_ins] => 1
    )

    email is null man 🙁

  345. muni

    Hi,

    Sorry for the delay..

    Did you got the answer?

    You need request email while oauth request … recently facebook changed that..

  346. Prashanth

    instead of
    $facebook->api(‘/me’);

    Use
    $facebook->api(‘/me?fields=id,first_name,last_name,email,gender,locale’);

  347. Jas

    hi can you please explain how type works in this code?

    what is country_table in type.

    my code is

    “php”

    and jquery is

    $(‘#businessName’).autocomplete({

    source: function( request, response ) {

    $.ajax({

    url : ‘auto_new.php’,

    dataType: “json”,

    data: {

    businessName_startsWith: request.term,

    type: ‘clientsid_table’,

    row_num : 1

    },

    success: function( data ) {

    response( $.map( data, function( item ) {

    var code = item.split(“|”);

    return {

    label: code[0],

    value: code[0],

    data : item

    }

    }));

    }

    });

    },

    autoFocus: true,

    minLength: 0,

    select: function( event, ui ) {

    var names = ui.item.data.split(“|”);

    $(‘#clientName’).val(names[1]);

    $(‘#address’).val(names[2]);

    }

    });

    This does not work
    please help me
    thanks

  348. alien on board

    Hi Muni. Great tutorial, I have subscribed. Could you send me a link to download the source? Thanks

  349. Deepak verma

    hi sir ,

    i am using FB Login tutorial ,i am getting below exception when pressing Ok on consent screen.

    1> Notice: Undefined index: email in C:wampwwwuser_login_fbClUser.php on line 118

    2>Fatal error: Uncaught exception ‘Exception’ with message ‘Email and
    Password are mismatch’ in C:wampwwwuser_login_fbClUser.php on line 156

    3> Exception: Email and Password are mismatch in C:wampwwwuser_login_fbClUser.php on line 156

    please help me sir i am new in php

    thank you in advance

  350. Rick Hellewell

    you have to add the API key as a query parameter for the request, or you’ll get an error. (And your code doesn’t include any error trapping, so not complete….)

  351. Bikila

    I don’t understand why I am not getting any response from you on a request to customize your codes, Muni. I sent several emails to the email addresses provided on the website but no response yet. Please let me know how to reach you.

  352. Sandip Shitole

    thanks for tutorial ,it’s working fine for me ,but the issue is i m nt getting user email,plz help,thanks in advance…!

  353. Radhika

    Hi can i get the source code…I have tried downloading but it didn’t work…

  354. WebMedia TV

    Great tutorial but im getting an error when login with google with the following: Fatal error: Uncaught exception ‘Google_IOException’ with
    message ‘HTTP Error: (0) Failed to connect to accounts.google.com port
    443: Network unreachable’ in
    C:xampphtdocsgoogleGooglesrcioGoogle_CurlIO.php:128
    Stack trace:
    #0 C:xampphtdocsgoogleGooglesrcauthGoogle_OAuth2.php(101):
    Google_CurlIO->makeRequest(Object(Google_HttpRequest))
    #1 C:xampphtdocsgoogleGooglesrcGoogle_Client.php(131):
    Google_OAuth2->authenticate(Array, NULL)
    #2 C:xampphtdocsgoogleindex.php(26):
    Google_Client->authenticate()
    #3 {main}
    thrown in C:xampphtdocsgoogleGooglesrcioGoogle_CurlIO.php on line 128

  355. shilpa

    hi your example is perfect for me to work with autocomplete but i am unable to connect according to my database .can anybody suggest me to connect

  356. shilpa

    hii want to add multiple values to same text box how can i do using php mysql and jquery can anybody

  357. Shivani Sehdev

    Thank You Very Much Sir , Helped me a lot , I was Just looking form something like this from months……..
    Thanks a TON……..

  358. Shivani Sehdev

    Hey Deepak did You get the solution to this problem as m also getting same error

  359. Shivani Sehdev

    I Just Got the Solution in the INSERT QUERY table name was given user insted of (users)

    . Means just a simple and important ‘s’ was missing , making it clear solves the problem

  360. Shivani Sehdev

    Hey Thanks Muni , As You Can See Anyhow I Just Solved That Issue . But When I Tried To Integrate your Google login And Facebook login together It is Giving complications . Separately Both Are Working Fine.

  361. Shivani Sehdev

    Hey Thanks Muni , As You Can Anyhow I Just Solved That Issue . But When I Tried To Integrate your Google login And Facebook login together It is Giving complications . Separately Both Are Working Fine.
    If You Say I Will Share My Source Code With You .
    .

  362. shilpa

    this tutorila is for the tag but i need to fetch the two tables data in one text box using autocomplete .how i have to do you done for the country names same way . it will also fetch the country name and country code but both should display the same box

  363. shilpa

    Given URL is not allowed by the Application configuration: One or more of the given URLs is not allowed by the App’s settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App’s domains.

  364. muni

    Your redirect URL given in the config.php file & website URL given in the Facebook must match… please check

  365. Ikrom Shabri

    Hi I want to autocomplete with two input like country name and city name, I’ve tried and it’s not working at all. How can I pass two input to autocomplete php script ?

  366. shilpa

    hey bro now i am trying the multiple auto complete using code Codeigniter but itsnot getting worked can any body give me an idea

  367. shilpa

    i racked my head sience from today and searched like anything i am not getting it can anybody

  368. muni

    just make ajax call on autocomplete event and return json response from your server…Handle response the way I have handled..

  369. shilpa

    Severity: Notice

    Message: Undefined index: search

    Filename: controllers/auto.php

    Line Number: 35

    i am getting this error when i start doing in the codeigniter can anybody guide wat i am doing wrong . please give me an idea

  370. mark empeynado

    the saving to the database is not working in my database, but your sample codes and database are doing fine

  371. joaquin

    Hi, How can I added this functionality with textarea? like show me a word inside of a long text? can this be done with your code Muni?

  372. joaquin

    thank you that I already do.. I mean if I have in MYSQL a text like this: “In the jQuery autocomplete success method, I am getting the results and splits the country name and assign it to the label and value object. When user selects his desired result from the list of autocomplete result list, jQuery autocomplete select method is triggered. Where selected result is splited as well as assigned to the Country Number, Country Phone code and Country code textfields.”

    I need when I start typing per example “select” show me all the text where the word “select” is in the text … maybe if I have 100 rows and in 20 row there is the word “select” then show me those rows….

    right now just only show me if the start word is “select” but if is in the middle of the phrase not

    There is a possibility of show me that or I need to change something in your code??

    Best regards!

  373. muni

    You need to change SQL query..

    Like this

    mysqli_query($con, “SELECT name, numcode, phonecode, iso3 FROM country where name LIKE ‘%”.strtoupper($_POST[‘name_startsWith’]).”%'”);

  374. Ravindra Athreya

    Hi Muni,
    I have not received the download link, could you plz send it

  375. Niel Daculan

    HOW CA IN FILTER THE SAME PRODUCT NAME or when i choose thesame product it will add…thanks

  376. jayson gamss

    hey bro the timer really works buts it doesn’t display the timer. after 1 minute it display the result. but when i was on question the timer doesn’t display.

  377. freddy

    Hi Muni, let say i have data

    Nokia 123
    123 Samsung
    321 Smartphone

    when users type 123 how can i make auto complete working with show all data with 123, Thanks for answering Muni !

  378. Sudhir Pandey

    Hello I have code same way as you mentioned. But I always get “Invalid username or password” message. I will not enter inside if ($this->Auth->login()) { }

  379. muni

    You need to change SQL query..

    Like this

    mysqli_query($con, “SELECT name, numcode, phonecode, iso3 FROM country where name LIKE ‘%”.strtoupper($_POST[‘name_startsWith’]).”%'”);

  380. prince jain

    Dear Muni,

    Please send me the code to for

    jQuery Autocomplete Mutiple Fields Using jQuery, Ajax, PHP and MySQL . I have already subscribe but not get any email yet.

    to email id: princejain.acs@gmail.com

  381. Abhilash Raj R.S

    Hi Muni,

    I tried to change the time to 2min but its always redirect after 1min

  382. Umer Cheema

    Hi ,
    I have downloaded this but its not working on local machine ?

  383. nery ann Lirio

    how to automatically calculate the dynamic textboxes that has been added?

  384. Ivan Dompè

    Hi. Very good script. When you try to ‘keep me sign in’ several times, the countdown multiplied, like a second count more than a second. You must clear the timeout in the resetTimer(). I used clearTimeout(t); after the modal hide. Now it works perfect. Thanks a lot.

  385. Amie Richardson

    Hi, thanks for sharing your tutorial. Works as described. I was wondering if you could please share just how to open the program without having to open an image first?

    Also, because you have it opening in a pop-up window, when you close it, you have your webpage on top of your webpage. I used to have this setup on my website, but relocated it and apparently I didn’t save all the code. I can’t seem to get it to work (hence why I am here). I know I used the referrer and that I didn’t have to open it in a pop-up window. I also had this code (if it helps you):

    if(parent){

    parent.pixlr.overlay.hide();

    }

  386. Slim Fillmore

    Did not work here! After login got this URL:

    MYDOMAIN.COM/login/?code=AQBqGTI8UEz5aK5hytl6qhPB-nkRfliJJF0-4u_LiSXtNuhjHs7ss8M5YVoavyMnLpL_pxsCeRsqCNDhCAQMeNz6Lj6xttcYfv0Px-XAlEKUTkezcYzEY7GvNsqENwGnhguKR2S4Gitm8-Kjb8Ly3XR6AwcYj6TD292L38AqE46Q2v2kyMNQgv5YCxz2byafMQ2Hb-mUoaESRfCHi-7wiOxECttJlxPDOv5Qbf-iJz_nLvq0bdwzKLJNexVgYuaiEkrWUIhX7Ndh6c-cnWurTHUZdopFfHtHTaDcW95_xBotPgPwBg9ycXJIY0PiEvkEU-I&state=4fa0d6fb5640f3bf9bc830e7705aff2d#_=_

    And is not logged.

  387. sandeep dhaliwal

    i have tried the above code but my data is not fetched i.e my grid is empty ??

  388. Hisham

    Dear,

    how can i add the option of adding a profile picture, and what’s the purpose of social_id ?

    also if you can help me add a function to update the last login time database field for every person i will be thankful.

    Thanks for the tutorial really nice like it !! 🙂
    best regards,

  389. ASLanimator

    Thanks so much for sharing these tutorials. They are perfect for my project – I’m migrating my video quiz software from Shockwave to PHP/MySQL. Shockwave is getting blackballed by Google Chrome, Edge, and other browsers. PHP/MySQL is also more direct, cleaner. I originally used Macromedia Director (now Adobe Director) because it was the only way I could figure out how to control the number of times a student could play a video. Now HTML 5 has that functionality built in.

    I will be adapting the code to allow short answer and long answer question types as well as an unlimited number of multiple choice answers.

    I noticed the code in questions.php has a repeated chunk for displaying the answer radio buttons. I removed that chunk from the ifelse statements and inserted it before those conditionals. I left the “Next”, “Previous”, and “Finish” buttons in the conditionals. It still works great.

  390. Cynthia Wemy

    I have try, But doesn’t work. Can not import for table “users” and there wrong script

    Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given in D:xampphtdocstrickphp-quizphp-quizClUser.php on line 91

    Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in D:xampphtdocstrickphp-quizphp-quizClUser.php on line 92

  391. ASLanimator

    I found the issue:
    The user_login.sql file has the following line (190)
    `created` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
    Change it to:
    `created` timestemp NOT NULL DEFAULT CURRENT_TIMESTAMP,

    That should allow you to import the sql file into your database.
    When I manually created the tables, I endeded up appending the new data to the first attempt with the problem line. My efforts to clean up duplicate records caused the problem with accessing the database – thus no questions displayed.

  392. pguru

    Let’s say on demo we can add S10_1678 as many we want. How to filter only one product name per row?

  393. Ella Sherilyn Ramos

    How come you are not using prepared statements for your database transaction to avoid sql injections.

  394. web developer

    nice one.Please i need Invoice System Using jQuery AutoComplete.Please email me the whole source code through web.developerbj@gmail.com. i will be very thankfull to you.i am a student and will get idea from this project.

  395. Priyank

    have you fixed this ?? I also need the same to double check the user has not inputed wrong product.

  396. Григорий Чайко

    Thank you how to do to be able to upload up to 4 pictures.
    1
    2
    3
    4
    1 + 3
    2 + 2
    3 + 1
    4, and then switch to another page
    We need to do a counter downloaded images.

  397. kamlesh

    How to validate the dynamically added fields?

    I am using formvalidation plugin (formvalidation.io). Can you guide me how to do validation of the new dynamically added fields. Thanks.

  398. Григорий Чайко

    how to delete an image after click on upload button

  399. Hari Om

    nice script but if subscribe this and start implantation product auto complete is not working

  400. Yusuf

    FacebookSession::setDefaultApplication(FB_APP_ID, FB_APP_SECRET);
    $helper = new FacebookRedirectLoginHelper(FB_REDIRECT_URI);

    //please explain the above line with sample/example, thank

  401. muni

    hi hari,

    Please check when you strat typing it making ajax request…. Also check you made any js mistakes.

  402. pguru

    Let’s say on demo we can add S10_1678 as many we want. How to filter only one product name per row?

  403. Aural Recs Lanuza

    Hello my name is Angel Barbosa from Gto. Mx.. I need de source code for implement this quiz in a scholar project… if you can help me, send me the archives of this quiz to email: angelh2r@hotmail.com … tank you! grettings for all…

  404. vipin gupta

    hi im getting errors given below….

    Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or ‘(‘ in C:inetpubvhostslocoturf.comhttpdocssociallogin.php on line 38

    Please help me..

  405. Radit

    Hi sorry im new be. Can i get source code for save to database please ?

  406. Gagandeep Sharma

    $helper->getSessionFromRedirect(); is returning null in my case.Please let me know the problem. This was working earlier but not now,

  407. Phoenix

    Hi muni,
    I have several silly questions to ask;
    1. I’m using Moodle; is yr script compatible to my moodle site?
    2. Just create index.html including the files as you guided and upload to my server?
    3. How can I place yr LOGIN/SIGNUP as this website or replace the default moodle LOGIN with yr LOGIN/SIGNUP?

  408. Weibel György

    Hi muni! 🙂
    I need a special autocomplete and autofill script

    situation:
    I have 3 tables in db

    1> company id (int, autoincrement) ,company name
    2> company id(int, autoincrement),employee id, employee name, emloyee card id, employee department etc….
    3> company id(int, autoincrement), car license number, user id (employee id)

    html form:

    inputbox company name
    inputbox employye name
    inputbox emloyee card id
    inputbox employee department

    etc….

    goal:

    When i type into companyname autocomplet it
    next step i start type employee name autocomplete it but filter based on company name just show that employess name who belong selected company, when i select employee fill departmentment and emloyee card id textbox
    if I type to emloyee card id autocomplet it if i select one, fill company name data, and other employee data
    if i type to car license number autocomplete it, if i choose one fil company and employee data

    Is it possibe? please help me
    best regards

    György Weibel

  409. Victor Olmedo

    Geat tutotial.

    I’ve a question, when I put a caracter to autoplemte, show all data, don’t filter according I fill the input.

    here my code:

    $(‘#txtRUC’).autocomplete({

    source: function( request, response ) {

    $.ajax({

    url : ‘./json/persona.json’,

    dataType: “json”,

    success: function( data ) {

    response( $.map( data.personas, function( item ) {

    return {

    value: item.ruc,

    data : item.nombre

    }

    }));

    }

    });

    },

    autoFocus: true,

    minLength: 1,

    select: function( event, ui ) {

    $(‘#txtRUC’).val(ui.item.value);

    $(‘#txtNOMBRE’).val(ui.item.data);

    }

    });

    here my json

    {

    “personas”:

    [

    {

    “ruc”: “3390238-0”,

    “nombre”: “Victor Olmedo”,

    “desc”: “Ventas ”

    }

    ,{

    “ruc”: “1234567-1”,

    “nombre”: “Oscar Insaurralde”,

    “desc”: “Farmacia ”

    }

    , {

    “ruc”: “234567-2”,

    “nombre”: “Willy Insaurralde”,

    “desc”: “Fletes ”

    }

    ]

    }

  410. bbutter

    Hi Muni, Can you tell me how to get user data form database to show on their account page?

  411. ADITYA SHANKER

    Hey Muni nice work. I subscribed 12 hours back still didn’t get the source code. Please advise.
    Also could you please send the source code for adding these table entries in a database with a submit button.

    So if I select 3 items and press submit a new entry is created in the database which states the invoice details.

    Thanks in advance.

  412. qdesigner

    Hi Muni,
    I have not received the download link, could you please send it.

  413. nnamdi

    hi muni….you are just a genuis. thanks so much….but one small problem. my options in the db is less than 2. so empty radio buttons with no labels show up. how do i remove them? thanks genius

  414. qdesigner

    Hi Muni,
    I have not received the download link, could you please send it.

  415. ZIAL

    hello sir muni . very useful tutorial 🙂 i already subscribed to your blog . but i cannot download the script . please can you send me the download link ???? 🙁 here’s my email almotimerh@gmail.com . thank you very much .

  416. Santhosh Veer

    hai muni this is my first comment on your code blog first of thanks for this post its help me to understand the working of user management system with SQL i need help from i need this login system with email validation with email verification to the users…. thanks in advance

  417. Kion Niebres

    Hello Muni,

    I have subscribed to your blog, please send me the download link of this script with the database.

    my email is breskion@gmail.com

    Thanks so much!

  418. Kapil Saini

    Error after click on login with facebook…

    Fatal error: Uncaught exception ‘FacebookFacebookSDKException’ with message ‘couldn’t connect to host’ in /home/u207436523/public_html/fb/Facebook/HttpClients/FacebookCurlHttpClient.php:156 Stack trace: #0 /home/u207436523/public_html/fb/Facebook/FacebookRequest.php(248): FacebookHttpClientsFacebookCurlHttpClient->send(‘https://graph.f…’, ‘GET’, Array) #1 /home/u207436523/public_html/fb/Facebook/FacebookRedirectLoginHelper.php(175): FacebookFacebookRequest->execute() #2 /home/u207436523/public_html/fb/index.php(41): FacebookFacebookRedirectLoginHelper->getSessionFromRedirect() #3 {main} thrown in /home/u207436523/public_html/fb/Facebook/HttpClients/FacebookCurlHttpClient.php on line 156

  419. destruckorx

    Thanks Muni, how do you get the email address? is it possible? please help

  420. dhaval

    hi
    this works fine for me but have simple problem , when i click on fb button its redirect on login page with $_GET[‘code’] and using google code… so how to fix it

  421. Wised Kangwanprasert

    got problem i use exactlysame code . but it did not live check

  422. Wised Kangwanprasert

    here is checkuseravailable.php

    Check User Available

    0){

    echo ‘false’;

    }

    else

    {

    echo ‘true’;

    }

    }

    function unique_email($email=”)

    {

    $sqlcheck = “select * from login where email =”;

    $sqlcheck = $sqlcheck.”‘”.$email.”‘”;

    $response=mysql_query($sqlcheck);

    $result=mysql_fetch_array($response);

    if($result[0]>0){

    echo ‘false’;

    }

    else{

    echo ‘true’;

    }

    }

    ?>

  423. Eko Budi

    Hi Muni, can you show me about print.php .. this is my first time learn PHP. thanks.

  424. amit mehta

    muni kindly help in connectting your dynamic rows with database.i want all dynamic rows stored their values in one row in mysql database.

  425. Puneeth

    Hi Muni,

    I wanted the same application to be done using MongoDB. I am new to it and conversion would be tricky. Could you please help me in getting this application working in MongoDB

  426. sam

    hey, am getting this error

    Could not execute: /usr/sbin/sendmail…..

    any help…?

  427. Jonayed khan

    Hello to all, I want to crate a quiz apps with mysql but i failed. if anybody can help i will paid for it. jonayedneer at gmail.com

  428. AMIT SAMOTA

    in ur config.php // define(‘FB_REDIRECT_URI’, ‘Same as on redirect url in facebook app’);

    ur redirect url should be same on fb app and config.php

  429. AMIT SAMOTA

    in your index.php line 56 replace it with this one:
    $request = new FacebookRequest($session, ‘GET’, ‘/me?fields=id,name,email,gender,locale’);

  430. AMIT SAMOTA

    in your index.php line 56 replace it with :

    $request = new FacebookRequest($session, ‘GET’, ‘/me?fields=id,name,email,gender,locale’);

  431. Roben

    I have a problem bellow. If any one know the solution, please …
    Fatal error: Call to undefined function openssl_encrypt() in C:wampwwwhashconfig.php on line 21

  432. Roben

    I am trying to send id by encrypt in url but I have the following problem. please help me.

    Fatal error: Call to undefined function openssl_encrypt() in C:wampwwwhashconfig.php on line 21

  433. Peter

    The user sign up page on the user-registration-and-login-using-php5-mysqli-jquery-and-bootstrap “register” page does not INSERT information into the database. Could you please advise? Thank you.

  434. Alfonso Del Río

    Thx so much for this tutorial¡¡
    I have one question: when i make fb login, in “email” field on my db i don’t receive any email. Why could be this?

  435. L. Vinci

    Hello, great script and is exactly what I looking for. How I can limit image upload? Eg I want upload only 5 Images, bulk or single is not important. It can be possible?

  436. Eni Ire Badmus

    am working wirh UCM pro script and I want to have this invoice numbering

    If customer A get 50 jobHHours

    He will Have an invoice of

    BD0001KK – BD0051KK

    BD = Suffix

    0001 = Initial No Of Job Hours

    KK is the prefix

    if the next customer B get 70 jobHours

    he will also have an invoice of

    BD0051CC – BD0121CC

    BD is the suffix

    CC is the prefix

    till

    BD9999PREFIX

    and it will now start from

    BE0000 – BE9999…

    BZ9999

    CA9999…

    ….ZZ9999

    and will start all over from

    A0000

  437. Hoho

    How can I check if a string is already encrypted using your code?

  438. Cyberhart

    excuse me what is this thing about getting a support ticket?

  439. Cyberhart

    Excuse me but what is that support ticket which line should I edit then to set it? Edit:now I get it how does the support works. But would you mind telling me what is this? Could not execute: /var/qmail/bin/sendmail

  440. mandeep khaleriya

    how we upload an image in cakephp 3.2 and save it in database and how we fetch image path from database in cakephp 3.2

  441. Sandy Web

    after login thru Facebook it is redirecting back to index page. DB is not getting updated

  442. agata

    Hello everybody, I tested this code, but I got error that autocomplete function is not a function. Do you know why? I change jquery version but doesn’t work. Can you help me?

  443. Mihai Fasola

    Hi, thanks for api, very usefull. I dont really understand where is saved image in web site tree or how to custom folder. Please if you can explain how to modify script? Thank you.

  444. Fernando Rizo Patrón

    hi Muni,

    thanks to the tutorial, I already subscribing but look i still cannot download the source code, could you please sent me the source code at frizopatron@gmail.com

    Regards.

    Fernando

  445. Natarajan A

    sir change password is not working kindly help me

  446. MYGO.GE

    Hello Muni,

    I have subscribed, but there is on answer for days. So please send me the download link of this script with the database.

    My email is vasgogna@gmail.com

    Thank you!

  447. Anthony

    Hi Muni.. pls send the source code in my email.. thanks

  448. sadique anwar

    i need code to add form data in a table of another page after submitting the form

  449. Rogerio Jesus

    Thanks for the script, tested and worked well.
    Could anyone help me get admin level?

  450. Ishan

    from where do i downloaded it ? :'( already subscribed but no email sent

  451. fagbemi ayodele

    Hello Muni, Thanks for your codes. You’re really an inspiration to us upcoming programmers…..Pls, I’d tried to modify your codes to fit into my own style but it was not working for me…

    i tried to fetch datas from from an accounting database and populate just two values into the text box but it was not working.

    here is a sample of the html:

    Credit GL

    A/C No

    the jquery:

    $(‘#credit_1’).autocomplete({

    source: function( request, response ) {

    $.ajax({

    url : ‘../acct/search_user.php’,

    dataType: “json”,

    data: {

    name_startsWith: request.term,

    type: ‘customers_table’,

    row_num : 1

    },

    success: function( data ) {

    response( $.map( data, function( item ) {

    var code = item.split(“|”);

    return {

    label: code[0],

    value: code[0],

    data : item

    }

    }));

    }

    });

    },

    autoFocus: true,

    minLength: 0,

    select: function( event, ui ) {

    var names = ui.item.data.split(“|”);

    $(‘#account_1’).val(names[1]);

    }

    });

    lastly, the database query:

    Please, could you figure out what the problem might be the codes?

    Thank you.

  452. sukumar paul

    Thank you sir ,it is really helpful to me.
    PDO tutorial are also very nice.
    I am waiting for your further more tutorials

  453. Danny

    anyone figure out why it is limited to 10 questions, muni I have subscribed an may well pay for some stuff… could you be kind and post the fix for us…. or is it all about the money now for you.!!

  454. Poetensai Shugoi

    thank for great code..but how i install face in my web thank

  455. reshm

    how can we use ajax on radio buttons?
    suppose i have three radio buttons and want to show data to another fieldset in the same page by clicking on radio button and matching data from database

  456. sandeep sharma

    Hello brother you are not reply my comment
    Why?

  457. ajijulla sahib

    i can’t able to download the download link of this script

  458. Josh Luplow

    Is there a way to put this inside another function to make part of a rightclick menu or something of that nature?

  459. ramya

    hi
    can i add sql server database in this form rather than mysql.is it possible to connect sql server.please help me.

  460. Tej Prakash

    Fatal error: Uncaught exception ‘Exception’ with message ‘Email and Password are mismatch’ in /home/itsoftwarepoint/public_html/demoproject/user_login_fb/Cl/User.php:156 Stack trace: #0 /home/itsoftwarepoint/public_html/demoproject/user_login_fb/index.php(64): Cl_User->fb_login(Array) #1 {main} thrown in /home/itsoftwarepoint/public_html/demoproject/user_login_fb/Cl/User.php on line 156

    getting the above error can u please check and let me know

  461. Tenisha Rai

    This is the best autocomplete tutorial. Thank u very much.

  462. madhuri

    i want to display 2 autocomplete text box on is client name anothe is multiple address of single client. client name is autocomplete , if i select client name in one textbox(autocomplete) its releted address are autocomplete in another text box

  463. madhuri

    i complete it but its not client specific all addresses in my table are display using codeignator

  464. aryan

    hi if we want more like to devide the content area with 3 columns

  465. jagatsatish chollangi

    where we have to insert google_login method in php project.

  466. priyankasurya

    Nice invoice script and easy to understand to script … Please i need to add print functionality ,download invoice in pdf format ,send email for invoice script code plz send source code for this mail id priyankasurya1320@gmail.com
    Anyway thank you soo much

  467. priyankasurya

    I refereed to your site for invoice details. I have one doubt for invoice edit page add or delete for table row suppose i remove table row delete and automatic delete from database plz how to work to this concept

  468. priyankasurya

    I need to edit invoice page check to check box multiple check box delete to multiple data table and also delete from database.

  469. Joselito Marcelo

    hi.. can i have this script.. i want this autocomplete multiple fields.. i need it to my system.. thank you in advance..

  470. fuad

    I didnt understand these unfamiliar typings ” : } ” and words “rules,name,required”.
    rules : {
    name : {
    required : true

    Anyone knows what do they mean in javascript? Because as far as i see they are not variables. Are they built in functions or ?

  471. amit bhalani

    Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or ‘(‘ in G:wampwwwsocial_loginlogin.php on line 38

  472. Idbm Technology

    login with google and facebook working by this url but login with twitter not working i am using
    http:///login.php
    can anyone tell whats the problem..?

  473. Idbm Technology

    login with google and facebook working by this url but login with twitter not working i am using
    http:///login.php
    sir tell whats the problem..?

  474. Bashir abubakar

    hello muni please im getting this error code – Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:wamp64wwwnquiznquiznew_quizconfig.php on line 14 and this is my config.php code —

  475. Hussein Al Sherbiny

    Hello Muni,

    great effort.

    how can i call the user’s name on my page, i mean what is the variable should i call for that.

  476. Hussein Al Sherbiny

    does any one know anything about this error ?
    require_once(OAuthException.php): failed to open stream

  477. Deepak Yadav

    Great Script, exactly what I am searching for. Thank You.
    I want to display the thumbnails with a border. How can I do that? Please help me

  478. Xabier Aberasturi

    Hello Muni,
    I have subscribed to your blog, please send me the download link of this script with the database.
    my email is aberasturi@gmail.com
    Thanks so much!

  479. Su Darmanto

    I want to show profile picture in the account page. I wanna ask, why the social-picture string location that saved in mysql table isn’t appear using below code?
    But if using ‘name’, ’email’ even ‘date created’ can appears normal.

    Profile Picture
    <img src=" ” width=”100px”>

    Thanks

  480. Thos Tampol

    i use this code,
    but stuck in ajax.php when try upload in real live,,,
    thanks,

  481. toushin

    Hi Muni. Do you have a similar script but accepts the user’s input if the item is not found in the mysql database?

  482. Bastepes

    Thank you very much for your tutorial,Your work is very good,
    please explain how to insert into the database and explain the request insertion of the textfield?

  483. Josh Franklin

    Hi, I have subscribed but not able to download the script..
    (frankjosh99@gmail.com)

  484. Rinku jat

    Hi muni,
    i run it on server it get below error
    please suggest me how to rectify that error.

    error is :

    Could not execute: /usr/sbin/sendmail

  485. Putu Mega Putra

    Hi Muni. I can’t run this in my localhost. But when I upload the script, it works. However, why is the speed between your demo and my demo is so much different? Your demo could load the suggestion very quickly, but mine takes longer time to load the suggestion. is this related to the hosting? What is your hosting? Thanks

  486. Developer

    Hi, i want to upload another image with another resolution 800px, i used thumbnail($src, $dist, 800); and created copy paste of the thumbnail() function and changed width and destination, but it replace with previous resolution ..How to upload another resolution image beside this ?

  487. Developer

    I need
    thumbnail($src, $dist, 200); and
    thumbnail_another($src, $dist, 800);

    How to do ?

  488. gromikov

    So far I tried Google and its working fine, but when it comes to facebook Im able to see the facebook prompt for access and after clicking on ok I get redirected to the login page again and nothing get stored in the database nor the user gets logged in.

    Does anyone knows whats going on or how can I fix this issue?

  489. Mian Rafiq Hasrat

    I am facing this problem while login

    Object not found!

    The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

    If you think this is a server error, please contact the webmaster.

    Error 404

    localhost
    12/14/2016 10:21:05 AM
    Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 mod_perl/2.0.4 Perl/v5.10.1

  490. Zain Ahmed

    hi muni
    thanks for this tutorial i have face one problem please help me ,after get data in textbox when i click button for insert textbox value it gives an error Undefined index: countryname[]

  491. Laksmi Gada

    I have tried google and facebook, google is working fine but i am facing logout issue in facebook. when i logout from facebook and login again it is directly logging in as previous user. How to solve this plz help me.

  492. prem

    something like Q.) 1 of 100 because user have to know how many questions in selected category.

  493. Cold Steel

    Do you have a complete sample code of the above code with tags and everything?

  494. Cold Steel

    Have you tried the code out? If so, could I see the code that you used?

  495. Rama Lingam

    How to get the video file duration?
    I am use this code but I am getting empty result.
    {%=file.name%}

  496. prem

    sir how to get this result (radio onclick) ? i tried a lot but couldn’t success !!! https://uploads.disquscdn.com/images/2eb744030524fb624cc77a2c383b4542799e920399722530b3e3004184cefb4a.png

    ====here is my script====
    $(document).ready(function(){
    $(‘input[type=”radio”]’).click(function(){
    var correct =
    $(“input[type=’radio’]:checked”).each(function() {
    if($(“input[type=’radio’]:checked”).val() == (correct)){
    var id_val = $(this).attr(“id”);
    $(“label[for='” + id_val + “‘]”).css({“background-color”: “#7CFC00”});
    }else{
    var id_val = $(this).attr(“id”);
    $(“label[for='” + id_val + “‘]”).css({“background-color”: “#FA876F”});
    }
    });
    });
    });

    // checkanswer
    $(document).ready(function(){
    $(‘input[type=”radio”]’).click(function(){
    var checkans = $(this).val();
    $.ajax({
    url:”checkanswerfinal.php”,
    method:”POST”,
    data:{checkans:checkans},
    success: function(data){
    $(‘#result’).html(data);
    }
    });
    });
    });
    =====checkanswerfinal.php====
    setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
    if(isset($_POST[“checkans”])){
    $keys=array_keys($_POST);
    $order=join(“,”,$keys);
    $query = $conn->query(“select id,answer from questions where id IN($order) ORDER BY FIELD(id,$order)”);

    $result=$query->fetch();

    $answered = $_POST[“checkans”];

    $correct = $result[‘answer’] ;

    if ($answered == $correct ) {

    echo ” WOW!! Sweet “;

    echo $correct;

    }

    else {

    echo ” Sorry !!! “;
    echo ‘you select: ‘ . $answered . ” ;

    echo ‘correct answer was: ‘ . $correct . ” ;

    }

    }

    }
    catch(PDOException $error)

    {

    echo $error->getMessage();

    }

    ?>

  497. Andrea Sanchez

    This was so simple, great explanation, just what I was looking for! thanks a lot!

  498. Chera Robinson

    On my LAMP server it doesn’t work 🙁 Register doesn’t work, login doesn’t work.. what can I do?

  499. Jr Cole Syd

    hi muni.. i hope this is not coming late.. but its better late than never.. the registration button is no submitting.. likewise the login.. not entering data into database.. pls what can i do? you can check out the link pls.. http://www.abc.allwie.com nice tutorials tho..

  500. Cold Steel

    I would like to know how to add the names of the tags selected to a preexisting sql table. Say a user is logged in, they select the tags that they want, they press a button, and the names of the tags they selected are put into their row in an sql table under a column called countries. I’d appreciate any feedback you can give on this.

  501. Jabyijit Gurung

    sir plz send me a source code for display wright and wrong answers…..
    i almost complete my project but jst stuck in to display wright and wrong ansers

  502. Viktor Petrov

    Hi I subscribed with my email viktor.petrovvt@gmail.com and paid via get access instantly but I cannot see link for desired script- PHP Quiz application . When I will be able to download the application ???

  503. Viktor Petrov

    And secondly I subscribed first with email viktor.petrovvt@gmail.com and then I tried to sign up but with the same email but i had message that the email is already used. . Please help me to get the applcation which I desirre ?

  504. Arti Shukla

    hi need a quiz application including images related question with timer ..plz help me

  505. muni

    check normal php mail() functionality working in your server. Also check php mailing functionality enabled in your server …

  506. Madhu Cxo

    Fatal error: Cannot use object of type stdClass as array in /home/smarttut/public_html/demo_tut/social_login/Facebook/FacebookRedirectLoginHelper.php on line 176

    first solve ur website problem.

  507. montassar zarroug

    Hello,
    Just one question,
    If i have 2 answers corrects in the same questions what you can do ?
    Can you explain for me the modifications in your code please ?

    Thanks

  508. maya

    I want to print counter value in input field and save in database in game submit button how to insert counter value in database

  509. maya

    How to save the counter value in database and also i want to print conter valur in input field

  510. NARESHBABU

    Hi muni,
    i run it on server it get below error
    please suggest me how to rectify that error.

    error is :

    Could not execute: /usr/sbin/sendmail

  511. krishna

    Hello sir I need this whole script urgently I am using Xampp…can u plz guide me….I am unable to download the script. I have subscribed to your blog but
    still I am unable to download it. please send it to my email kendregopalkrushna@gmail.com

  512. vinod

    Sir, Your tutorial is very well. But, I needs to implement in java code. I tried but didn’t get any code. Please give any suggestion…

  513. aidenkers

    In file “FacebookRedirectLoginHelper.php” replace

    if (isset($response[‘access_token’])) {
    return new FacebookSession($response[‘access_token’]);

    by
    if (isset($response->access_token)) {
    return new FacebookSession($response->access_token);

  514. kennedy sakala

    Fatal error: Cannot use object of type stdClass as array in
    /xxxx/third_party/Facebook/FacebookRedirectLoginHelper.php on line 191

    solve the problem:

    if ($response instanceof stdClass && isset($response->access_token)) {

    return new FacebookSession($response->access_token);

    }

    if (is_array($response) && isset($response[‘access_token’])) {

    return new FacebookSession($response[‘access_token’]);

    }

  515. Durga Prasanna

    hi ,

    I have trouble making “jQuery autocomplete multiple fields with single auto-select Request” work.
    Could you please send me the script @ durgalanki@gmail.com

  516. Karishma

    Very helpfull… Perfect code… Thank you so much
    Can you help me where to insert and how to insert google_login method in the code…

    Thank You…

  517. Erick Kennedy Eniwa Sakala

    Thanks Muni, how do you get the email address? is it possible? please help

  518. SIENG CHAMPA

    Hi, Can I Create folder name by ID when upload record?

  519. ReverseEMF

    I hit upon this site via a Google search for help with resizing images on the client side BEFORE uploading the image(s). I want to upload images from a smartphone for use in a website/Facebook. As such, they don’t need to be full resolution. Uploading full resolution images takes a great deal of time, especially if they are numerous. Thus, I wish to reduce their size at the client (probably using Javascript) and then, upload them using AJAX (and then save them in a database, echo them back as a preview on the client, etc.)

    So, can you do that? [Challenge]

    BTW: I actually achieved this, once, around 2 years ago. Then I put the project aside and dusted it off presently and now, for some reason, it’s broken! It was working SO GOOD and now it dies with a Javascript error. I had to do a great deal of research and study to get it to work the first time, and now, to fix it, I would have to relearn all this stuff I have forgotten. So, I know it’s possible! Can you do it?

    In fact, if you DO, in the next week or so, I promise I’ll become a Premium member for at least a year! Shoot me an email or respond to this post, when you’re done 😉

  520. ReverseEMF

    I found “PLUPLOAD”…pretty sure I’m gonna go with that! So, nevermind.

  521. ReverseEMF

    Not sure what you mean by “by ID”, But, you can name the folder whatever you want. Just change ‘images’ to whatever in the following code:

    if (!file_exists(‘images’)) {
    mkdir(‘images’, 0777, true);
    }

    and in all the places where the ‘images’ path is used.

  522. ReverseEMF

    Change ‘images’ in the following code:

    if (!file_exists(‘images’)) {
    mkdir(‘images’, 0777, true);
    }

    and in all the places where the BASE_PATH/images path is used. Like, here:

    if($image_flag){
    move_uploaded_file($value[“tmp_name”], “images/”.$name);
    $src = “images/”.$name;
    $dist = “images/thumbnail_”.$name;

  523. info mediaz

    thank you….if any error to anyone please let me know sure to help in it because finally i got results………

  524. Taher

    i have the site with https so when i am redirecting i am get an error

    This page isn’t working

    is currently unable to handle this request.

    HTTP ERROR 500

    please help out…..

  525. Taher

    i have the site with https so when i am redirecting i am get an error

    This page isn’t working

    is currently unable to handle this request.

    HTTP ERROR 500

    please help out…..

  526. 패트

    Hi.
    Thanks for the demo, but I can not test it, *. Sql file is required. Can you provide the above file?

  527. Krishna Reddy Ch

    hi Please send me Code I am unable to download the script. I have subscribed to your blog but
    still I am unable to download it. please send it to my email krushnadial@gmail.com

  528. Alagusundar Sundar

    sir i got the results. but facebook authentication i can not fetch for facebook profile picture, emailid. i can change for any graph files. please help sir

  529. Sharad Gupta

    hello shilpa can u send me the invoice code bcz i am suffering from a problem with dropdown autocomplete for 2nd field when i click to add textfield ,plz send me at sharadg331@gmail.com .its very
    urgent

  530. Sandip Kc

    Posted 4:26 pm. I can get the date of how old this post so that I would avoid any posts that are more than 6 months old for facebook tutorials as they keep on changing api.

  531. Ghufran Javed

    Hi Muni,

    First thanks for this wonderful invoice system script, i want to add extra field in it i.e. Other Charges/Courier Charges.

    So how can i add this and get the sum.

  532. Sharad Gupta

    how can i fetch all css classes on submit button from source code paste in textarea .

  533. Eduardo Fiorini

    Fatal error: Cannot use object of type stdClass as array in /home/smarttut/public_html/demo_tut/social_login/Facebook/FacebookRedirectLoginHelper.php on line 176

  534. Roberto

    I found a problem while adding/deleting rows, here:

    //adds extra table rows
    var i=$(‘table tr’).length;
    $(“.addmore”).on(‘click’,function(){

    Lets assume the first row has the id itemNo_1. We fill that row and proceed to add a second row, which will have the id itemNo_2. If we delete the first row, itemNo_1, and add a second row, we will end up with two rows with the same id, itemNo_2.
    To search for unassigned ids, I modified the code with this:

    //adds extra table rows
    for (i=1; i<=100; i++) {
    if (!$('#itemNo_'+i).val()) break;
    }
    $(".addmore").on('click',function(){

    This will search for the next free id , from 1 to 100.

  535. Ramkumar G (BEN)

    Fatal error: Class ‘Cl_User’ not found in index.php help me

    same error did you solve this

  536. Ramesh

    Warning: escapeshellcmd() has been disabled for security reasons in /home/u363719411/public_html/jagan2/class.phpmailer.php on line 894
    Could not execute: /usr/sbin/sendmail

  537. Chandu Ratkal

    It’s not a working code! both add and remove functionalities are not working.

  538. Devin Smith

    I’m using a wonder WordPress Multi Step Registration Form Plugin Designed & Developed by WITONILABS, guys believe me Front End is really cool and gives you awesome flexibility. If you’re looking for the same then check it out there official website : https://www.witonilabs.com

  539. Amit Mishra

    Hi Muni!! I have tried your program written above in which the fetching of data is successfully running. Can you please share the “calculateTotal()” function you have used in your program? Please share the function code also so that I can understand better what is to be done with calculateTotal() function? And can you please suggest me how can I work on jquery in my projects? I know all of its syntax and examples from tutorial websites like http://www.w3schools.com and http://www.javatpoint.com but what I don’t know is how to use it in any kind of project.Please help me in this also.

  540. Sri Vedha

    This was so simple and super, just what I was looking for! thanks a lot!

  541. Upendra Dande

    user data is not inserting into db while using signup using google + credentials

  542. Deepanshu khurana

    Is there anyway we can store all the values in the database with one submit button.

  543. Amit Mishra

    Can you Also post how to Edit and update the same using jquery autocomplete? If possible,please provide that too in your tutorial series.

  544. Sandeep Baradwaj

    i am getting this error.

    Could not execute: /var/qmail/bin/sendmail

  545. Hafidz Ikhsan Baihaki

    Dear Muni,

    Many thanks for your great work!
    I’ll ask something that i wanna show image which depending of row id
    How i do that with JQuery?
    Thank you!

  546. Salomé Miguel

    Hi, how to get user city and country?
    best regards,

Comments are closed.