Results 1 to 6 of 6
Thread: value PHP
Hybrid View
-
5th February 2013 17:23 #1
value PHP
<?php if(isset($_POST['submit']))var_dump($_POST['username']);HTML Code:<form method="POST" action="#"> <input type="text" name="username" value="pesho"> <input type="submit" name="submit" value="Submit"> </form>
?>
value - pesho
:
<?php if(isset($_POST['submit']))var_dump($_POST['username']);HTML Code:<form method="POST" action="#"> <input type="text" name="username" value="<?php 'pesho'; ?>"> <input type="submit" name="submit" value="Submit"> </form>
?>
- value
pesho , php ?
-
5th February 2013 18:23 #2
-
5th February 2013 18:40 #3
-
5th February 2013 18:50 #4
-
5th February 2013 19:05 #5Registered User
Join Date: Dec:2003
Posts: 2,817
.
Gigabyte DS3P, E4400@9x333, 2x2Gb Super T@1000Mhz, Gigabyte GTX460OC 768Mb
-
5th February 2013 23:00 #6
<?=$pesho?>
, ( ternary ). php 5.4 .
$pesho , - , php?!
echo/print, echo , language construct...
print. , . - , - expression
. , - .




Reply With Quote
Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in