Jump to content

Is there a way to?


rawdata

Recommended Posts

Actually, what I mean is can I make MySQL copy a field from another field?  For instance, I have a table in my db with one field named ID that auto-increments.  I need it to put the same value into another field within the same table named cb_cid.  Is it possible to do this without writing a script to make it do this?

Link to comment
https://forums.phpfreaks.com/topic/55043-is-there-a-way-to/#findComment-272149
Share on other sites

I guess I did leave that wide open huh?  I didn't mean to say that there would be no instruction to do so at all.  Rather, that the instruction would be run from within MySQL, thru phpmyadmin perhaps, and not from an outside script.

 

Sometimes though my coding seems to make things happen that I didn't tell it to do.  I usually find out later that I did indeed tell it to do it, but at the time, I didn't think I did.  ;D

 

Thanks for your replies.

 

rd

Link to comment
https://forums.phpfreaks.com/topic/55043-is-there-a-way-to/#findComment-272880
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.