39,326 Topics

Member Avatar for
Member Avatar for mbabaali

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 …

Member Avatar for djjjozsi
0
94
Member Avatar for mr.khurrams

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

Member Avatar for mr.khurrams
0
312
Member Avatar for nigelburrell

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 …

Member Avatar for diafol
0
2K
Member Avatar for enzogoy

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, …

Member Avatar for gingank
0
151
Member Avatar for gingank
Member Avatar for gingank
0
103
Member Avatar for devin.lawks

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 …

Member Avatar for peter_budo
0
229
Member Avatar for kings

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.

Member Avatar for nikesh.yadav
0
125
Member Avatar for duttydea

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 …

Member Avatar for chris055
0
195
Member Avatar for Suhacini

hi, How can I search from multiple tables in a db?DB I am using is MySql db. Thank You, Suhasini

Member Avatar for digital-ether
0
339
Member Avatar for abhi_elementx

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.'; ?> …

Member Avatar for KevinADC
0
84
Member Avatar for navi17

can anyone tell me difference between scripting type language and any other language? thanks in advance

Member Avatar for digital-ether
0
119
Member Avatar for tanmoy_india

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...

Member Avatar for digital-ether
0
165
Member Avatar for ROTC89

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; …

Member Avatar for ROTC89
0
147
Member Avatar for nphoops

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, …

Member Avatar for djjjozsi
0
244
Member Avatar for jcanaway

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 …

Member Avatar for jcanaway
0
471
Member Avatar for Lhizzard

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 …

Member Avatar for diafol
0
147
Member Avatar for Josh Connerty

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 …

Member Avatar for Josh Connerty
0
138
Member Avatar for liferentsus

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 …

Member Avatar for liferentsus
0
169
Member Avatar for servis

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 …

Member Avatar for djjjozsi
0
82
Member Avatar for HITMANOF44th

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 …

Member Avatar for HITMANOF44th
0
98
Member Avatar for ace_dman

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?

Member Avatar for SteveREP
0
69
Member Avatar for dmotah

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 …

0
84
Member Avatar for spiriad

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

Member Avatar for digital-ether
0
132
Member Avatar for dpatz

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 …

Member Avatar for digital-ether
0
162
Member Avatar for fightingwolf

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() { …

0
54
Member Avatar for waelaltaqi

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 …

Member Avatar for nikesh.yadav
0
106
Member Avatar for nish123

[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 …

Member Avatar for OmniX
0
315
Member Avatar for SKANK!!!!!

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 …

Member Avatar for SKANK!!!!!
0
135
Member Avatar for tiger86

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 …

Member Avatar for diafol
0
156
Member Avatar for beertje

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 …

Member Avatar for beertje
0
99

The End.