Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {source}<?php
- $db = JFactory::getDbo();
- $query = $db->getQuery(true);
- //Get post data
- $jinput = JFactory::getApplication()->input;
- $kampid = $jinput->get('$kampid');
- $resultat = $jinput->get('$resultat', 'string');
- $fields = array(
- $db->quoteName('resu') . ' = ' . $db->quote($resultat)
- );
- $conditions = array(
- $db->quoteName('id') . '=' . $kampid
- );
- $query->update($db->quoteName('vm_207'))->set($fields)->where($conditions);
- $db->setQuery($query);
- $result = $db->execute();
- ?>{/source}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement