Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8120383
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T05:08:58+00:00 2026-06-06T05:08:58+00:00

<?php echo <a href=’display_emp.php?employee_id=$rs[’emp_id’]; onClick=\return confirm(‘Are you that you` `want to DELETE this Data?’)\

  • 0
<?php
    echo "<a href='display_emp.php?employee_id=$rs['emp_id']; onClick=\"return confirm('Are you  that you` `want to DELETE this Data?')\" ><FONT COLOR='#F00'>Click To Delete</FONT></a>";
?>

error: Parse error: parse error, expecting T_STRING or T_VARIABLE or T_NUM_STRING'

I am newbie in PHP, can anyone teach me how to solve this error?
thanks..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T05:08:59+00:00Added an answer on June 6, 2026 at 5:08 am

    Try something like:

    echo "<a href='display_emp.php?employee_id=".$rs['emp_id']."' onClick='return confirm(\"Are you  that you want to DELETE this Data?\")' ><FONT COLOR='#F00'>Click To Delete</FONT></a>";
    

    Let me just say: that is some terrible html your using there…FONT…really??

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

<a href=/delete/<?php echo $prod_name; ?> onClick=dropItem()>delete</a> Now is it true that only if the
I have this line of code: <a href=# id=profilelink name=profilelink value=<?php echo $id./.$block_record;?> onClick=return
I have this line of code: <a href=# id=profilelink name=link2 onClick=viewornot(<?php echo $freechat_id ?>)><?php
I have a link that looks like this: <p class=half_text> <?php echo $upvotes; ?>
For example… This PHP code <?php echo '<html>'; echo '<body>'; echo '<h1>Header One</h1>'; echo
php code: <?php echo json_encode(glob(photos-.$_GET[folder].'/*.jpg')); ?> it return : [photos-animaux\/ani-01.jpg,photos-animaux\/ani-02.jpg,photos-animaux\/ani-02b.jpg,photos-animaux\/ani-03.jpg,photos-animaux\/ani-04.jpg,photos-animaux\/ani-05.jpg,photos-animaux\/ani-06.jpg,photos-animaux\/ani-07.jpg,photos-animaux\/ani-08.jpg,photos-animaux\/ani-09.jpg,photos-animaux\/ani-10.jpg,photos-animaux\/ani-11.jpg,photos-animaux\/ani-12.jpg,photos-animaux\/ani-13.jpg,photos-animaux\/ani-14.jpg] Which is ALMOST perfect,
<div id=tabs class=htabs> <a href=#tab-description><?php echo $tab_description; ?></a> <a href=#tab-attribute><?php echo $tab_attribute; ?></a> <a
I have a bit of code that, using php, I want it to call
<iframe src=http://www.facebook.com/plugins/like.php?href=<?php echo 'http://domainame.com/'.$_SERVER['PHP_SELF'].'?'.$_SERVER['QUERY_STRING'];?>&amp;layout=button_count&amp;show_faces=false&amp;width=120&amp;action=recommend&amp;font=verdana&amp;colorscheme=light&amp;height=21 scrolling=no frameborder=0 style=border:none; overflow:hidden; width:120px; height:21px; allowTransparency=true></iframe> But if i'm
i have a link: <a href=? processor=<?php echo $value['processor']; ?>& auth_code=<?php echo $value['auth_code']; ?>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.