i have got a time stamp
[PHP]$ts = "2007-06-25 21:56:24.375+05 :30";[/PHP]
which i am semding to php
[PHP]echo "<a href='../php/delete.php?time stamp_event=$ts ' >Delete</a>";[/PHP]
now on php page using $_GET[timestamp_event] , removes the '+' sign
and thus it's not getting matched with the db entry
any quick solution
i have tried addslashes ans preg_quote but i can't make it out
[PHP]echo preg_quote($ts) ;
// gives
// 2007-06-25 21\:56\:24\.375 \+05\:30[/PHP]
shoonya
[PHP]$ts = "2007-06-25 21:56:24.375+05 :30";[/PHP]
which i am semding to php
[PHP]echo "<a href='../php/delete.php?time stamp_event=$ts ' >Delete</a>";[/PHP]
now on php page using $_GET[timestamp_event] , removes the '+' sign
and thus it's not getting matched with the db entry
any quick solution
i have tried addslashes ans preg_quote but i can't make it out
[PHP]echo preg_quote($ts) ;
// gives
// 2007-06-25 21\:56\:24\.375 \+05\:30[/PHP]
shoonya
Comment