Jump to content

IlaminiAyebatonyeDagogo

Members
  • Posts

    64
  • Joined

  • Last visited

IlaminiAyebatonyeDagogo's Achievements

Member

Member (2/5)

0

Reputation

  1. ohh can also use google as well to get more tutorials
  2. good day i think what you need is a tutorial on how to do this. A video tutorial will do the magic just copy this link This other part is an advance tutorial from tutorialzine Advance tutorial From tutorialZine Hope this helps
  3. yoo! Boss You are good alaways getting my back I love you. And i mean it thank you phpfreak for Ch0cu3r
  4. try echoing out the value of $add_point then kill the script. If you get your required result then check your pdo query over again if it dosen't then try declearing your company variable in this same file i think it is returning empty ie the company variable also redeclear the company variable here in this script i think the conditional statement is runing into an empty condition ie the company variable
  5. Hello everyone I need your assitance a great deal, so I have a form which i submitted to a php file throug ajax and jquery. It is working A ok but I want to be able to submit it with javascript instead, so i don't load any lib. And it is now a problem. The method I use to get the form field names and values in jquery is so simple and dynamic hence if changes are made on the html form i don't have to edit my jquery file to effect the change ie in respect to changing the name of the fields or adding more fields. But I don't know to archieve this using javascript. So i want to post my jquery script, for you all my mighty programmers to assist me get a javascript Clone for me, thank you very much for Helping Jquery file $("form.ajax").on("submit", function(){ var that= $(this); that.find('[name]').each(function(index,value){ var that = $(this), name =that.attr('name'), value =that.val(); data[name]=value; }); return false;}); Now the above code is just my major focus of the script. What it does is that select the form with an ajax class attribute and run a function after the user submits the form. The var that get reference to the above form throug the (this) reference. Next i use find fuction to look through out the open and close of our form.ajax form for any element that has the name attribute and set it into array using the .each(function (index,value){}) this is my main focus how to ilterate through the form looking for name attribute and set my finding into array using javascript. The next that var reference to the find statement and then we steal the name attribute and value from our findings and set an array called data with the stolen name variable as its index n value attribute as its value. Thank you once more my aim again is with the find and array setting statement.
  6. could you please point me to web page where i get tutorials for ajax beginers
  7. I have a form, that is a chat apps am building for project. Now everything seems to be working fine to the best of my ability. I want to submit the data from the form into my php script without any form of reload. That means i don't want redirection, to the action page and back to the chat page. What i want is for the page to submit the form at the background. And i know i need ajax to this bt i cnt get it right. Here is my form <form method="post" id='chatbox' action="reply.php"> <input type="text" id="text" name="adchat"/> <input type='hidden' id='user_id' name='id' value='1'> <input type='hidden' id='user_name' name='id' value='Ben'> <input type='submit' id='submit' name='chat' value='send'></form> What i need is an ajax code to submit d variable to the reply.php scrit and maybe a message to display when the form it been submitted say something like (sending...). Thanks for assiting. Pls i don't know anything when it comes to AJAX. Please forgive me and help me. Don't borther about displaying the user input just make it submit it to the php script. Thank you once again.
  8. the tables contain a id auto increment field as index, a username field varchar, a body longtext field to store post, a subject field longtext as well
  9. Please i assistance in selecting the last 8 inserted value into a database. For instance I want to select the last 8 post insterted into database *test* table *forum * field (*). Explaing : what i need is the mysql or mysqlite code to select the last 8 value in database test table forum and all the data we have in that field. Thank you all in advance
  10. av any 1 eva remove powered by codologic in freichat plz show me how did it
  11. thanks all it z working perfectly well cn u teach hw to remove the powered by codologic
×
×
  • Create New...

Important Information

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