Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

Mysql Update

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Watch

NetworkTown.Net

Account Closed
Impact
2
Hi

Dose any one know of a script that can do the following:

When i type in a form .flv and submit the form will update all .wmv in my database to .flv is it possible?
 
0
Close
0
0
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
The sql is:
UPDATE {TABLE_NAME} SET {FIELD_NAME} = REPLACE ({FIELD_NAME}, '.wmv', '.flv' )
 
0
Close
0
0
Ok so if my DB name is arcade and the table is games it will look like this:

UPDATE {user_arcade} SET {games} = REPLACE ({games}, '.wmv', '.flv' )

Is that correct?
 
0
Close
0
0
minus the braces.

UPDATE user_arcade SET games = REPLACE (games, '.wmv', '.flv' )
 
0
Close
0
0
Thanks i will test it in abit.
 
0
Close
0
0
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

NamePros now runs XenForo 2.3
We upgraded the forum software to a new version, XenForo 2.3. Thank you for your patience while the forums were offline. Your posts...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back