Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 1452 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     PHP and MySQL :

another n00b asp.net question from me (html and ")

Thread title: another n00b asp.net question from me (html and ")
Closed Thread    
    Thread tools Search this thread Display Modes  
05-13-2005, 10:44 AM
#1
Adam is offline Adam
Adam's Avatar
Status: Member
Join date: Jan 2005
Location:
Expertise:
Software:
 
Posts: 433
iTrader: 0 / 0%
 

Adam is on a distinguished road

  Old  another n00b asp.net question from me (html and ")

hi guys

ive googled but no luck

i have a html tag

Code:
<table width="100%">
in php if i do this

PHP Code:
echo "<table width="100%">" 
it will give me nasty errors (as is asp.net at the moment) but if i do this

PHP Code:
echo "<table width=\"100%\">" 
it will echo out the table code with the " intact

does anyone know the asp.net equivelant?

so i can put valid xhtml into asp.net tags?

thanks
adam

05-16-2005, 09:16 AM
#2
Adam is offline Adam
Adam's Avatar
Status: Member
Join date: Jan 2005
Location:
Expertise:
Software:
 
Posts: 433
iTrader: 0 / 0%
 

Adam is on a distinguished road

  Old

its ok now, ive found it

you double up the quotations to escape it

so if you have

<div class="blah">asdf</blah>

you do this

<div class=""blah"">asd</div>

and it will parse it inside strings

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed