/    Sign up×
Community /Pin to ProfileBookmark

Just a simple one.Plz help..

Hi i got this code.The problem is it can’t detect the <?php in the first line.May i know which sign i have to add in to make the <?php function?Thanks.

mysql_query(“UPDATE example1 SET name='<anchor>Facilities Booking<br/><go href=”<?php echo $fbooklink ?>”

method=”post”><postfield name=”user_id” value=”<?php echo $user_name ?>” /><postfield name=”user_uno”

value=”<?php echo $uno ?>” /></go></anchor>’ WHERE id=’8′”)
or die(mysql_error());

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@NogDogDec 01.2006 — You have <?php ... ?> tags within the middle of PHP code. Do you mean to save those tags as part of the string that you want to save in the DB, or do you just want the values being echoed by those PHP statements?
×

Success!

Help @teongkia spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.15,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...