- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 27
- Posts with Upvotes
- 27
- Upvoting Members
- 18
- Downvotes Received
- 4
- Posts with Downvotes
- 4
- Downvoting Members
- 4
Re: Thank you for sharing such usefull information | |
Re: Hi The Code is working fine in my system, i have not changed your code, Please check your DB connecting | |
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 … | |
Hi I am trying to create a login page from my existing Wordpress Database with custom php file. can any one please help me. | |
Re: can you able to access the database without any issue using your php code | |
Re: 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] | |
Re: 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] | |
Re: 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 … | |
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 … | |
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 | |
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 … | |
Re: 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"; | |
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 … | |
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 … | |
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 | |
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") | |
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= … | |
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> … | |
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"; … | |
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" … | |
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; … | |
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'; ?> /> … | |
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 … | |
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 … | |
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'; … | |
Re: I think the below example will help. $text = "How I can display \"content\" in the <b>textarea</b>? "; echo $output = html_entity_decode($text); | |
Re: **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."% " | |
Hi i am trying to execute .java file through php. please any one help. | |
Re: 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 | |
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. |