J
janet
Hi
I created a table with varchar field where i want to store
the path of an image.
I will then use this file to retrieve this image on my
browser. Everything goes fine when i use a simple html
command as :
<img src="C:\Inetpub\wwwroot\MyWeb\images\one.jpg"
height="200" width="200">
this is a hard-coded path. Hence no problem.
But when I store in the database path value:
insert into story_table values
(1, 'Language', 'C:\Inetpub\wwwroot\MyWeb\images\one.jpg',
'C:\Inetpub\wwwroot\MyWeb\images\two.jpg',
'C:\Inetpub\wwwroot\MyWeb\images\three.jpg',
'C:\Inetpub\wwwroot\MyWeb\images\four.jpg', 'variation','cu
lture',
'tamil','chinese','english','german','hindi','malyalam','si
nglish','urdu');
'\' is not stored????????? why is this so ? hwo can i
store the complete using backslah. Currently it is storign
as:
C:InetpubwwwrootMyWebimagesone.jpg
instead of:
C:\Inetpub\wwwroot\MyWeb\images\one.jpg
any idea why is this happening?
thanks
janet!
I created a table with varchar field where i want to store
the path of an image.
I will then use this file to retrieve this image on my
browser. Everything goes fine when i use a simple html
command as :
<img src="C:\Inetpub\wwwroot\MyWeb\images\one.jpg"
height="200" width="200">
this is a hard-coded path. Hence no problem.
But when I store in the database path value:
insert into story_table values
(1, 'Language', 'C:\Inetpub\wwwroot\MyWeb\images\one.jpg',
'C:\Inetpub\wwwroot\MyWeb\images\two.jpg',
'C:\Inetpub\wwwroot\MyWeb\images\three.jpg',
'C:\Inetpub\wwwroot\MyWeb\images\four.jpg', 'variation','cu
lture',
'tamil','chinese','english','german','hindi','malyalam','si
nglish','urdu');
'\' is not stored????????? why is this so ? hwo can i
store the complete using backslah. Currently it is storign
as:
C:InetpubwwwrootMyWebimagesone.jpg
instead of:
C:\Inetpub\wwwroot\MyWeb\images\one.jpg
any idea why is this happening?
thanks
janet!