so I need to write a program for each column I might want to update?
Thanks so much. I want to update one field in a database table but with this code(which works now if I fill in all fields). All fields left blank...
I want to update database table CERTTBL from a form. I only enter the UNIT and DAYSLEFT as I only want to update the daysleft of that unit. Please...
thanks so much for your response. recode as suggested. this is what is displayed: receipt# 0 Tenant paying is: unit1 - Amount paid is: 530.00 -...
The updates work, receiptno is incremented. all I need to know is how to define the variable correctly and as important, why the echoes don't...
My project seems simple, update a couple of database tables, one from a little form, print a receipt and echo out the receipt# and other values....
I don't want to look up the latest receipt # and use on form. The receiptno updates just doesn't echo the value. There is 1 record in crttbl...
this is complete code. On commented line 43 value displayed is "0". On commented lines 57-61 value is not displayed. On commented line 77 value...
<?php $link = mysqli_connect("localhost", "root", "", "homedb"); // Check connection if($link === false){ die("ERROR: Could not connect. " ....
how do I recode: echo "receipt# $receiptno"; to display the value of receiptno ?
didn't work but this did but didn't display the receiptno value <?php $link = mysqli_connect("localhost", "root", "", "homedb"); // Check...
This code is just to update the receiptno by adding 1 and displaying the value of receiptno. The only prob, it does neither.?? says "updated but...
Separate names with a comma.