-3

What would be the right syntax to convert this expression

echo '<input type="text" class="regular-text" name="first_name_title" value="'.$value5.'" placeholder="Write your First Name">';

in the format

?>

    <input type="text" class="regular-text" name="first_name_title" value= ????????????? 

<?php

On the second format I can not find a way to set the value = $value5

Alduxo
  • 69
  • 5

1 Answers1

0

You can do this:

<?php
$var1="Xxx"
?>

<input type="text" class="regular-text" name="first_name_title" value= "<?php echo $var1; ?>"/>
giocast
  • 9
  • 4