|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Hello there...
I would like to know how we can store an associative array into a mysql database. I need this because i am using Apache::Session::Mysql for session management and so session variables are stored in the form of a hash. I tried to store them as text, but i can see no entry corresponding to that field in the database. Could anyone please help. Thanks in advance. Dups |
|
#2
|
|||
|
|||
|
you should
tie your session variable to your mysql database like this ->
tie %session, 'Apache::Session::MySQL', undef, { DataSource => 'dbi:mysql:sessions' } then it's only question of assignment .... |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > to store an associative array into mysql database |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|