i want to combine two fields and have used the the following query
[CODE=mysql]UPDATE SudentInfo SET
image1name = CONCAT(imagepat h,UserName,'1') ;[/CODE]
this works but the thing is when a new record is added the query is not applied and i have to manually execute the query again.
Is there a way to automate this so that the query is applied to all subsequent records?
Cheers
[CODE=mysql]UPDATE SudentInfo SET
image1name = CONCAT(imagepat h,UserName,'1') ;[/CODE]
this works but the thing is when a new record is added the query is not applied and i have to manually execute the query again.
Is there a way to automate this so that the query is applied to all subsequent records?
Cheers
Comment