39,402 Topics
![]() | |
$res=mysql_query("SELECT code_type,code,date,provider_id FROM billing WHERE encounter='$encounter' AND pid='$pid'"); while($row=mysql_fetch_array($res)){ $code_type=$row['code_type']; $code=$row['code']; $date=$row['date']; $provider=$row['provider_id']; $standard_code=$code_type.":".$code; $res1=mysql_query("SELECT procedure_type_id FROM procedure_type WHERE standard_code='$standard_code'"); while($row1=mysql_fetch_array($res1)){ $procedure_type_id=$row1['procedure_type_id']; mysql_query("INSERT INTO procedure_order(procedure_type_id,date_ordered,provider_id,date_collected,order_priority,order_status ,patient_instructions,patient_id,encounter_id) VALUES('$procedure_type_id','$date','$provider','$date','high','pending','$complaints','$pid','$encounter_id')") or die(mysql_error()); } } The above query saves(inserts) more than once in the database. what can be the cause especially in the while … | |
I am using a While loop to dispay data stored in a mysql database I would like all the data to be displayed on a single line instead of being displying below the prevoius. while($row = mysql_fetch_assoc($popular)){ echo"<figure> <div align=\"center\"> <a href=\"\"><img src=\"images/" . $row['product_img'] . ".png\" alt=\"" . $row['alt_desc'] … | |
Hi, I'm using Joomla at the moment trying to create a component that will display an accordion with 10 catalogue items from a database. The problem I'm having is I'm not quite sure how to create the accordion and connect it with the database so that each row will be … ![]() | |
class_session.php is a session management and password protection class. It can be used to perform 2 major functions: 1. Create and maintain session state between page hits. The class does this using simple session cache files into which the session is stored as a serialized array. This is similar to … ![]() | |
Hi, I need help. Me wrote query in my wordpress theme to fetch latest products. Everything is working perfect. But don't know why pagination not working. I did select 9 post in backend. it's appear 9 on my home page. But i want to show all products on homepage with … ![]() | |
So i have created this code that is grabing info from a server, the string that it is giving me has these specail charecters that i need to get rid of, then I need to exploade it by another. Here is my code: function fetch_server_info($ip, $port){ $socket = @fsockopen($ip, $port, … | |
I have been searching for the past several hours to find a way to rotate through 4-5 different graphics in the header of a web page that I am creating, but have had very little useful help. There seems to be countless jquery slider scripts out there, but even after … | |
hii, i have some dynamic urls which are indexed by google , but all my urls are static as generated by htaccess, dont know how those urls got indexed, so whenever some one visits through google , he cant get page 2 on same url,as that generates 404 error eg … ![]() | |
I'm dealing with a SOAP client response for a flight booking application, I successfully got the response, See the response below: <arzoo__response> <Response__Depart> <OriginDestinationOptions> <OriginDestinationOption> <FareDetails> <ChargeableFares> <ActualBaseFare>4850</ActualBaseFare> <Tax>4267</Tax> <STax>31</STax> <SCharge>0</SCharge> <TDiscount>0</TDiscount> <TPartnerCommission>0</TPartnerCommission> </ChargeableFares> <NonchargeableFares> <TCharge>0</TCharge> <TMarkup>0</TMarkup> <TSdiscount>0</TSdiscount> </NonchargeableFares> </FareDetails> <FlightSegments> <FlightSegment> <AirEquipType>321</AirEquipType> <ArrivalAirportCode>DEL</ArrivalAirportCode> <ArrivalDateTime>2013-05-20T08:00:00</ArrivalDateTime> <DepartureAirportCode>BOM</DepartureAirportCode> <DepartureDateTime>2013-05-20T06:00:00</DepartureDateTime> <FlightNumber>601</FlightNumber> <OperatingAirlineCode>AI</OperatingAirlineCode> <OperatingAirlineFlightNumber>601</OperatingAirlineFlightNumber> … ![]() | |
Hi friends can anyone suggest me best loging code with php which is high secure. please share your feedback. Thanks. ![]() | |
wpml plugin not working for some labels on front end please help http://174.120.60.2/~prime/?property=apartment&lang=ar see this link on this bedroom bathroom and property type not translated please helpo me guys i am using wpml plugin ![]() | |
Good day all: I'm trying to create a graph using data from mysql on the jpgraph platform. I've been experiencing difficulties with an error 15009 and cannot seem to address the error --lots of reading on the net concerning this error has yield nothing. I'm hoping that someone here is … | |
I'm curremtly working on a project "Flight search" with SOAP and PHP. I'm new to this SOAP Technology. I've to send the XML over POST Request and get the response: <Request> <Origin>BOM</Origin> <Destination>DEL</Destination> <DepartDate>2013-05-20</DepartDate> <ReturnDate>2013-05-21</ReturnDate> <AdultPax>1</AdultPax> <ChildPax>0</ChildPax> <InfantPax>0</InfantPax> <Currency>INR</Currency> <Clientid>*********</Clientid> <Clientpassword>**************************</Clientpassword> <Clienttype>ArzooFWS1.1</Clienttype> <Preferredclass>E</Preferredclass> <mode>ONE</mode> <PreferredAirline>AI</PreferredAirline> </Request> to the URL: > … | |
Hi..! I am having a list of members in my database, which i want to display in my website. I am using php GET method, and the sample url is http://www.mywebsite.com/display.php?id=564 Can anyone please help me in getting url like http://www.mywebsite.com/munna_bharadwaj_564 I may not describe my question properly, but, hope … | |
Hello, I want a resume parser in PHP, which parse the resume and take candidates name, skill set, city, education, etc. If anyone have it and want to share then please do. (because due to some time schedule, I donthave time to write.) or please do let me know links … | |
Hi, I've accidentally uploaded an image to a website we use in work and now everytime we go on to the site the image is there. I can see it when I use the 'inspect source' function in google brouser but how can I permanently delete it without having to … | |
Hello: I need some assistance with the following script configuration. The goal is to run a cronjob with my initial script which would run a mysql query and pull some account ids, it then would create an array of those values and through a for() loop execute a second script … ![]() | |
I keep getting the following error and cant seem to figure out where I'm going wrong with the code and have tried changing it but just seem to make is worse wonder could someone please help me, the code i am using is as follows: [CODE] this is the code … ![]() | |
hello, I bought a script from one guy online and tried uploading it. The instruction in the script say i upload using a binary mode. I did exactly as i was told using CUTEFTP (BINARY MODE) The problem is that the site says i Delete install.php file for security reason … | |
Hi, I'm using a plugin in Wordpress to display events on my page, but instead of making it simple, they are requiring me to use php to display the title of the pages as I want to. The rest of my pages display with a little icon and then the … | |
<?php $dbHost = "localhost"; $dbUser = "root"; $dbPass = ""; $dbName = "test"; $conn = mysql_connect($dbHost, $dbUser, $dbPass); if(!$conn){ die(mysql_error()); } mysql_select_db($dbName, $conn) or die(mysql_error()); if(isset($_POST['submit'])){ $field = $_POST['field']; } if(isset($_POST['submit2'])){ $field2 = $_POST['field2']; } if(isset($_POST['submit3'])){ $field3 = $_POST['field3']; } ?> <?php if(!isset($_POST['submit']) || isset($_POST['submit']) != "true"){ ?> <form id="create" … | |
Hi, I'm wondering how i can upload images into a database and display an uploaded image at the same time. For example when the upload button is clicked, the image is inserted into the database and displayed in the frame. (It doesn't matter whether the page reloads or not). I … ![]() | |
i need to join those two peice of code the first peice of code takes a csv file from a textarea formats it and put it into a mutidimentional array <?php if(isset($_POST['TextArea1'])){ $str = $_POST['TextArea1']; $patterns = array("/\t+/", "/ +/"); //set up an array of items to replace $str = … | |
hi coders.. i need live availability code i am using codeigniter. i am inserting values(username,password,email,phone number) by using array . if the email is already in databse i need to show error message.. with out reloading the page.... thanks in advance. | |
hye guys, i have a html code as below: <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script src="graph/enhance.js" type="text/javascript"></script> <script src="graph/excanvas.js" type="text/javascript"></script> <script src="graph/jquery.min.js" type="text/javascript"></script> <script src="graph/visualize.jQuery.js" type="text/javascript"></script> <link href="graph/basic.css" rel="stylesheet" type="text/css" /> <link href="graph/visualize.css" rel="stylesheet" type="text/css" /> <link href="graph/visualize-light.css" rel="stylesheet" type="text/css" /> <style type="text/css"> .dwpeAd { … | |
Please tell me which webhosting is good for the sites having php scripts? | |
Hi there I've uploaded a file to the server online and I can even see the file i uploaded but the problem is that I get "page no found" error when i try to open that file on my url, when I try to edit the file(online on the server) … | |
I am unable to maintain a GET variable with this pagination script. Was hoping you all could help. I am using a GET function so the user can choose which categories are displayed. I'm using a pagination script I found online and I am now confronted with this issue, when … | |
Hey Everyone, I previously had an issue with a date display format. I have a different question that deals with displaying singular or plural words using a version of an if statement that displays an "s" or displays nothing based on how many comments there are in a specific blog … | |
Hey guys, I am trying to dynamically parametize my url, but it gets lost and I have no idea why. Perhaps some insight from you guys will help. Here's the code: while($row = mysql_fetch_assoc($getID)) { echo "<tr>"; echo "<td><a href='View.php?id='" . $row['ID'] . "'>" . $row['ID'] . "</a>" . "<br … | |
How to convert oracle forms to php, is there an easier way to do that. ![]() | |
this is my controller i am very new to codeigniter. -------------------------------------------------------- public function joinus() { if($this->input->post('submit')) { $this->load->library('email'); $to=$this->admin_model->get_goinmail(); $from=''; $subject=''; $message=''; $config['mailtype'] = 'html'; $config['protocol'] = 'sendmail'; $this->email->initialize($config); $this->email->set_newline("\r\n"); $this->email->from($from); $this->email->to(@$to); $this->email->subject(@$subject); $this->email->message(@$message); if($this->email->send()) { $data['mail_status']="sucess"; }else{ $data['mail_status']="Un sucess"; } } $data['get_goinmail']=$this->admin_model->get_goinmail(); $data['content'] = $this->load->view($this->view_dir .'joinus',$data,TRUE); $this->load->view('template',$data); } i … | |
Hi, I have a wordpress blog already. I want to become a more advanced user so I install wordpress. However, what setting should I change in the file? Mainly wp-config-sample.php? Any other things I could do? Thanks. | |
Hello, is there a way to easily fix this: wamp server from time to time starts loading page very slow, once a day sometimes. So I then restart all services and it runs ok again. IS this a lot of work to find where that slowliness comes from or not? … | |
hi, im implementing a search on my site using a form on index.php that redirects to /includes/search.php currently it displays the results at domain.com/includes/search.php is there a way to do this more professional? im familiar to mod_rewrite but have already rewrits for my dynamic content and dont want to break … | |
there few number of questoins that need to be answered one does drupal data base has to co be collation? after i have executed the the database query in drupal instal i get error but i refresh and the tables are made in database(collation) on local host machine.Does this causes … | |
I'm not well conversant with java or AJAX, but how can i read each line of a string display each line of question and answers at a time, after a user have answered the question id displays the next question upto the last one. Im using fget () n php … ![]() | |
Hi I am not familiar with ajax. pls help me how i can do in script Below my script and using pdo and mssql 2005. Below script working fine. But everytime change the details, page refresh and display is delayed Pls help me --------------------------------------------------------------------------- index.php ---------------------------------------------------------------------------------------------- <?php include_once '../inc/connection.inc.php'; ?> … | |
**I really don't know what to do, and I really need the page. Please help me, thank you so much!** **The Error Code I get:** http://pastebin.com/wry2UuTA **The page code:** http://pastebin.com/xf9Ww5YS** | |
Hello, i have this table events: id_evento, evento_texto, evento_banner, evento_image, evento_cartaz, evento_idioma Now i can upload the image to evento_banner and evento_image, because they're the same only changes the size (the code is "inside" the <form>): <?php if(isset($_POST['Submit'])){ //Declara um Array para armazenar a mensagem de erro $error = array(); … | |
Any thoughts will be most welcome. In PhpMyAdmin and Dreamweaver cs6. I would like the user of my site to be able to select a category from a list that is populated by PhpMyAdmin and then, his or her selection to reveal all of the items on the database in … | |
Hi I am doing this HTML.net tutorial on php.I keep getting this error and I cannot figure out how to fix it.I am running php version 5.4 maybe this is the problem, I appreciate tour help: Parse error: syntax error, unexpected 'TABLE' (T_STRING) in C:\inetpub\wwwroot\phpconnect.php on line 6 This is … | |
Hello all! i have here a code that will display record from my DB. I would like to ask for help on how will i export the displayed record to excel? here is my code: <html> <head> <title>Export to Excel</title> </head> <body> <form action="saverec.php" method="post"> <?php define ('DB_NAME', 'try1'); define … | |
Hello, I tried to create a SOAP request but could not succeed. SOAP WADL url is **http://www.mobipost.com.au/httpapi/Messaging.asmx?WSDL** AND request should be like: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <AuthenticationHeader xmlns="http://messaging.mobipostapi.thirdscreen.com.au/"> <UserName>SAMPLE_USER</UserName> <Password>SAMPLE_PASS</Password> </AuthenticationHeader> </soap:Header> <soap:Body> <SendSMSToContacts xmlns="http://messaging.mobipostapi.thirdscreen.com.au/"> <oSMS> <MessageText>THIS IS MESSAGE</MessageText> </oSMS> <ContactIDs> <int>123456789</int> <int>987654321</int> </ContactIDs> </SendSMSToContacts> </soap:Body> … | |
I have dropdown down boxes with multiselect; I'm using jguery to display Dropdown with multiselect; I'm populating Select Locality with Select City dropdown. Now, when I select a city from dropdown It should display its locality in dropdown with multiselect but showing localities in dropdown only. Code is attached in … | |
I have atext file but I want to pick a phone number from that file. How can I? is there any regex for this? How to write regex which gives output as 10 continuous digits (which will be phone number!)? Other things like what if +91 is addedd and all … | |
Hi, Been working on this PHP snippet and it was fine until I changed one line. I am doing this inside Wordpress so I can't echo the problems out. "Server error" Hopefull you guys can see where my snippet has gone wrong :)) <?php //Create connection //new mysqli("localhost", "user", "password", … | |
Hi guys. Okay, well I've been at this for a while and I cannot seem to figure it out. Basically, I have a simpleXML PHP file that I'm trying to"parse" (I guess it's called). *All I want to do is get some info from an API XML site and display … ![]() | |
|
The End.