Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

how can I use php to display question

how can I use php to display question stored in mysql database and choose the right answer for it and give grade if the answer is right and store it back in mysql database (sorry I don't speak English very well )

Getting error for using the session variables used in PHP

<?php session_start(); include_once('config.php'); $user=htmlentities(stripslashes($_POST['username'])); $password=htmlentities(stripslashes($_POST['password'])); // Some query processing on database if(($id_user_fetched<=$id_...

Integreriting solarium in cakephp2.4

I have problem with start Solarium Client, I downloaded it by Composer. I install it in Vendor When i want getting document from solr i have to creet a Client instance $client = new Solarium\Client($config); I Get this ERROR Error: Class '...

I want to convert the query php code into the Prepare statement php code

Here is my query code, How can write same code in the prepare statement php. <?php header('Content-type : bitmap; charset=utf-8'); if($&#95;SERVER['REQUEST&#95;METHOD']=='POST'){ $encoded&#95;string = $&#...

how to stick posts to their respective posts in php&mysql

Guys im trying to join a comments table to posts table using the following query in a method. public function feedView($session,$friend,$updateid) { $sql2=" select u.update&#95;body,u.author,u.time,u.title,u.account&#95;na...

Wordpress plugin interfere with the template in wordpress

Hello, I have a problem my plugin which I build it changes the style of my template. I would like to know how to avoid a problem like this. My plugin should take the main style of the template and not modify it. Please take a look on my att...

Shipping rate getting changed after few seconds in oye checkout magento 1.9.1

Hello All, I have used magento1.9.1 and oye checkout extension, Now I am facing this following issue from staring, I am not able to understand anything here. If my billing address and shipping address is same If my billing and shipping address...

query roll back

hey ci experts can you help me plz where im making mistake.... my query is not roll backed although im setting the first parameter in the $this->db->trans_start(TRUE); as TRUE the queries are only rollback when i remove the $this->db-...

I'm using the PHP curl and how can i make request by HTTP authentication?

Using PHP and using the curl as service I'm working on a REST website So, How can i make request by HTTP authentication? I need to know can i use the library functions ? I they exists for this way Please comment your answers.

How to write PHP code to select specific column and display rows respectfully??

I have wrote code for sqlite to select specific columns and display rows .. id condition lat long 1 Good 0.0 0.0 2 Poor 0.0 0.0 3 Good 0.0 0.0 When I select Good, It should display my lat & l...

Php WP how to send a mail to the admin from a logged user

Hello, I would like to know if in WP PHP is possible to make something like that: I need for the logged user a form which when compiled and submitted, send a mail to the admin with the all data of the user from db and the message he/she write. ...

cakephp 3 not able to save data

any cakephp 3 developer here? i am getting this error. my code is given in pic. i m inserting data into status table from users controller. how my controller will know abt status table in cakephp 3. help pls. Error: Call to a member function ...

how to access localhost with Ip from any where

guy's is anybody having Idea about how to access xampp with IP address not from lan from anywhere...? like with public IP I'm stuck with changing of the Apache config files also but no use...! Any help Plz...

Magento Pages

Hello Friends, Is there any link where i can find all magento pages. For example Login page, Create Account page etc. Thanks in advance.

Wordpress Savoy e-commerse theme enable/disable button

Hello, I'm working on a E-commerce project with the Savoy theme in WP. I add a custom button in the simple.php file. This button has to be enable only if the user is logged in. Due the fact I'm not an expert of such thing can someone explai...

HOW TO ADD MAGENTO ARROW LEFT AND RIGHT TO VIEW PRODUCT

hello, can somebody help me, how to add arrow left and right to this product view? do i need to use extension? if so, what extension do i need to use? or do i need to add hard code ? please help me, thanks in advance

In Wordpress, How user can fill pdf forms online and after that do online signature and send?

Hi In Wordpress, How user can fill pdf forms online and after that do online signature and send? Thanks in Advance.

query regarding PHP

HI I got a reference of this forum from one of my friend .. i am new to PHP and i have made a clender in PHP and now i wanna display birthdays in the calender by changing th edate color and on tooltip wanna display name of student(s) of having...

Classes and Objects

I have a sample I learn of javascript creating objects. Could anyone convert this javascript code for PHP? Because I'm already studying PHP syntax for creating objects but I need get this better. check *.txt file

Is there anyone who is expert in MasterCard Integration??

I have downloaded the Mastercard SDK for PHP but it's my first time to Mastercard Integration , I am confused about the Config.ini file gasp emoticon , how I change these values given in the picture

Project Details

Hi mates! Actually i am working on woo-commerce site and i want build site like http://www.mysmartprice.com/ so suggest me how should i build that site? should i build in wordpress or yii-framework? if wordpress then which theme or plugin is bett...

My code Not Working On Hosting Server

Hi, My code working in my locahost wamp server. But if I uploaded it to my hosting server it's not working. Please give solution. Or reason for this problem. Thanks Here is my code : <?php session&#95;start(); if(!isset($&#9...

in php for user login from facebook

i want the code in php for user login from facebook

send an event calender request through gmail in php

i wantt to send an event calender request through gmail in php...please help me in this....

multiple video play

Hello, i want to select the video from database fetch it and wanna play in loop all videos one after the other in a single player in html 5/ php . plzz help >>>>

Product Advertising API Error

Hi mates! I am trying to create Product Advertising API then in last step it showing "We're sorry! There was an error processing your changes. Please try again." I am trying since a day but its not working. plz help me guys...

Edit Exisiting pdf using fpdi

Im using FPDI library for writing existing pdf file but my code is writing only 1 page ..why? please require_once '../includes/fpdf/fpdf.php'; require_once '../includes/fpdf/fpdi.php'; $pdf = new FPDI(); $pageCount = $pdf->setSour...

Website Problem

Hi mates! actually I am working on woo-commerce site but i want to display product of other sites like amazon and want to earn money. is some one have any idea, how should i build that site??

SMS Gateway

Hi gays please tell me is there any free SMS API Gateway? If you know a free gateway then please suggest me.

failed to upload image, try again later - Wordpress

When i try to upload an image to a post or a product in my webshop (with woocommerce plugin) i constantly get this error: 'failed to upload image, try again later.' . Does anybody know how to fix this ? Thanks a lot. I already tried increasing...

Development Strategy

Hello...i am a newbie here. First of all I am a designer and I learning my way into web development. Now I got a project to design and develop a dynamic website. [b]Project Description:[/b] A site where users can post and publish content rel...

want to generate 5 digit serial number in php

I want to generate 5 digit sequential serial number . For example: starting serial number must be 00000 then next will be 00001, 00002............. 00011 like this .

how to consume Asp.net webservice from php client

i want to fetch data from asp.net webservice from php client. WHile doing that i got an error. 'faultstring' => string 'Server was unable to process request. ---> Input string was not in a correct format.' (length=84). I am using SOAP

SSL authentication login Script in CakePHP2.3

( https) SSL authentication login Script in CakePHP2.3 Linux server , but its working fine in normal http format could you pls help me to resolve this issue ,

get_magic_quotes_gpc() function is deprecated, please help

Hi everybody, i am a newbie php programmer. get_magic_quotes_gpc() function is deprecated; Is there any function or way to create backslahes to prevent sql injection? any tips and advises will help. thanks /=======THIS IS THE FUNCTION...

How to set crone for scheduling Push notifications?

hello I want to send automatic server notifications (push) on every Sunday. Also is there any way how to activate the new links activate only after 24 hrs.

Php problem

am creating login page,when am login how to redirect the particular login user page

Fetch Outlook contacts using PHP imap

Is there any way to get Outlook contacts using PHP imap functions? I need urgent help please

Drupal 7 authentication with javascript using Phone gap or Sencha

How to implement Drupal 7 authentication with javascript using Phone gap or Sencha Using Drupal 7 authentication with javascript using phone gap or sencha?

How to customize the table output of pdf files generated using jspdf?

I have a requirement where i need to customize the table column width of pdf file. This pdf file is generating using jspdf (a jquery plugin).

How to use feeds module in drupal to import feeds from other websites?

I want to import blogs and articles from other sites into my drupal website. I also want to import youtube videos in different content type.

How to list all child pages of current parent page in drupal 7?

Suppose I have parent pages A1 and B1. A1 has child pages A1.1, A1.2,A1.3 and B1 has child pages B1.1, B1.2. I want to list all the respective child pages on A1 and B1. In every child page I have an image and a title. These 2 information needs ...

How to Get Current Latitude and Longitude Location in Drupal 7

I need to get my current location Latitude and Longitude in Drupal7. Which module should I use and what will be the process of using that module?

Error message upon submitting quiz

I have a WordPress Quiz Master Next Plugin set up and it gives a certificate. When any user finishes the quiz it gives an error message is as below: Warning: file_put_contents(wp-content/plugins/quiz-master-next/includes/certificates/mlw_qmn_q...

403 Error Unable to load the HTML Page

Hi, I have a issue in trying to access a page on my website When I try to open the html page it gives me an error 403 "You do not have permission to access/main/menu.html on this server." I have also changed the permission of the folder....

URL rewriting using .htaccess

Hi, I was trying to rewrite a URL in .htaccess file on particular range of id's from 40 to 900. But it is not working as it is supposed to be. Actually I want to redirect page if there is any Id from 40 to 190. But is also redirecting ids lik...

How to included a timer on a web page

hello all, I want to include a timer on a web page which is designed for taking online test like on this website whose link is as followed http://www.indiabix.com/online-test/aptitude-test/random. Please suggest me how can I do that .

Return To Merchant Error pay-pal

Hello Everyone, I am using the express checkout recurring API for Paypal on my site. When I am using the live credentials on the API of pay-pal account, getting "return to merchant"-error and redirecting me to another window instead of the...

How to set form validation in cakephp using ajax

Hi, I want to set form validation without refreshing page in cakephp, so anybody can help me to resolve it. For example, I have a list so how can I update that list on a page dynamically without reloading/refreshing or submitting a form t...

Pubnub Chat Implementation

Does anybody know how to implement pubnub chat API?
1 3 next
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: