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 SkipVought 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: *

  1. Westbury

    Link not working...

    the server was a secure server (ie, with encryption)... for whatever reason the server no longer is using the ssl encryption. If you are running a shopping cart that handles financial transactions itself, then this is very bad news! If it aint broke, redesign it!
  2. Westbury

    Basic If Else Help.

    I also notice that you have a semi-colon at the end of the if statement. This is not needed and might cause problems for php. if (comp == date("Y-m-d",0000-00-00);{ should be if (comp == date("Y-m-d",0000-00-00) { If it aint broke, redesign it!
  3. Westbury

    About to give up !

    Can you post some code that you have tried so that we can tell you where you are going wrong. Thanks If it aint broke, redesign it!
  4. Westbury

    Problem with GD library - Gif files

    Can you post parts of your code please. Are you using imagecolorallocate() function to allocate black as a colour in the image? If it aint broke, redesign it!
  5. Westbury

    Opening up hyperlink in new window PHP

    ok, what error messages aer you getting? If you are literally adding target="_blank" to the echo statement then it will cause a parse error. You would need to escape the opena dn close double quotes: echo "<a href ='get_landlord_details_unregistered.php?userID=" . $userID . "'...
  6. Westbury

    php Time ?

    I know this may seem like a silly question but is the system clock correct on your server? If it aint broke, redesign it!
  7. Westbury

    Do/while problem?

    Make sure that your call to mysql_free_result($myQuery) is after you have finished with $myQuery, else it will delete the results stored in $myQuery. If it aint broke, redesign it!
  8. Westbury

    PHP Sofrware

    Try looking here: faq434-4252. It has a list of all the member suggestions for editors If it aint broke, redesign it!
  9. Westbury

    Which PHP Image function to use?

    hmmm, just quickly having a think while looking at the ol' doumentation I would suggest opening the image using imagecreatefromjpeg (http://www.php.net/manual/en/function.imagecreatefromjpeg.php) function. Then use imagecopy (http://www.php.net/manual/en/function.imagecopy.php) function to copy...
  10. Westbury

    Regular Expression HELL!!!

    Fantastic site!!! I disn't use reg ex'a much cos it took me ages to figure them out, but now i might use them a bit more :D If it aint broke, redesign it!
  11. Westbury

    Possible to pass data using session?

    Please can you post some code. It sounds like sessions are being used. If it aint broke, redesign it!
  12. Westbury

    Check if the form is empty

    Hmmmm, here is a copy of the code that I used to test it with. <HTML> <HEAD> <script> <!-- function Empty() { if ((document.frmItem.ItemName.value == "") || (document.frmItem.Description.value == "") || (document.frmItem.AskingPrice.value == "") || (document.frmItem.Place.value == ""))...
  13. Westbury

    Check if the form is empty

    try <script language=Javascript> <!-- function Empty() { if ((document.frmItem.ItemName.value == "") || (document.frmItem.Description.value == "") || (document.frmItem.AskingPrice.value == "") || (document.frmItem.Place.value == "")) { alert ("Please complete all fields")...
  14. Westbury

    how to run sql script from php?

    Where have you heard that? If you are referring to something like phpMyAdmin then that works in a different way. I believe it splits in the multiple statements into an array on single statements, then executes each one on it own. (I could be wrong on that, so dont take it as absolute truth) If...
  15. Westbury

    URGENT: match method

    This certainly isn't he most elegant way of doing it. But im not too good with regular expression matching. I think this will do what you want. The problem with your code is that it was saying it was ok if ANY part of the string matched. I dont know how to say "only if it all matches" in a...
  16. Westbury

    Odd HTML display with PHP commands

    Well done! I commend your lateral thinking! I must admit I wouldn't have thought of that. It may be a bit of a smoke and mirrors trick, but sometimes thats the only way! Westbury If it aint broke, redesign it!
  17. Westbury

    Background pic created in Fireworks, What Canvas size?

    I generally create pages where the content is about 800px wide (usually a little less to compensate for borders) and then design the page so that it can be any length. Most people these days have a resoution of at least 800x600.... if they dont then its their tough luck that you page isn't...
  18. Westbury

    var newwindow, when needed in a frame

    Im not sure if this is functionally differnet to main.location=selectedOptionvalue; but you could try parent.main.location=selectedOptionvalue; instead If it aint broke, redesign it!
  19. Westbury

    need your ecommerce advice!!!

    Thats useful to know! Many people have asked me about setting up and eCommerce site. Thanks If it aint broke, redesign it!
  20. Westbury

    how to run sql script from php?

    It could be failing because your are trying to cerate a column called time. Time is a column type to mysql and so this may be confusing it. Try renaming it. You also dont need the double quotes into the mysql_query command. mysql_query($contents); What comment line in createdb.sql? Any...

Part and Inventory Search

Back
Top