Jump to content

session help.


dgnzcn

Recommended Posts

hello friends.

i have a dynamic value from mysql row :

<?php echo $row_urun['urunid']; ?>

 

how can i add this row to session:

<?php echo $row_urun['urunid']; ?>

and than,

 

that created session i need add this form value

 <input name="sayfasi" type="hidden" id="sayfasi" value="WHICH CODE WAS HERE ??" />

Link to comment
https://forums.phpfreaks.com/topic/273425-session-help/
Share on other sites

hello friends.

i have a dynamic value from mysql row :

<?php echo $row_urun['urunid']; ?>

 

how can i add this row to session:

<?php echo $row_urun['urunid']; ?>

and than,

 

I think it's hard to find a more basic programming question than this one... how can you assign a value to a variable? Well, read about assignment operators: http://php.net/manua....assignment.php and about session variables: http://be2.php.net/m...tro.session.php.

 

 

 

And then,

 

that created session i need add this form value

 <input name="sayfasi" type="hidden" id="sayfasi" value="WHICH CODE WAS HERE ??" />

what is the question here, you want to add the form value to the session or the other way round? In any ways, i would start with figuring out the first thing.

Link to comment
https://forums.phpfreaks.com/topic/273425-session-help/#findComment-1407300
Share on other sites

Still didn't explain what the problem is. If you want to do what you described, then do it.

 

I suggest you read the links you were given, and the one in my signature on how to get good help. Then ask again when you have determined an actual coding problem. 

 

If there is a language barrier so bad that neither side can understand, you might look for a forum in your native language. We have several people here who speak English and another language but this is primarily English, and people can't help if they can't understand the problem.

Link to comment
https://forums.phpfreaks.com/topic/273425-session-help/#findComment-1407305
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.