Posts
 
Reputation
Joined
Last Seen
Ranked #425
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
85% Quality Score
Upvotes Received
27
Posts with Upvotes
27
Upvoting Members
18
Downvotes Received
4
Posts with Downvotes
4
Downvoting Members
4
6 Commented Posts
4 Endorsements
Ranked #397
Ranked #449
~292.96K People Reached
Favorite Tags

199 Posted Topics

Member Avatar for AccurateAG
Member Avatar for MavrickIT
Member Avatar for Sanjeda shekh
0
854
Member Avatar for rpv_sen

Hi i am trying to view my blog or post in detail description at that time my browser title shows %page_title%, But it has to show my blog or post title in that place. please help me to solve this issue. **My permalink settings as below** /%category%/%postname%/ **Note:** i have …

Member Avatar for rproffitt
0
2K
Member Avatar for rpv_sen

Hi I am trying to create a login page from my existing Wordpress Database with custom php file. can any one please help me.

Member Avatar for asimegusta
0
1K
Member Avatar for Claire_4
Member Avatar for rpv_sen
0
415
Member Avatar for garymae14

Hi if you want in JS use the below code [CODE]<SCRIPT language = JavaScript> function calculate() { document.getElementById("total").value = parseFloat(document.getElementById("one").value) + parseFloat(document.getElementById("two").value); } </SCRIPT> <input name="one" type="text" value ="" size="5"> <input name="two" type="text" value ="" size="5" onChange="calculate()"> <P> Total: <input name="total" type="text" value ="" size="5"> <P> [/CODE]

Member Avatar for Saim_2
0
2K
Member Avatar for Jiaxin

Hi [CODE]while($row = mysqli_fetch_array($result_1))[/CODE] change the above as [CODE]while($row = mysqli_fetch_array($result_1, MYSQLI_ASSOC))[/CODE] pls refer the below link [URL="http://php.net/manual/en/mysqli-result.fetch-array.php"]http://php.net/manual/en/mysqli-result.fetch-array.php[/URL]

Member Avatar for Rakesh_13
0
81K
Member Avatar for ibrsbk

Hi ibrsbk Can you replace the code and try. it will work <?php $DBServer = 'localhost'; $DBUser = 'root'; $DBPass = ''; $DBName = 'world'; $conn = new mysqli($DBServer, $DBUser, $DBPass, $DBName); $sql = "SELECT Id, Name, CountryCode, District, Population FROM city WHERE CountryCode = 'USA'"; $result = $conn->query($sql); echo …

Member Avatar for rpv_sen
0
2K
Member Avatar for rpv_sen

Hi friends i am working for an shopping cart using php script, i placed a drop down option to display currency rate as per user selection(INR and USD). By default it will display all the price in INR, if any user select USD, then it has to show all the …

Member Avatar for rproffitt
0
3K
Member Avatar for rpv_sen

Hi i am having 3rd party csv file. i am having php uploading script to upload the datas into my table. while uploading datas into my mysql Table mean while it has to remove duplicate entries rows from CSV file. Please help me

Member Avatar for bhuvi_2
0
9K
Member Avatar for rpv_sen

Hi Friends, I have some dynamic text box in my screen, i have entered only one text field of the screen, after submitting the form all the values of the dynamic text box field is getting added in the database as 0 except the value i entered. i have used …

Member Avatar for Bhuvaneswari_1
0
2K
Member Avatar for calvinyow

Hi can you test line 24. just for test replace 24 as below $sql = "SELECT user_id, studentno, username, CONCAT(last_name, ', ', first_name) AS name, posname, course, gender FROM view_onse_officers $limit, 10";

Member Avatar for Gugun_1
1
5K
Member Avatar for rpv_sen

Hi I am trying to populate textbox value based on releated textbox value like that of (Country and State) using dynamic row formate. I can able to populate a value for only first row, if i tried ti for second row its again overwrite the first row and also i …

Member Avatar for Lucifer_1
0
3K
Member Avatar for rpv_sen

