Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~6K People Reached
Favorite Forums
Favorite Tags
Member Avatar for akshit

hi guys. i hav this drop down menu, which i need to populate with data from one column of a particular table of MySQL dbase. i hav read a lot on this, but have not been able to come up wid any code. any and all help in this regard …

Member Avatar for jgilliam
0
2K
Member Avatar for rse

I have an ajax call that sends some data to process.php and return back the image name. In process.php I returned the name as follows: [code=php] echo "image.png"; [/code] The ajax call is: [code=javascript] var $chart = $( '#chart' ); var $test = $( '#test' ); $.get("process.php", {date: DateStr, birthday: …

Member Avatar for rse
0
138
Member Avatar for rse

Hello, in process.php, I am trying to display google chart by requesting it using streams, the follwoing code is for requesting the chart: [code=php] header('content-type: image/png'); $url = 'https://chart.googleapis.com/chart?chid=' . md5(uniqid(rand(), true)); $chd = 't:'; for ($i = 0; $i < 150; ++$i) { $data = rand(0, 100000); $chd .= …

Member Avatar for kevindougans
0
977
Member Avatar for rse

Hello, I have a php variable $birthday, I am showing it's value like this: [icode] <div id= "dob" class="pick_number">Day of Birth: <?php echo $birthday ?></div> <div id="test"></div> // value should be printed back in here. [/icode] I need to pass the value of $birthday via ajax, I had the following …

Member Avatar for rse
0
170
Member Avatar for rse

Hello, I need to show the date picker in an input field that is inside a form. I have index.php which has the code for the date picker, I just need to link it to the input field. I have the form in another file as follows: [icode] <form id="inputArea" …

Member Avatar for rse
0
211
Member Avatar for rse

Hello, How can I encrypt and decrypt a session variable using salt, what do I need to set in the header? I tried this but got error about unknow function mcrypt_ecrypt. Any ideas to help. [code=php] function encrypt($text, $SALT=null) { $SALT=SECURE_KEY; return trim(base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256, SALT, $text, MCRYPT_MODE_ECB, mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB), MCRYPT_RAND)))); } …

Member Avatar for rse
0
46
Member Avatar for rse

Hello, I managed starting a session and store some data when a user login to the system. The user can edit his/her prifile by clicking on edit, then some of the data will show in the edit form. Now I have the form with empty fields and I need to …

Member Avatar for rse
0
135
Member Avatar for rse

Hello, I am new to php and mysql and I need to do password encryption and decryption. The password will be saved in a data base, I need to use an algorithm that uses SALT varible. Can some please help me with that? Thanks in advance.

Member Avatar for rse
0
2K
Member Avatar for QWaz

Hi, I am pretty new to php. I am trying to get a result from a database display as a link with php tags in it. however I am getting this error: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' on line 53 I don't know what it's …

Member Avatar for rse
0
442