Title: [Plugin: pb-embedFlash] widget
Last modified: August 19, 2016

---

# [Plugin: pb-embedFlash] widget

 *  [dryanwp](https://wordpress.org/support/users/dryanwp/)
 * (@dryanwp)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/plugin-pb-embedflash-widget/)
 * I really like this plugin (esp the widget). But I would like to be able to change
   the contents of the field pb_embedFlash_widgets in the options table using a 
   php script (so I can schedule different videos to display at different times).
   Unfortunately any change to the content of the pb_embedFlash_widgets field seems
   to inactivate the plugin.
 * Any suggestions?

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

 *  [pasber](https://wordpress.org/support/users/pasber/)
 * (@pasber)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/plugin-pb-embedflash-widget/#post-939481)
 * This could have several reasons:
    - Does your script use `unserialize` and `serialize` to read/store the data 
      from/into the `pb_embedFlash_widgets` field?
    - Do you modify the structure in any way?
 * If the advices don’t help then I’ll need the full PHP code.
 *  Thread Starter [dryanwp](https://wordpress.org/support/users/dryanwp/)
 * (@dryanwp)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/plugin-pb-embedflash-widget/#post-939484)
 * My mistake. In pb_embedFlash-widets you find an array whose elements look like
   this:
 * s:5:”title”;
 * The “5” refers to the number of characters in “title”. If you change “title” 
   to “my_title” you must also change 5 to 8 or the plugin breaks.
 *  [pasber](https://wordpress.org/support/users/pasber/)
 * (@pasber)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/plugin-pb-embedflash-widget/#post-939503)
 * You can ease your program heavily by using `unserialize` to make an array out
   of the {s:5:”title”;…} string and use `serialize` to do vice versa. 😀
 * Nothing else I’m doing to store an array in a single option field.

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

The topic ‘[Plugin: pb-embedFlash] widget’ is closed to new replies.

 * 3 replies
 * 2 participants
 * Last reply from: [pasber](https://wordpress.org/support/users/pasber/)
 * Last activity: [17 years, 5 months ago](https://wordpress.org/support/topic/plugin-pb-embedflash-widget/#post-939503)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
