Hi
This is a strange one.
I have a Win XP Professional on my Laptop, with a wireless connection.
Everything has been working fine until a few days ago. I can't do a restore because for some reason I don't have any restore points this in January even though system restore settings is...
Hi
I am trying to remove an image file from a webserver and have got 777 permissions on the directory but cannot remove the file.
I know the action part is working and it is entering the IF statement! And I know that the $filename returned can be accessed when I paste it into a web browser...
Can anyone help?
I have a running PHP application on an apache web server online.
I have a laptop running mysql 4 and PHP 4.3.9 on Windows XP.
I have exported from my online application via an SQL file and imported into my laptop with all the identical PHP files for my application.
However...
I have a query that produces the results which displays what I need from my query except the last column in my table needs to have its result from a different query.
while($row = mysql_fetch_array($result)){
echo "<tr><td>$row[cust_id]</td>";
echo "<td>$row[cust_name_last]</td>";
echo...
Hi
Is there a way in PHP to test for the content of a page returned to ensure that I can trap, "The page cannot be displayed" messages!
The reason I want to do this is that I have a search page that display a resultset on the following page and has a back button which always seems to throw...
Another selection box question if someone could help!
I have the following select boxes to pass the date into a string and then into a DATE field of my database.
<select name="day">
<?php
for ($d = 1; $d <= 31; $d++)
echo "<option value=\"" . $d . "\">" . $d . "</option>";
?>
</select>...
I have a selection box with a list of SALES people in, that is pulled from a Database table and i later store the SALES_ID in the ORDER table:
$query = "SELECT * FROM sales ORDER BY sales_person ASC";
$result = mysql_query($query) or die (mysql_error());
echo "<select name='sales_id'...
Hi
I have the following code and what I am trying to do is to set a SESSION variable from my QUERY for sales_person which also resides in the SALES table.
However, when I test for the existence of the variable elsewhere it doesn't seem to have been set. Have I got incorrect syntax for setting...
Hi
I have just today started to look into PHP sessions and have created my LOGIN page. But when I LOGOUT and close the browser. I can still open a new browser window and bypass the LOGIN page and access other parts of my application.
When I login I set the following variable...
Hi
I know this is possible in Coldfusion but can this be done in PHP.
I have a search form with these fields:
Order_Number
Cust_Firstname
Cust_Surname
This form submits to a page with a query where I would like to be able to test for the existence of these fields within the SQL query - so that...
Hi,
Hopefully, this will be an easy one for someone!
I have a form with an Order date field and I want to have the user to be able to enter the date in British date format (dd-mm-yyyy).
Any ideas how I would accomplish this?
Hi
I have a bunch of records in a table of a mySQL database and one of the fields is a DATE field in the following format (0000-00-00)
Would I am struggling to do is to format these dates on my display page. I am inserting them as NOW() - but how would I pull them out and format them...
Hi
I am trying to generate a dynamic select box and then to update the database with the value selected if it has been altered.
This is what I currently have:
$cust_id = $_GET['cust_id'];
$rainbow_order_id = $_GET['rainbow_order_id'];
$update = $_GET['update'];
$acc_order_id =...
Hi
I have the following
echo "Date of Complaint: $row[date_result]<br>";
date_result being a date/timestamp from a mySQL db table.
I have been trying unsuccessfully to perform a date format to get a UK DD-MM-YYYY and a Time.
Can anyone point me in the right direction?
Thanks in advance
Hi
I am new to mySQL and PHP but have a simplified DB schema like thus:
Customer Table: cust_id, cust_name
Order Table: order_id, cust_id
I have a customer in the customer table -> cust_id=1
And I have an order in the Order table with cust_id = 1
I am just trying to join these two tables...
Hi
I have two date fields on an Outlook custom form.
One is completed when the Order has been taken (orderDate)
and the other is a (deliveryDate) field which I am trying to have an automatic value of 2 days after the (orderDate)
completed as soon as the (orderDate) field is completed.
In...
Hi
I have the following validation in my form.
<SCRIPT LANGUAGE="JavaScript1.2">
<!-- Hide from other browsers
function validate(regForm)
{
if (regForm.Firstname.value =="")
{
window.alert("Please enter your Firstname");
return false;
}
}
and my form...
Hi
I have a Radio button on a Custom Form in Outlook and I want to be able to check if the Radio Button has been selected, that a drop-down value is selected from a combi.
Any ideas
I have several custom views in Outlook contacts that have different filters applied to them.
Is there a simple way to count the number of retrieved records that are applied by each view?
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.