beboo002 Posted August 22, 2007 Share Posted August 22, 2007 how we add two column name in one field first name age beboo 20 now output like name beboo20 Quote Link to comment https://forums.phpfreaks.com/topic/66146-solved-mysql-problem/ Share on other sites More sharing options...
pranav_kavi Posted August 22, 2007 Share Posted August 22, 2007 pls xplain in details abt d prob. do u want 2 create another table tat wud ve column wid values frm another table? Quote Link to comment https://forums.phpfreaks.com/topic/66146-solved-mysql-problem/#findComment-330864 Share on other sites More sharing options...
beboo002 Posted August 22, 2007 Author Share Posted August 22, 2007 how can we add two column name in same mysql table in one field like blow first name age beboo 20 now output like name beboo20 Quote Link to comment https://forums.phpfreaks.com/topic/66146-solved-mysql-problem/#findComment-330868 Share on other sites More sharing options...
samoht Posted August 22, 2007 Share Posted August 22, 2007 If these are variables that you are wishing to display together you simply need to <?php echo $firstname .$age; ?> If you want to concatenate to sql feilds for input into another table or something... CONCAT('first name', 'age') as nameAge more info would be helpful as to what you have accomplished and what you want Quote Link to comment https://forums.phpfreaks.com/topic/66146-solved-mysql-problem/#findComment-330869 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.