Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: andy98
  • Content: Threads
  • Order by date
  1. andy98

    Startup Programs load 2 minutes after Laptop booted!

    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...
  2. andy98

    unlink not deleting file

    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...
  3. andy98

    PHP Migration

    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...
  4. andy98

    Is this possible?

    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...
  5. andy98

    Testing for Page Content

    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...
  6. andy98

    Selection Box (date)

    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>...
  7. andy98

    Selection drop-down box

    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'...
  8. andy98

    Setting Session Variable from Query

    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...
  9. andy98

    Sessions not ending

    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...
  10. andy98

    IF Statement in SQL Query

    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...
  11. andy98

    Date Input

    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?
  12. andy98

    Displaying List of Dates

    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...
  13. andy98

    Problems updating from dynamic select box

    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 =...
  14. andy98

    DateFormat

    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
  15. andy98

    Simple Query doesn't work

    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...
  16. andy98

    Outlook Custom Form and DateAdd

    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...
  17. andy98

    How to ensure COMMAS are not entered into form field

    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...
  18. andy98

    Validate on email field in Outlook Contacts form

    Hi Is it possible to validate the email field in an Outlook contacts form with possibly a regular expression or something?
  19. andy98

    Validate Drop-Down box if Radio Button is Checked - Outlook 2003

    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
  20. andy98

    Outlook Contact View - record count

    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?

Part and Inventory Search

Back
Top