Adding AdSense to default value of MySQL field?

Discussion in 'Placement / Reviews / Examples' started by sim64, Jul 28, 2008.

  1. #1
    I am trying to add AdSense as the default value of a field in a MySQL database.
    I have no problem setting a default value by using,

    UPDATE `tbl_test` SET `newfield` = 'default value'

    but when as I try to ad the AdSense code as the default value the end
    quotation mark gets dropped, resulting in an error.
    Anyone know how to get over this?

    Many thanks
     
    sim64, Jul 28, 2008 IP