staement |
staement |
tudsy |
Aug 12 2016, 01:51 AM
Post
#1
|
Advanced Member Group: Members Posts: 246 Joined: 30-September 14 Member No.: 21,611 |
Hi
I have defined $person above this statement: <input type='submit' name='submit' value='Click to view '.<?php echo $person ?>.'.'s '> I was wondering what is wrong with this statement. Any help would be appreciated. Thanks. |
CharlesEF |
Aug 12 2016, 07:21 PM
Post
#2
|
Programming Fanatic Group: Members Posts: 1,981 Joined: 27-April 13 From: Edinburg, Texas Member No.: 19,088 |
Boy, my eye is really going bad. Anyway, I would suggest the OP follow your example:
CODE <input type="submit" name="submit" value="Click to view <?php echo $person;?>'s"> I always use double quotes with HTML attributes. I think the OP should also. |
Lo-Fi Version | Time is now: 23rd April 2024 - 08:03 PM |