PHP,MySQL:how to insert/update changing html content into MySQL? [closed] - php

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have a div which value is changed in tyiping... on typing in textarea and when stopped typing its value again changed to no typing or maybe its empty.
how can I put its changing value into mysql table? or update?
any help would b appreciated.
thanks

Learn ajax requests...
By ajax I mean not only ajax. To start learning ajax you must know some jQuery.
Here are some tutorials:
Bucky's Room
Basicly get the value of the div you change while typing and send it to the database by ajax.

Related

Get few rows from another site in PHP [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I want to get this url rows: https://robot.your-server.de/order/market/country/US with pagination with php and get it in my website.
Scraping is not the better thing to do, have you check if this site has an API?
If not, you can use fil_get_contents to load all the page content as a string. One you have all the HTML as a string, DomDocument can help you to navigate to the first row.
Because this is scrapping I'll not show code example.
See file_get_contents and DomDocument.

Showing posted data on another website in real time [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
How i show data postet in another website to mysql database, in real time on main page of website using PHP and that any new data is displayed in a new line.
Datas that i need show are: name, and finish time (from race).
Use .setTimeout() JS method on main page of website and do jQuery.ajax() requests to your server to update data.

How to get the search results in real time? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'm a building a website like udemy.com. On the front page there is search bar for the users to search for the courses they want to enroll in.
How to get it done to show the results if the users inputs something?
I know that ajax will be used in this scenario. But anyone got the working solution or the better implementation?
I hope i'm clear with my question.
#arosh, are you looking for something like this: jquery autocomplete

Using PHP to change HTML permanently [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I want my client to be able to log into their website, fill out a form and then have that webpage permanently have whatever they put into that form. Is there a way to use php to take whatever is submitted in that form and replace the html content with it? Im new to php, which functions could I use? And is it possible for php to permanently change anything on a site? Im not terribly concerned with security
Start with wordpress and if you don't like it, then there are other content management systems out there. Google can help you find one too.
Wordpress site

Deleting entry from databse by deselcting checkbox in php [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have list of checkboxes on web page. What I want is , after deselcting checkbox particular record from database should get deleted accordingly in php.
You'll need to use some javascript to "listen" for the uncheck action on each checkbox. You can then use AJAX to delete the record from the database on the fly, and use jQuery make the record disappear visually from the webpage, all without reloading.

Categories