Title: Validation Errors
Last modified: August 19, 2016

---

# Validation Errors

 *  [cableghost](https://wordpress.org/support/users/cableghost/)
 * (@cableghost)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/validation-errors-7/)
 * I have the following code for bookmarking a site in Yahoo Buzz. This works fine,
   except, it produces a validation error for the ampersand (&).
 * Is it possible to recode the entire phrase to validate? BTW, I tried switching‘&’
   for ‘$amp;’…no luck.
 *     ```
       http://buzz.yahoo.com/buzz?targetUrl=<?php the_permalink() ?>&headline=<?php the_title(); ?>&summary=<?php the_excerpt(); ?><img src="../images/yahoo.png" alt="Y" width="26" height="26" border="0" /></a>
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/validation-errors-7/#post-1431312)
 * The correct code is `&amp`.
 *  Thread Starter [cableghost](https://wordpress.org/support/users/cableghost/)
 * (@cableghost)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/validation-errors-7/#post-1431445)
 * Thank you, however, that also produces errors from validation.w3.org.
 * It could possibly be because I am mixing html & php code.
 * -Scott
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/validation-errors-7/#post-1431450)
 * As far as the validator is concerned you are only outputting html. It doesn’t
   see any php. &+amp+; (minus the + marks) is the correct code. Please post your
   url.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Validation Errors’ is closed to new replies.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [validation](https://wordpress.org/support/topic-tag/validation/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/validation-errors-7/#post-1431450)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
