Title: help with syntax
Last modified: August 18, 2016

---

# help with syntax

 *  [andrewbillits](https://wordpress.org/support/users/andrewbillits/)
 * (@andrewbillits)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/help-with-syntax/)
 * This is related to a plugin i’m working on
 * UPDATE {$table_prefix}t_stop SET t_stop_data = ‘$t_stop’ WHERE t_stop_col = ‘
   data’
 * all i get is errors out of that and i can’t figure out how to fix it.
 * thanks

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

 *  [tahongawaka](https://wordpress.org/support/users/tahongawaka/)
 * (@tahongawaka)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/help-with-syntax/#post-160982)
 * Which errors are you getting?
 * what does `echo "UPDATE {$table_prefix}t_stop SET t_stop_data = '$t_stop' WHERE
   t_stop_col = 'data'";` give? Is it what you expect?
 *  Thread Starter [andrewbillits](https://wordpress.org/support/users/andrewbillits/)
 * (@andrewbillits)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/help-with-syntax/#post-160984)
 * omg. i am so stupid. this is what i did wrong:
 * t_stop_col = ‘data’
    should have been t_stop_col =’data’
 * that one space screwed me up. 😉
 * Thanks for the help.

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

The topic ‘help with syntax’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [andrewbillits](https://wordpress.org/support/users/andrewbillits/)
 * Last activity: [21 years, 3 months ago](https://wordpress.org/support/topic/help-with-syntax/#post-160984)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
