39,323 Topics
| |
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' => … | |
| 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 … |
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 | |
Hi Friends I am working on Payment integration. Can any one help me, how to integrate HDFC payment gateway in php. | |
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\]/", … | |
i have a problem,i log in even though im not registered in database, please help me urgent!!!!!!!!!!!! | |
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 … | |
make div's height expand with its content | |
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 | |
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 | |
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 & … | |
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? | |
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 | |
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 == "") { … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
i want to delete ename from emp table and trainer table simultaneously...how it could be...pls help | |
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 … | |
## 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..? | |
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 … | |
how to show data on different sections on click a link without anchor tag in html without using js,css or php | |
<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 … | |
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). | |
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, … | |
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 … | |
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]; … |
The End.