Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged update



« Prev 1 Next »
Update multiple fields using #ajax in Drupal 7 form
0 1031 posted 7 years ago by guruparthi
Add the code below to change the Home & Site URL that is configured in the database (wp-options table) by WordPress. Whenever you copy/move a site to a new hosting and the URL has changed you can use the code below to fix any strange redirects that m...
0 955 posted 10 years ago by 108Bits
Aspose.PDF for Cloud API has released PHP SDK which allows PHP developers to convert PDF files uploaded to a remote server to other formats. You can pass URL and format parameters to specify the PDF’s URL and output format and use the PUT method of...
0 2388 posted 10 years ago by johansonkatherine
Open your function.php of your active Theme. Copy your code insert and call the new Site URL. After delete the code snippet.
0 1073 posted 11 years ago by WMSchneider
This snippet shows how to retrieve information from the SEO plugin of Yoast, to be used for front-end use. This snippet is taken from the opensource free Nexus WP framework supporting front-end editing, custom layout and drag & drop.
0 891 posted 11 years ago by barkgj
Update current field data.
0 838 posted 12 years ago by tucq88
Serverside script for a personal DynDNS service. Works together with a clientside script written in ruby [ http://snipplr.com/view/55484/own-dyndns-service-clientside-script/ ] . Redirect to current saved IP(http, port 80): http://dynDns.yourver...
0 974 posted 13 years ago by madc
0 682 posted 13 years ago by shinokada
0 651 posted 13 years ago by nosmk
0 726 posted 14 years ago by jaredyeo
Drupal allows hook_update_N to run any sort of code. Most of the time, however, people only use this to alter the database scheme. But you can use it for much more. Like setting variables, creating nodes, importing views and so on. This code show...
2 1023 posted 14 years ago by berkes
This snippet allows you to update multiple rows of a database using a single form in one easy click
0 1344 posted 15 years ago by daveismyname
Here is a small function that I use to update records in a database. It coincides with the insertFromPost function that I have posted earlier. The element names in the form need to have the same name as in the DB and the field names should all...
1 859 posted 15 years ago by brownrl
More of a setQueryString
0 750 posted 15 years ago by iloveitaly
Very simple snippet to include if you want to auto update the year in a page copyright using PHP.
6 1124 posted 15 years ago by 1man
Allows you preserve and update a query string and it's existing values easily, instead of constantly appending the new value to the end of the query string
1 1042 posted 16 years ago by simplistik
Way to update the footer of a website automatically on 1st Jan.
3 858 posted 17 years ago by 1man
« Prev 1 Next »