39,323 Topics

Member Avatar for
Member Avatar for game4tress

I have fields in a table that are being constantly updated with the current time (each second). First, the controller calls a function to create the record in the database public function saveEntry($theuser='') { $data = array( 'theuser' => $theuser , 'dateentered' => date('Y-m-d') , //date('d-m-Y H:i:s') , 'gname' => …

Member Avatar for Tpojka
0
299
Member Avatar for mehnihma

HI I have problem with this code <?php $var = echo $this->Entity_RenderField($entity, $this->Entity_Field($entity, 'field_meni')); echo do_shortcode($var);?> error: Parse error: syntax error, unexpected 'echo' (T_ECHO) in /home/templates/test.html.php on line 86 when I do this: <?php $var = $this->Entity_RenderField($entity, $this->Entity_Field($entity, 'field_meni')); echo do_shortcode($var);?> there is no error but also no output and …

Member Avatar for mehnihma
0
338
Member Avatar for mohan@nano

i have project in that when the user logged in he/she has to get the messages by notifications using nodejs . suggest me with the code

Member Avatar for jstfsklh211
0
122
Member Avatar for rpv_sen

Hi Friends I am working on Payment integration. Can any one help me, how to integrate HDFC payment gateway in php.

Member Avatar for pritaeas
0
611
Member Avatar for joshl_1995

Hello Community, I was wanting to make a bbcode system using regex but the one I'm having a problem with is the list (<ol> and <ul>) but for some reason it isn't working this is the code I'm using: <?php function convertBBCode($input) { $bbCode = array( "/\[b\](.*?)\[\/b\]/", "/\[u\](.*?)\[\/u\]/", "/\[i\](.*?)\[\/i\]/", "/\[s\](.*?)\[\/s\]/", …

Member Avatar for pritaeas
0
321
Member Avatar for RainaAnja

i have a problem,i log in even though im not registered in database, please help me urgent!!!!!!!!!!!!

Member Avatar for mohan@nano
0
171
Member Avatar for mcronline

I'm having a weird situation here. I'm trying create a PDO object, like this: `$dbh = new PDO('mysql:host='.$hostname.';dbname='.$dbname,$username, $password);` I have rewriting ON in my .htaccess file. when I try to run the script using a URL that will trigger a rewrite rule, it shows me the following error: `Fatal …

Member Avatar for Tpojka
0
207
Member Avatar for sanjay@srvmedia
Member Avatar for rpv_sen

Hi Please any help me on the below issue i am having a interger as below the formate is CYYDDD 114024 i want to change the above line as 24-01-2014

Member Avatar for rpv_sen
0
184
Member Avatar for rpv_sen

Hi can any one pls help on the below thing I am having a value as 91819.0 But I required the above data should be converted as time as below 9:18:19 Likewise it should be viceversa

Member Avatar for rpv_sen
0
274
Member Avatar for MoreBloodWine

Ok, so someone else wrote the below code for me and is on a bit of a hiatus, so I can't ask them for help. In any event, I would like to also pull the following three things which is why I am here asking for help. total_rewards, paid_rewards & …

Member Avatar for pritaeas
0
310
Member Avatar for Trireny

i want show a video that save in database, how about it? i look for scrip php about it is nothing. can you help me plise?

Member Avatar for diafol
0
42
Member Avatar for superior7867

Hi dear I want to create a dynamic page where i want select country name in first drop down menu and then get its related city list in second drop down list how this will work in php

Member Avatar for Bachu
0
341
Member Avatar for davy_yg

Hallo, I am trying to make this search box works. This is my code: navigation.php <? //This is only displayed if they have submitted the form if ($searching =="yes") { echo "<h2>Results</h2><p>"; //If they did not enter a search term we give them an error if ($find == "") { …

Member Avatar for davy_yg
0
353
Member Avatar for christ123

Hi! I am trying to make a small application with google maps! I have successfully addded few points on the map using xml output to php from mysql database.. function load() { var map = new google.maps.Map(document.getElementById("map"), { center: new google.maps.LatLng(38.99,22.49), zoom: 7, mapTypeId: 'roadmap' }); var infoWindow = new …

Member Avatar for christ123
0
327
Member Avatar for davy_yg

Hello, I am having this error message: Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\xampp\xampp\htdocs\rustoleum\index.php:8) in C:\xampp\xampp\htdocs\rustoleum\index.php on line 63 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\xampp\htdocs\rustoleum\index.php:8) in C:\xampp\xampp\htdocs\rustoleum\index.php on line 63 index.php …

Member Avatar for davy_yg
0
496
Member Avatar for amna masood

Greetings! I installed Xampp as guided by http://sixrevisions.com/tutorials/web-development-tutorials/using-xampp-for-local-wordpress-theme-development. However, it gets pretty frustrating when I reach step 29 i.e running the wordpress install script. When I type: **http://localhost/wpdb/wp-admin/install.php**, it gives me the following error(no improvement on changing the browser even): Object not found! The requested URL was not found on …

Member Avatar for davy_yg
0
237
Member Avatar for Jasika Thakur
Member Avatar for chaitu11

i have attached the requirement. 1 register's from admin and it has some reference_id, then, 2 reg with reference of 1 ref_id, 5 reg with reference of 2 ref_id now my dout is i want to get the complete path i.e 1->2->5->9

Member Avatar for diafol
0
490
Member Avatar for Chris_19

Dear Forum: Should I take an intermediate PHP course? I have design experence but want to move more into the world of developent. I am thinking about taking a course in intermediate PHP. I have some PHP exposure. Wold this be a good first step towards getting out into the …

Member Avatar for diafol
0
131
Member Avatar for yogeshwariman

i want to delete ename from emp table and trainer table simultaneously...how it could be...pls help

Member Avatar for pritaeas
0
55
Member Avatar for bismillahk1

ho to convert this code into php <cfhttp method="post" url="#local.autoResponderURL#" result="result" charset="utf-8"> <cfhttpparam name="listname" type="formfield" value="#local.autoResponderListName#" /> <cfhttpparam name="meta_adtracking" type="formfield" value="#local.autoResponderAdTracking#" /> <cfhttpparam name="meta_required" type="formfield" value="#local.autoResponderRequired#" /> <cfhttpparam name="meta_message" type="formfield" value="1" /> <cfhttpparam name="name" type="formfield" value="#local.formFirstName#" /> <cfhttpparam name="email" type="formfield" value="#local.formEmail#" /> <cfhttpparam name="submit" type="formfield" value="submit" /> </cfhttp> how to …

0
171
Member Avatar for asadjaved64

## menua and drop down menu ## Can anyone tell me function of how i can automatically generated menu and sub menu from admin panel for public side web and also make table in database..?

Member Avatar for diafol
0
199
Member Avatar for rb1234567

Hi, I need to create a page where an admin can upload an excel worksheet in the .xlsx file format, this is then read and writen onto another php page. I'm new to PHP so I am confused by the code, I can find help on .xls but not accepting …

Member Avatar for patk570
0
297
Member Avatar for Ambrish_1
Member Avatar for JorgeM
-1
212
Member Avatar for Vmailservice

<script type="text/javascript"> var arr = [{ val: 1, text: 'Option 1' }, { val: 2, text: 'Option 2' }]; $(function () { $('a').click(function () { var sel = $('<select>').appendTo('body'); $(arr).each(function () { sel.append($("<option>").val(this.val).text(this.text)); }); $('<br>').insertBefore(sel); $('<input/>').insertAfter(sel); return false; }); }); </script> </head> <body> <a href="">Add Select Box</a> </body> with is …

Member Avatar for diafol
0
151
Member Avatar for davy_yg

Hello, I wonder how to create facebook & twitter share button which share articles title (twitter) & article title/content (facebook)? So far I only find the following codes: https://about.twitter.com/resources/buttons#tweet https://developers.facebook.com/docs/plugins/share-button/ It doesn't share the article title/content though. I have to type the title to share (not automatic).

Member Avatar for davy_yg
0
496
Member Avatar for fheppell

I have this code that loads a file called mailchimp-api and signs a user up to a newsletter: <?php if(isset($_POST['email'])){ $email = $_POST['email']; include("mailchimp-api.php"); $chimp = new MailChimp('XXXXXXXXXX-us7'); echo "API registered"; $chimp = $MailChimp->call('lists/subscribe', array( 'id' => 'XXXXXXXXX', 'email' => $email, 'double_optin' => false, 'update_existing' => true, 'send_welcome' => true, …

Member Avatar for cereal
0
243
Member Avatar for branding4you

I have a new website that i want the exchange rates to show up using the ECB (European Central Bank) Now for some reason on their website they put this code but i copy paste it into file save as php upload to server and nothing ... what could be …

Member Avatar for branding4you
0
333
Member Avatar for gsynr

I am not able to use Facebook Like and Share Butoon on my website Anyone can help mee <html> <head> </head> <body> <div id="fb-root"></div> <script> window.fbAsyncInit = function() { FB.init({ appId : 'app id', status : true, xfbml : true }); }; (function(d, s, id){ var js, fjs = d.getElementsByTagName(s)[0]; …

Member Avatar for gsynr
0
260

The End.