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 John Tel 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 davidpearce

  1. davidpearce

    "double quotes"

    I suggest that you pass the db field through the htmlspecialchars() function something like this $outstring = htmlspecialchars($dbrow["dbfield"], ENT_COMPAT); echo $outstring; ENT_COMPAT converts double quotes but not single quotes, other values are ENT_NOQUOTES (does not convert...
  2. davidpearce

    "double quotes"

    fair enough - I was trying to get to the principle. :-)
  3. davidpearce

    "double quotes"

    Sorry I didn't preview my post - I'm new to this site! HTML will convert & quot; (no spaces) to &quot;. the input line should read <input type=&quot;text&quot; value=&quot;This is a & quot;double quotes& quot;&quot;> </code] Again no spaces between the & and quot; The page is displayed in...
  4. davidpearce

    &quot;double quotes&quot;

    If you use \&quot; within a string PHP will replace the \&quot; with the single &quot; character. Alternatively HTML will replace &quot; with a single &quot; character. You might find that by altering your code slightly you can make use of these conversions to insert double quotes characters...
  5. davidpearce

    Can't lookup hostnames on the Internet

    Hi all I am looking after a Windows 2000 network, servers are running W2K server and PC's W2K professional. We have a Netgear DG814 router, connected via ADSL to the Internet. One server is set up to be PDC and a fileserver, the other is a proxy and email server. The problem is that I can't...

Part and Inventory Search

Back
Top