I have a page with a coulple of forms which contain everything from radio buttons, check boxes, select lists and text boxes.
I would like the user to have the option to save and exit at anytime, so if they have only done half a form they can save what they have done into the database and exit...
I have variables pulled from a db which are similar to,
SA1
SA2
SA3
i am trying to remove the SA from the variable so im just left with 1,2 etc
Ive had a look at trim and split but unable to find a relevant example.
Are those the correct methods to go about it and if so how?
Thanks
I'm trying to find a way of receiving an 'ascii file' and transferring this automatically into an MySQL database, in order to form the basis for a web reporting webpage.
Can this be done and if so how?
Cheers
I have a form starting with a drop down menu i.e.
<select name="gangs" onchange="submit()">
<option value="">Select Gang...</option>
<option value="A1">HanA - Shop 1</option>
<option value="A2">HanA - Shop 2</option>
<option value="B1">HanB - Shop 1</option>
<option...
I have 2 pages one displaying a form from a database, which allows a user to change the status of a job via a drop down box, see Page1.php code below
Page1.php
while($row = mysql_fetch_array($result))
{
echo "<tr align='center'>\n";
extract($row);
echo '<td>
<select...
I currently use the following bit of code to validate a user login which works fine in MySQL but to no avail in Oracle, could anyone tell me what the equilivent in oracle is of the line,
if ($qry->numRows() == 0)
if ($qry->numRows() == 0) //WORKS in MySQL
{
echo "Logon Failure\n"...
I have an issue trying to get Http Authentification working with an SQL line checking my db, it is
$sql = "SELECT * FROM customer WHERE UPPER(customerID) = UPPER('{$_SERVER['PHP_AUTH_USER']}') AND lower(password) = lower('{$_SERVER['PHP_AUTH_PW']}')";
with the database as
customerID |...
Im using the code below to start reading a URL at line 300 but i would like it to stop reading at line 360, as im a java novice could you indicate where im going wrong, every seems ok (i.e. starts at 300) but it does not stop at the required point?
import java.net.*;
import java.io.*;
import...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.