Hi I am trying to get count based on the select query using prepare. But i am unable to get the count. Please help to fix the issue. **PDO function** public function getDistictCountRows($filname,$tablen,$condition){ echo $sql = "select $filname FROM $this->db_name.$tablen where $condition" ; $query = $this->conn->prepare($sql); try { $query->execute(); }catch(PDOException …

Member Avatar for cereal
0
336
Member Avatar for rpv_sen

Hi Friends. i am working on my internal work. i am having n dynamic rows, Each and every row contain total. i want to sum all the rows total. i have attached the screen shot for the reference

Member Avatar for diafol
0
2K
Member Avatar for rpv_sen

Hi can any one please help me with some sample for multiple textbox value in php search. all the fields in the search are in one table. I have attached screen for the reference. ![a4ec5f0f3cab021bb2e13c6b18d4c008](/attachments/small/3/a4ec5f0f3cab021bb2e13c6b18d4c008.JPG "align-left")

Member Avatar for Kon Hu
0
520
Member Avatar for rpv_sen

Hi I am working on displaying json data in ul li with href, i can able to print only ![Capture01.JPG](/attachments/large/3/db569cebc3c426d0b02202cde151137c.JPG "align-center") but my expected output should be as below ![Capture-01.JPG](/attachments/large/3/133e4688d5b3f612fb3dbe8ba2f26f17.JPG "align-center") <script type="text/javascript"> var data= {"query":{"simple_query_string":{"query":"A*"}}}; $.ajax({ type: 'POST', //url: 'data.json', url: 'urllink', dataType: 'json', success: function (data) { arr= …

Member Avatar for jkon
0
2K
Member Avatar for rpv_sen

Hi i am working on contact form using SMTP. I am unable to send a mail. Please help me to fix the issue. **index.html** <div id="frmContact" class="w-form"> <div id="mail-status"></div> <!-- <form action="contact.php" method="post">--> <label for="name">Name:</label> <input class="w-input" type="text" placeholder="Enter your name" id="cf_name" name="cf_name"> <label for="email"><p class="info">*</p>Email Address: <span id="cf_email-info" class="info"></span></label> …

Member Avatar for cereal
0
832
Member Avatar for rpv_sen

Hi i am trying to display the username with their daily activity with count. i am getting the output for the last row reset is showing 0 in all the name. please help me to resolve. **connection.php** <?php class Database{ //specify your own databse credentials private $host = "odbc:DRIVER={SQL Server};SERVER=servername;DATABASE=DB"; …

Member Avatar for rpv_sen
0
214
Member Avatar for rpv_sen

Hi I am trying to insert to database. I am facing an issue in getting relavent radio button value. suppose if i select 1 or 2 or 3 radio button, by default it display 1 radio button value. please help me to fix the issue. **index.php** <div id="message"></div> <form class="form-horizontal" …

Member Avatar for James_43
0
315
Member Avatar for rpv_sen

Hi I am trying to create a service in c#, if i click start in service it has to execute the run.bat file. if i click stop in service it has to execute the stop.bat file can any one please help me to fix the code. using System; using System.Collections.Generic; …

Member Avatar for tobyITguy
0
331
Member Avatar for rpv_sen

Hi I am trying to update the ON / OFF status through the below code. If i change the OFF status to ON, its getting a value is OFF. can any one please help to fix the issue. **toggle.php** <div id="setQuickVar1"> <input type="checkbox" data-switchery <?php if($SCYQ64EV01=='Y') echo 'checked'; ?> /> …

Member Avatar for rpv_sen
0
9K
Member Avatar for rpv_sen

Hi i want to display runtime server load using php code. I find the below code from other website but i dont know i am going on the correct way. Pleae help me. function get_server_load() { $load=array(); if (stristr(PHP_OS, 'win')) { $wmi = new COM("Winmgmts://"); $server = $wmi->execquery("SELECT LoadPercentage FROM …

Member Avatar for rch1231
0
722
Member Avatar for rpv_sen

Hi I am working on windows services. i can bale to run the service for every 1 min. I creating multi thread. but i required the service to run in single thread. can any one please help me to fix my issue. **Code** using System; using System.Collections.Generic; using System.ComponentModel; using …

Member Avatar for pritaeas
0
1K
Member Avatar for rpv_sen

Hi I am trying to send a reminder mail with the HTML Table format. But the details is not getting displayed. Please help me to fix. i am using class file to send the email. include ('config.php'); date_default_timezone_set('Asia/Calcutta'); require "classemail.php"; $mail = new EMail; $mail->Username = 'emailid'; $mail->Password = 'password'; …

Member Avatar for rpv_sen
0
669
Member Avatar for abhi10kumar

I think the below example will help. $text = "How I can display \"content\" in the <b>textarea</b>? "; echo $output = html_entity_decode($text);

Member Avatar for diafol
0
462
Member Avatar for dizy

**searchform.php** <form method="POST" action="proc_search.php"> //your code </form> **proc_search.php** use % as below $query = "select * from asset_ict where " .$searchtype." like %".$searchterm."% "

Member Avatar for dizy
0
352
Member Avatar for rpv_sen
Member Avatar for JamesCherrill
0
250
Member Avatar for vin24

Hi Pls check it Run command-->type msconfig --> select Boot Tab there you can able to see what are the OS installed in ur system and also check time out by default it should be 30 sec

Member Avatar for saira.bibi.9250
0
399
Member Avatar for rpv_sen

Hi I want to stop direct download of videos file from my webiste folder. .htaccess is not working in godaddy windows server Please help me. eg: http://www.domain.com/folder/video.mp4 If paste the URL in the browser. it should not download the file from the server.

Member Avatar for rpv_sen
0
817
Member Avatar for Faiz97

I think **php_mssql.dll** file is missing. Are you using XAMPP server? or Some other

Member Avatar for Faiz97
0
457
Member Avatar for rpv_sen

Hi I am trying to create a update function. But it not updating in the database. Please help me to fix. **Test-2.php** $whereString = ''; $bind = NULL; if(isset($_POST['Submit'])) { if($_POST) { $SCYQ64UKID = $_GET['SCYQ64UKID']; $SCYQ64AVGP = $_POST['SCYQ64AVGP']*100; $searchFields = array('SCYQ64EMAL'=>$_POST['SCYQ64EMAL'],'SCYQ64EV01'=>$_POST['SCYQ64EV01'],'SCYQ64EV02'=>$_POST['SCYQ64EV02'],'SCYQ64EV03'=>$_POST['SCYQ64EV03'],'SCYQ64EV04'=>$_POST['SCYQ64EV04'],'SCYQ64EV05'=>$_POST['SCYQ64EV05'],'SCYQ64EV06'=>$_POST['SCYQ64EV06'],'SCUSER'=>$_POST['SCUSER'],'SCYQ64AVGP'=>$SCYQ64AVGP,'SCYQ64TZ'=>$_POST['SCYQ64TZ'],'SCJOBN'=>gethostname(),'SCPID'=>'SSWEB','SCUPMJ'=>$_POST['SCUPMJ'],'SCUPMT'=>$_POST['SCUPMT']); if($post = array_filter($_POST)) { if($fields = array_intersect_key($searchFields, $post)) { …

Member Avatar for rpv_sen
0
451
Member Avatar for rpv_sen

Hi I am trying to display count of a row using function with get values. Please help me to fix the issue **class** class Users { private $conn; private $db_name= "DATABASE"; public function __construct($db) { $this->conn = $db; } /*Join Two Tables with where condition and order by*/ public function …

Member Avatar for rpv_sen
0
597
Member Avatar for Amaina

Hi can you replace $sql to $query in line 39 while ($row = $sql->fetch()) into while ($row = $query->fetch())

Member Avatar for rpv_sen
0
915
Member Avatar for babir

Hi You have declare $count in line 63, where is the value of count. So try to use below line after 62. $count = count($checkbox);

Member Avatar for rpv_sen
0
329
Member Avatar for Jiby_1

if(isset($_POST['submit'])) { $chkbox = $_POST['boxes']; $txtbox = $_POST['boxes1']; foreach($txtbox as $a => $b) echo "$chkbox[$a] - $txtbox[$a] <br />"; //insert query insert into table name(field1,field2)values($chkbox[$a],$txtbox[$a]); }

Member Avatar for Jiby_1
0
222
Member Avatar for rpv_sen

I have created a function. if i provide correct username and password. i am getting a error message as **Sorry, that username / password is invalid !** can any one please help me to fix the issue. **login.php** <?php require 'include/init.php'; $general->logged_in_protect(); if(empty($_POST) === false) { $username = trim($_POST['username']); $password …

Member Avatar for rpv_sen
0
580
Member Avatar for rpv_sen

Hi I am trying to connection my database ODBC using function. I am getting an error **Connection error: could not find driver** **mycode is** <?php class Database{ // specify your own database credentials private $host = "servername"; private $db_name = "databsename.schemaname"; private $username = "username"; private $password = "password"; public …

Member Avatar for rpv_sen
0
3K
Member Avatar for AntonyRayan
Member Avatar for rpv_sen

Hi friends i am trying to display dynamic dropdown using php. but it is not fetching the second dropdown value. I collected the below code from internet. please help me to fix it. <?php $dbc = mysqli_connect("localhost","root","escape123","tsheet"); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " …

Member Avatar for rpv_sen
0
386
Member Avatar for rpv_sen

Hi I am trying to clone a row with dependent dropdown. first row is working fine. Once i click add row button, if i select the project option its not working on client select option. can anyone please help me to fix. Note: I used trying using id="client[]" and id="project[]" …

Member Avatar for diafol
0
992
Member Avatar for rpv_sen

HI I need a information for the below, If i send a mail to ticket@domainname from gmail or other mail providers, it has to generate the ticket number and update in the ticket system. Please guide me on this.

Member Avatar for rpv_sen
0
150
Member Avatar for rpv_sen

Hi Friends I am facing an issue in update query using PDO Prepare method. Please help me to fix the issue. $consql = "UPDATE $database.$constant_application SET SCYQ64EMAL=:SCYQ64EMAL, SCYQ64EV01=:SCYQ64EV01, SCYQ64EV02=:SCYQ64EV02, SCYQ64EV03=:SCYQ64EV03,SCYQ64EV04=:SCYQ64EV04, SCYQ64EV05=:SCYQ64EV05, SCYQ64EV06=:SCYQ64EV06, SCUSER=:SCUSER, SCJOBN=:SCJOBN, SCPID=:SCPID, SCYQ64AVGP=:SCYQ64AVGP, SCYQ64TZ=:SCYQ64TZ, SCUPMJ=:SCUPMJ, SCUPMT=:SCUPMT where SCYQ64CID=:SCYQ64CID"; $row = $dbh->prepare($consql); $row->bindParam(":SCYQ64EMAL",$SCYQ64EMAL); $row->bindParam(":SCYQ64EV01",$SCYQ64EV01); $row->bindParam(":SCYQ64EV02",$SCYQ64EV02); $row->bindParam(":SCYQ64EV03",$SCYQ64EV03); $row->bindParam(":SCYQ64EV04",$SCYQ64EV04); $row->bindParam(":SCYQ64EV05",$SCYQ64EV05); …

Member Avatar for diafol
0
299
Member Avatar for UK-1991

I think value of **id** is missing. in line 37 $ida = $record['id']; in line 54 <a href='coupon.php?id=$id&code=$coupen&page=$last'>

Member Avatar for pritaeas
0
106
Member Avatar for mattster
Member Avatar for rpv_sen

Hi friends i am facing some url redirection issue in my .htaccess. please help me to fix it. **my url is** domainname.com/article.php?url=test.html **my expected URL is** domainname.com/test.html **.htaccess** Options +FollowSymlinks RewriteEngine On RewriteRule ^([a-zA-Z0-9-/]+).html$ article.php?url=$1 RewriteRule ^([a-zA-Z0-9-/]+).html/$ article.php?url=$1 **Server** nginx

Member Avatar for ryantroop
0
477
Member Avatar for cy163

Hi I think the below query will help you SELECT SUM(COALESCE(test_salary.salary,0) + COALESCE(test_bonus.bonus,0)), test_salary.name FROM ( SELECT DISTINCT(name) FROM ( SELECT name FROM test_bonus UNION SELECT name FROM test_salary ) tmp ) names LEFT JOIN test_bonus ON test_bonus.name = names.name LEFT JOIN test_salary ON test_salary.name = names.name GROUP BY test_salary.name

Member Avatar for rpv_sen
0
11K
Member Avatar for rpv_sen

Hi I am trying to read the datas from mysql using php in json. but i am not getting my expected output. Please help me to fix the issue. **code** <?php include('../config.php'); //mysql_query("SET NAMES 'utf8'"); $tdate = date('d-m-Y'); $url = 'url'; $sql = "SELECT * FROM pimage where date<='$tdate' and …

Member Avatar for rpv_sen
0
3K
Member Avatar for rpv_sen

Hi I have written a json file using php. But i am unable to display the css style. can any please help me to fix the issue. **my json code** <?php require_once('config.php'); function jde_date_conv($jde_date) { $ct = substr($jde_date,0,1); $yr = substr($jde_date,1,2); $dy = substr($jde_date,3,3); if($ct == 0)$yr_pfx=19; if($ct == 1)$yr_pfx=20; …

Member Avatar for rpv_sen
0
524
Member Avatar for UK-1991

Hi can you check line 13 <p class="info_dynamic"><input type="text" class="field" name="coname" value="<?php echo $company; ?>" /></p> replace the name as company or replace $company = $_POST['coname'];

Member Avatar for UK-1991
0
746

The End.