Support » How-To and Troubleshooting » help with syntax

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.


Viewing 2 replies - 1 through 2 (of 2 total)
  • 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?

    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.
Skip to toolbar