Click here to Skip to main content
16,012,611 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
AnswerRe: php checkall delete all records Pin
Ranjit Viswakumar29-Jan-09 13:18
Ranjit Viswakumar29-Jan-09 13:18 
QuestionHelp to use apache tomcat 6.0 in NetBeans6.0.1 Pin
hamid zamani10-Oct-08 22:23
hamid zamani10-Oct-08 22:23 
Questioncalendar conrol Pin
umeshdaiya10-Oct-08 20:06
umeshdaiya10-Oct-08 20:06 
AnswerRe: calendar conrol Pin
umeshdaiya11-Oct-08 3:53
umeshdaiya11-Oct-08 3:53 
GeneralRe: calendar conrol Pin
evden eve nakliyat20-Dec-08 15:13
evden eve nakliyat20-Dec-08 15:13 
Questiondata save on button click Pin
umeshdaiya9-Oct-08 4:21
umeshdaiya9-Oct-08 4:21 
AnswerRe: data save on button click Pin
Mohammad Dayyan10-Oct-08 6:25
Mohammad Dayyan10-Oct-08 6:25 
AnswerRe: data save on button click Pin
Ranjit Viswakumar29-Jan-09 13:44
Ranjit Viswakumar29-Jan-09 13:44 
You will have to have an AJAX function that updates the database. There are 3 components here-

1. AJAX script:

http://whatsaranjit.com/includes/grabData.js[^]

2. A button that calls AJAX:
<input type=button value=Update onClick="grabData('value','IDofDiv', page.php)'>

3. A user-facing page with a text field.

When the button is pushed, object.value (or whatever value) is passed to page.php as a $GET['q']. The PHP page should receive the $_GET['q'] as process a mysql_query() to update the database. The 'IDofDiv' is optional if you'd like the output of page.php to report content in between <div id=IDofDIv></div>. Good luck!
Ranjit Viswakumar
Professional Services Specialist
rviswakumar@hostmysite.com
HostMySite.com[^]
Questioncalling a php function through onclick Pin
umeshdaiya9-Oct-08 3:49
umeshdaiya9-Oct-08 3:49 
AnswerRe: calling a php function through onclick Pin
Mohammad Dayyan10-Oct-08 6:44
Mohammad Dayyan10-Oct-08 6:44 
GeneralRe: calling a php function through onclick Pin
umeshdaiya10-Oct-08 21:24
umeshdaiya10-Oct-08 21:24 
GeneralRe: calling a php function through onclick Pin
Perspx19-Oct-08 1:35
Perspx19-Oct-08 1:35 
GeneralRe: calling a php function through onclick Pin
chiangkinghu8-Dec-08 20:56
chiangkinghu8-Dec-08 20:56 
GeneralRe: calling a php function through onclick Pin
chiangkinghu8-Dec-08 21:02
chiangkinghu8-Dec-08 21:02 
QuestionPhp learner Pin
Pedram Behroozi30-Sep-08 2:42
Pedram Behroozi30-Sep-08 2:42 
AnswerRe: Php learner Pin
Kristian Sixhøj30-Sep-08 23:21
Kristian Sixhøj30-Sep-08 23:21 
AnswerRe: Php learner Pin
Mohammad Dayyan2-Oct-08 12:30
Mohammad Dayyan2-Oct-08 12:30 
GeneralRe: Php learner Pin
Pedram Behroozi7-Oct-08 7:40
Pedram Behroozi7-Oct-08 7:40 
AnswerRe: Php learner Pin
hamid zamani8-Oct-08 8:34
hamid zamani8-Oct-08 8:34 
GeneralRe: Php learner Pin
Pedram Behroozi8-Oct-08 8:37
Pedram Behroozi8-Oct-08 8:37 
GeneralRe: Php learner Pin
hamid zamani8-Oct-08 8:51
hamid zamani8-Oct-08 8:51 
AnswerRe: Php learner Pin
Perspx19-Oct-08 1:40
Perspx19-Oct-08 1:40 
QuestionMemory released for standard data types and not for user defined data types...? Pin
deepak190523-Sep-08 21:01
deepak190523-Sep-08 21:01 
QuestionCreating a Unix shell Pin
crain198123-Sep-08 6:34
crain198123-Sep-08 6:34 
AnswerRe: Creating a Unix shell Pin
Shyam Bharath19-Oct-08 1:43
Shyam Bharath19-Oct-08 1:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.