39,326 Topics
| |
am writting my class work project assignment but am stuck can some one help me out, am tring to pick data from patients table and diagnosistreatment tables which are mysql tables but the code is not working [code]<?php //This code retrieves a particulat patients record from dianosis and treatment table … | |
I want to make the clone site of [url]http://fishershippingcompany.com/home.php[/url] . is it possible in wordpress or I have to self code this all??? Please suggest me | |
Hi I am developing a login screen for my website, with usercode and password fields, and a Login button. I need to know how I can make the Login button automatically submit when the user hits the Enter key in either field (as apposed to the user clicking the Login … | |
I just create a php page where user will enter their name in then the page will send them an email with a few word in the body message. Here is the code: [code] $fromEmail = "admin@domain.com"; $subject = "Welcome"; $body = "Hi,\n\nYou have visited the page."; if (mail($Email, $subject, … | |
I have a smtp server (no need auth) in the intranet so can i still can use the mail() function?? | |
I have no idea why, but the form mailer I'm using is not working correctly. Granted, I'm still a newb, but everything in the code looks fine to me. I'm using a modified version of the free form mailer available at [url]www.TheDemoSite.co.uk[/url] The exact problem is this: I fill out … | |
hi, my clients have asked to do payment gateway using RBS worldpay.please do tell me how start the integration using php. thanks in advance. | |
Hi all, I need some help creating a cart system. I’m currently using roman cart & MySQL which means I have to maintain two separate databases. The MySQL database holds the Product information and a Link to RomanCart. When the user clicks the “Add to Cart” info is added to … | |
hi, How can I search from multiple tables in a db?DB I am using is MySql db. Thank You, Suhasini | |
Hello guys, I m trying to run a simple php code. I have Apache Tomcat/6.0.18 running. I dont know if it is php enabld or not. i've created a hello.php file: [ICODE] <html> <body> <p>This is going to be ignored.</p> <?php echo 'While this is going to be parsed.'; ?> … | |
can anyone tell me difference between scripting type language and any other language? thanks in advance | |
anyone can give me code for a php hit counter for my website...that will count every user's click...plzz give with database & code... | |
ok so i am trying to fill a 2d array with random numbers and find the max size in each row. i don't know what is wrong with my code. here is the code [code=php] <html> <body> <title>Assign 2</title> </head> </body> <hr/><p/> <?php $arr=array(); $max_row=array(); function find_max_row() { global $max_row; … | |
Hey all, I've found a lot of good help here on Daniweb, but this is my first post :) Here's my situation: I have a form that has 2 select boxes with multiple options. For the First dropdown, I have assigned IDs to each option (1,2,3,etc) For the Second dropdown, … | |
alright i am working on jQuery - UI Sortable Portlets and im trying to pass serialize on to the php so i can update my database with each displays column, and position so it will save for my users i have what I've done so far below if anyone know … | |
Hei again.. new problem. I would like to add "updating" stuff for this picture moderating. Like if there show.php?id=(numberofpic) then it opens show.php page, where is possible to moderate(over moderate)... I try, but I dont figure it out. As like I want to add this field, who have moderated this … | |
Hey guys, I have a new server :P I am currently configuring it and I ahve come across an issue. The issue being that PHP 5 does not support MySql from standard. I have managed to resolve an issue with the installation of PHP on IIS BUT I am strugling … | |
I have this feed of classifieds that I need to convert to an .xml doc. I explode each string into an array (separated by a "|"). Everything work just fine except the string cuts off if there are any line breaks in the 5th section and everything after the break … | |
i am getting the list of values from databas table, some values are null, i want to show the values, which are not null. example is as follow, [ICODE] //sql query while ($row =mysql_query($result)) { $carBrand =$row['brandName']; $carMod = $row['model']; $carModYear =$row['modYear']; $regCity =$row['regCity']; $demand =$row['demand']; //some of them are … | |
i am working on a script that uses a counter in order to display some things from a data base now when i submitt from one of the two form buttons it always returns the last variables that would have been in the index and i am trying to get … | |
Does PHP Frameworks like CodeIgniter, helps a lot in buidling a websites?How? and the second question is Do I need to really a have depth understanding of OOP in PHP, so I can easily program in some php frameworks? and last is can a jQuery/AJAX work with the CodeIgniter?How? | |
hi guyz im using phpmailer to send mails but into the message variable i cannot add an activation link? the link is send but is not hyperlinnked in any mails(hotmail,gmail etc) here is my code: [CODE]$mail = new PHPMailer(); //$body = $mail->getFile('contents.html'); //$body = eregi_replace("[\]",'',$body); $body = "Welcome $surname, $name … | |
Hello there, Is there any good online web based code (text) editor with syntax highlighting for different languages (C,C++,PHP, etc) and auto-completion .Or, with at least one of that options (better if both, especially auto-completion)? Seems that the results from gooogle aren't helping me so much. Thanks | |
Hi, I know this is really easy to do because I did it before I just can't seem to find how... I'm using Joomla and I would like to pass a variable from an address line like [url]http://develop.acieap.com/index.php?option=com_content&view=article&id=60&Itemid=51[/url] I would want to get id and Itemid and just pass it … | |
Hi I'm new to php. I've been able to connect a flash project to a mysql database via amfphp. What i'd like to know is how can I filter out only one row from a table. This is the script I'm using: [code=php]<?php class CallWP { public function __construct() { … | |
Hello All, PHP newbie here ... I have the following code working to retrive the last 50 records from a reservation database: [CODE=php] <?php /* Databasae Variables */ $username="user"; $password="pass"; $database="db"; /* Database Connection */ mysql_connect("1.1.1.1",$username,$password); mysql_select_db($database) or die ('Unable to select database'); /* Select last 50 records */ $query … | |
[B]is it possible to have Postback method on page Refresh.?? (Hold the values of a form on page refresh..!!) I have Two Columns for Example: Items | Price item1 | textbox(in which we fill price) item2 | textbox(in which we fill price) item3 | textbox(in which we fill price) Add … | |
this code isnt workin: [CODE]$newer = mysql_query("DELETE FROM messages WHERE id = '$rawr', user = '$rew', read = '$roll'"); [/CODE] this code works: [CODE]$newer = mysql_query("DELETE FROM messages WHERE id = '$rawr' AND user = '$rew'");[/CODE] the variable is the same that is included in the first, so its not … | |
Hi; I have been studying PHP and I'm coding it. I ran into an odd problem but I'm sure it is a newbie error. Whenever I run my php script on xampp I get parsing error line 103. I go to my code and the closing html tag is at … | |
I have created a Flash CS4 survey form that uses a borrowed PHP3 form. I borrowed it since I have no PHP programming knowledge. The problem is that I am either missing something or doing something wrong with the PHP script. The Flash file works fine. I will be happy … |
The End.