Jump to content

Woodburn2006

Members
  • Posts

    214
  • Joined

  • Last visited

    Never

Everything posted by Woodburn2006

  1. is there any way that if the browser cannot find an image it will automatically replace it with another image? for example, instead of displaying a box with a red cross in it, it will display http://.../../../error.jpg? thanks
  2. i am trying to get results from a DB where you search for a false condition. for example, if i wanted to search for a 21 year old in my table, i would use: Select from tablename where age='21' but what i want to do is search for everybody who is not 21. so the code would be something like this: SELECT FROM tablename WHERE (age is not equal to)21 hard to explain but if anybody has any ideas then please let me know thanks
  3. [!--quoteo(post=385580:date=Jun 19 2006, 11:48 AM:name=SemiApocalyptic)--][div class=\'quotetop\']QUOTE(SemiApocalyptic @ Jun 19 2006, 11:48 AM) [snapback]385580[/snapback][/div][div class=\'quotemain\'][!--quotec--] There is no mail server included with Apache that I know of. Yes, you can have more than one domain pointing at the server, look up the Virtual Hosts section of the Apache manual. [/quote] thanks, do you know of a mail server i can use?
  4. i am a newbie to the apache server and i have a couple of queries that i need to sort out as they are killing me. firstly, how does the mail server on it work? i.e the pop servers etc, if these even exist secondly, can you add more than one domain to the server? if anyone has the answers to these questions then please let me know, thanks
  5. hello, i know how to select data from a SQL database fine by using: SELECT * from table where blah blah blah but what i am having problems with is that i need to be able to select data that contains a certain bit of text. for example, if i have a column in a db table called 'Media'. the data within the column would be entered as 'cd, tape, floppy' so what i want is for the user to be able to click a button that says 'CD' and the query will notice that the MEDIA field will contain this bit of text, therefore will display it. if the MEDIA field only containd 'cd' in it then i know that this would be shown using the standard SELECT query but i want the query to pick out just a bit of the text in the field. any ideas? any help would be appreciated thanks
  6. [!--quoteo(post=383271:date=Jun 13 2006, 03:02 PM:name=poirot)--][div class=\'quotetop\']QUOTE(poirot @ Jun 13 2006, 03:02 PM) [snapback]383271[/snapback][/div][div class=\'quotemain\'][!--quotec--] [code]echo "<a href='delete_supplier.php' onClick='return confirm(\"Are you sure that you want to delete this supplier?\");'>Delete You</a>"[/code] [/quote] thanks very much, works fine [img src=\"style_emoticons/[#EMO_DIR#]/laugh.gif\" style=\"vertical-align:middle\" emoid=\":laugh:\" border=\"0\" alt=\"laugh.gif\" /]
  7. [!--quoteo(post=381206:date=Jun 7 2006, 11:57 PM:name=xyph)--][div class=\'quotetop\']QUOTE(xyph @ Jun 7 2006, 11:57 PM) [snapback]381206[/snapback][/div][div class=\'quotemain\'][!--quotec--] Just put this in your delete link <a href="delete.php" onclick="javascript:return confirm('Are you sure you want to delete this entry?\n(It cannot be undone)')">LINK</a> [/quote] i am also trying to do this, but if you put it inside a PHP echo statement it does not work, any ideas? i tried this: <? echo "<a href='delete_supplier.php' onClick='return confirm('Are you sure that you want to delete this supplier?');'>Delete You</a>" ?> it will still continue to the delete page but will not display the message box
  8. hi, i came across this script whilst i was searching the internet as i was looking for something that did a similar job. the script is perfect for what i was looking for, except i have a lot of images to be shown, so i was wondering if there was any way that i could script it s that it only displays a certain number of images per page? i have had a look but i cannot seem to work it out, i am still a novice. any help on this would be great, thanks very much
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.