black_box Posted November 20, 2007 Share Posted November 20, 2007 I want something like this $a //query the table "Library" (but i want the value of $b) //inserting data into table "Library" database $b //after query "Library" table the output So i want the value of b to the a (mean value of $b and $a is same) so how to pass the value of b to a? Link to comment https://forums.phpfreaks.com/topic/78112-solved-passing-values-to-two-variable/ Share on other sites More sharing options...
Wes1890 Posted November 20, 2007 Share Posted November 20, 2007 You want $b to be the same as $a? Just write $b = $a; // sets $b to whatever $a is // or $a = $b; // sets $a to whatever $b is Link to comment https://forums.phpfreaks.com/topic/78112-solved-passing-values-to-two-variable/#findComment-395301 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.