Jump to content

mga

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

mga's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Actually i want to store the htmlspecialchars value of $var2  into the variable $vv2, for that i used value="<?php echo htmlspecialchars($var2 ); ?>" if the above is not correct,could you please let me know the syntax for that. Thanks,
  2. The value of $var2 will be html/url string, i thought to use funcation "htmlspecialchars"  i have to use the php tag. if you have any sample code to store the html and url values in mysql db,could you please send to me. Thanks,
  3. $vv2='variable2<input type="text" name="vars2" size="30" value="<?php echo htmlspecialchars($var2 ); ?>"> '; Please tell me what is wrong with this code, actually i want to save the value of $var2 in mysql db,but the above code is saving "<?php echo htmlspecialchars($var2 ); ?>"  into mysql db. I appreciate your help. Thanks,
×
×
  • 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.