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!

Recent content by andy98

  1. andy98

    Parse Error

    I believe this line is incorrect as well! <h6><?php getContent($story);?></h6>echo $story; Your echo $story; needs to be within your <? ?> tags www.goplanetgo.co.uk
  2. andy98

    Startup Programs load 2 minutes after Laptop booted!

    Windows IP Configuration Host Name . . . . . . . . . . . . : Andy2003 Primary Dns Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Unknown IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : No Ethernet adapter Local...
  3. 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...
  4. andy98

    Is this possible?

    Just in case anyone else wanted to know how to do something similar, I solved this by simply having another query within my array: while($row = mysql_fetch_array($result)){ put your second query here... SELECT * FROM .. WHERE cust_id = $row[cust_id] Then I used...
  5. andy98

    unlink not deleting file

    Hi I just solved the problem! $filename = "http://www.mywebsite/images/$_GET[fullpic]"; is incorrect! You have to use: $filename ="/home/mywebsite/images/$_GET[fullpic]"; Thanks anyway www.goplanetgo.co.uk
  6. 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...
  7. andy98

    Need to refresh page when press back button - why?

    I'm pretty new to PHP as well but I believe it forces the variables to repost and hence eliminate that dreaded problem with IE browsers. www.goplanetgo.co.uk
  8. andy98

    Need to refresh page when press back button - why?

    Hi I had the same problem and did the following: Place this code at the top of your php file. header("Expires: Sat, 01 Jan 2000 00:00:00 GMT"); header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); header("Cache-Control: post-check=0, pre-check=0",false)...
  9. andy98

    PHP Migration

    Cheers guys! Turned the 'error_reporting' off and it all works fine now! Many thanks once again GB Andy www.goplanetgo.co.uk
  10. 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...
  11. andy98

    Is this possible?

    No, I can't use the same query for the results because the query is determined by a search page and I don't want to join the 2 tables together in one query because it will not perform the correct search results. Is it possible to reference another query result for my last table column variable...
  12. 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...
  13. andy98

    Testing for Page Content

    Is this possible to achieve in PHP? www.goplanetgo.co.uk
  14. andy98

    Testing for Page Content

    I think, if memory serves me correct - that in coldfusion, you can call a page and test to see if the headers are for a valid page - and so do a redirect if the page is going to throw an error. I was just wondering if something was possible in PHP! www.goplanetgo.co.uk
  15. andy98

    Testing for Page Content

    It's not the back button - the same code works on 99% of the other pages. It seems to be problematic when being used after performing a search! www.goplanetgo.co.uk

Part and Inventory Search

Back
Top