39,321 Topics

Member Avatar for
Member Avatar for DaveyMoyes

Hi Everyone, I have the following piece of code & I am trying to use to create an array of "Playing Cards" from a mysql db. I am just not sure how to one single complete array ! Thanks for looking and replying with your suggestions

Member Avatar for DaveyMoyes
0
117
Member Avatar for fheppell

How would I write a php script that gets article x from an rss feed? Thanks in advance

Member Avatar for pritaeas
0
147
Member Avatar for mbarandao

Hello! I was wondering if someone can take a look at the following if and else statement and point out what I have written incorrectly. In its current form, I cannot get it to work. So, essentially, I'm trying to construct an if conditional statement within another if statement. $var_test …

Member Avatar for mbarandao
0
190
Member Avatar for davidjennings

Hi I seem to be lost with this form validation When submited empty the error should display next the input field in red. Thanks in advance D <?php if (array_key_exists('submit',$_POST)){ //Form has been submitted // Fields that are on form $expected = array('name', 'email', 'comments'); // Set required fields $required …

Member Avatar for Webville312
0
413
Member Avatar for abhi10kumar

Is there any method to detect location (viz. state) of the entered Mobile Number ?

Member Avatar for pritaeas
0
77
Member Avatar for kimjoshi

The basic need of any website is content management,There are many CMS system, so help me in choosing one which is best suited for a web site for osCommerce Services.

Member Avatar for KavithaK
0
232
Member Avatar for jLamp

Hello friends, I'm here with a another Question. I wants to redirect all users who are using mobile browsers to m.mydomain.com How can I do that?

Member Avatar for jLamp
0
116
Member Avatar for mogaka

$query = "SELECT encounter,amount1,amount2,posted1,posted2 FROM payments WHERE pid='$patient_id'"; $res = mysql_query($query); $max =25; $num_rows=mysql_num_rows($res); $x_count=0; while($row=sqlFetchArray($res)){ $encounter_id=$row['encounter']; //$method=$row['method']; $amount1=floatval($row['amount1']); $amount2=floatval($row['amount2']); $posted1=floatval($row['posted1']); $posted2=floatval($row['posted2']); $total_amount_paid=floatval($amount1+$amount2+$posted1+$posted2); for($x_count=0;$x_count<$num_rows;$x_count++){ //$encounter_id[$x_count]=$encounter_id; $query = "SELECT date,SUM(fee) AS totalcharges FROM billing WHERE pid='$patient_id' AND encounter=$encounter_id"; $res = mysql_query($query); while($row=sqlFetchArray($res)){ $date_fee=$row['date']; $total_charges=floatval($row['totalcharges']); $balance=floatval($total_charges-$total_amount_paid); $pdf->SetFillColor(254,254,254); $pdf->Ln(); $pdf->SetX(10); $pdf->Cell(50,4,$date_fee,1,0,'L',1); $pdf->Cell(40,4,$encounter_id,1,0,'L',1); $pdf->Cell(40,4,$total_charges,1,0,'L',1); …

Member Avatar for mogaka
0
139
Member Avatar for pritaeas

## Introduction ## In this introduction I will try to explain basic object orientation (focused on PHP). It is by no means meant to be a complete guide. There are a lot of concepts I am avoiding for simplicity’s sake. I will try to give a theoretical explanation first, and …

Member Avatar for pixelsoul
12
1K
Member Avatar for arjani10

Hello!Can somebody help me please with worpres to manage every admin have separate eatch useres . like in image ? [image link](http://img528.imageshack.us/img528/9712/usergroupsw.png)

Member Avatar for LastMitch
0
139
Member Avatar for Squidge

Evening all I am working my way through Zend Framework 1.x, and seem to have an issue. I am trying to set the `doctype()` to HTML5: class Bootstrap extends Zend_Application_Bootstrap_Bootstrap { protected function __initDoctype() { $this->bootstrap('view'); $view = $this->getResources('view'); $view->doctype('HTML5'); } } I have check the documentation and using `doctype('HTML5')` …

Member Avatar for LastMitch
0
487
Member Avatar for phpDave

Hi, I’m trying to insert multiple text fields into MySQL database. Each text field has a unique index key under a single user id. The number of indexes will depend on the user. Is this possible? I never had to do this before and I was wondering if anyone could …

Member Avatar for phpDave
0
131
Member Avatar for My_Specs_1

I am trying to create a code that will generate a webpage. Here is what I have so far. I am looking to just take data that is queried from our server and display it on a page. Their is a form that is populating the ID on the query …

Member Avatar for pixelsoul
0
178
Member Avatar for cssweb

hello how are you, i have searched on every thing has a related with my issue here but it does not solve my problem. my problem with Facebook like button it does not pick the right image that i have assigned to my topic ,it picks random images but when …

Member Avatar for pixelsoul
0
198
Member Avatar for guilherme.carvalho.9250

Hello to everyone, I´m having problems on retrieving data from mysql to a textfield in html, the data appears with queston marks inside of a "black diamond"! I researched and followed the steps like putting the database charset utf8, the table too! When I insert for example Alimentação its goes …

Member Avatar for guilherme.carvalho.9250
0
3K
Member Avatar for rp91

Hi, my problem is as follows. My aim is when a user clicks 'comment' for a post, a `<div>` appears with the form, which I can get working just fine. However as moving on with my development, now when a user clicks 'comment', parameters are passed to change the url …

Member Avatar for pixelsoul
0
239
Member Avatar for GlenRogers

Hi, Can you set auto increment in phpmyadmin to be 2? So that it goes 1, 3, 5, 7etc? Thanks...............

Member Avatar for GlenRogers
0
218
Member Avatar for asifalizaman

what is the difference b/t PHP and ASP.net php is the server side scripting language and ASP.net is i think same as php but specific to Microsoft .am i right kindly explain differenc

Member Avatar for jkon
2
248
Member Avatar for Atlanta15Braves

I have seen a few different ways to solve this problem, but no solution has worked for me. I am logging into a database and incrementing a hit counter when someone goes to the page. I have two files, hitcounter.php and count visits.php Count visits is used by the visitor …

Member Avatar for Atlanta15Braves
0
578
Member Avatar for nstrazimiri

hello. I need to dedupe e text. meaning if i have an array with stored strings, it will check and compare each row of array with each other to test if text[i]==text[i+1]. to dot this i thougt to catch the text from an input, ex:text are and consider it as …

Member Avatar for nstrazimiri
0
196
Member Avatar for tokick4

Ok I am working something that I have seen others do and that is to echo out a form table and what I am trying to do is to get the data that is not assigned to a user and allow the admin to assign it to the user. I …

Member Avatar for LastMitch
0
175
Member Avatar for kindo

# Guys help with this... are all this paths to the file. # I found this on google This is the link [Click Here](http://www.google.com/xjs/_/js/s/sy9,gf,lr,sy57,cwsc,wta,sy119,ntf,sy44,sy45,sy46,sy48,sy52,sy47,sy53,sy49,sy55,sy54,sy50,sy56,sy51,adct/rt=j/ver=V7Ny-OUsbvw.en_US./am=CA/d=0/sv=1/rs=AItRSTNTQEkMjnw5NEaDowS7vIR7ajYYrw) The Structure **https://www.google.com/xjs/_/js/s/sy9,gf,lr,sy57,cwsc,wta,sy119,ntf,sy44,sy45,sy46,sy48,sy52,sy47,sy53,sy49,sy55,sy54,sy50,sy56,sy51,adct/rt=j/ver=V7Ny-OUsbvw.en_US./am=CA/d=0/sv=1/rs=AItRSTNTQEkMjnw5NEaDowS7vIR7ajYYrw** This is the main file: **"rv=PretRSTNTQEkMjnw545454545Yrw"**. no extensions just plain but I want to ask if all this: **/xjs/_/...** are paths to that …

Member Avatar for TonyG_cyprus
0
161
Member Avatar for tibormarias

Dear Readers, I am creating dynamic URL-s, for example: **example.com/example.php?this=Something**. Inside this page, I use pagination, but after that my URL will look like this: **example.com/example.php?this=Something?page=2** It does not work. Can you give me some tips or advices or examples on how to make it work? Thank you, Tibor

Member Avatar for diafol
0
182
Member Avatar for hallianonline

hi there, I have a little question that i am facing a little problem in my theme breadcrumbs and dont know how to resolve this issue actually the breadcrumbs is not seprating the main and primary category it should be work like Home > Main Category > Parent Category > …

Member Avatar for pixelsoul
0
194
Member Avatar for aisha.edris1

hi every one i need ur help i want insert time when some one choose a movie and then select time and then booking the movie.... so how can i insert time to choose the movie time will be see it? thanx alot for helping

Member Avatar for Octet
0
105
Member Avatar for davecoventry

I am adminitering a (Joomla) site set up by someone else. The site uses a proprietry system (paid for) whereby advertisers on a classifieds page can be emailed with queries about the product being advertised. I need to keep track of these emails for the purposes of following up, but …

Member Avatar for pixelsoul
0
95
Member Avatar for andymcr

Hi everyone I'm new here and posting because I have a problem with a PHP script I'm trying to write. I'm testing it as it goes along, but having a problem. I want to select certain people from my database, and send each of them an e-mail. To test, I …

Member Avatar for pixelsoul
0
404
Member Avatar for Ctechnology24

[CODE] $query1 = "SELECT tblpatient_pass.RelationMR_no, tblpatient_pass.username, tblpatient_pass.password, tblpatient_pass.email_address, tblpatient_info.lastname, tblpatient_info.firstname, tblpatient_info.mname FROM tblpatient_pass INNER JOIN tblpatient_info ON tblpatient_pass.RelationMR_no=tblpatient_info.MR_no "; $numrows = mysql_num_rows($query1); if ($numrows!=0) { while ($row = mysql_fetch_array($query1)) { $username = $_SESSION['username']; $query = mysql_query("SELECT * FROM tblpatient_pass WHERE username =".$username); $result = mysql_query($query) or die(mysql_error()); while ($patient = …

Member Avatar for suresh.godavarthi.77
0
3K
Member Avatar for vijayram

Hi everybody, What is the problem in this code.the layout record print not seperately.display cascade style. anybody help me. <?php foreach ($planbooks as $planbook): ?> <div id="planbook-content" class="float" onclick="window.location.href='<?php echo url_for("@planbook_planmate") ?>' "> <?php for($i=0;$i<=planbook; $i++): ?> <?php $planbook =$i?> <?php $count++ ?> <div planbook="<?php echo $i ?>" class="float"?><?php echo …

Member Avatar for radow
0
216
Member Avatar for dukel_boy

Good day! I was looking for a reference on how to set up a payflow pro or a paypal pro in my website. I have read lot of guide in setting already but I cannot find the right SDK for Paypal Pro. I also check the SDK downloads of Paypal …

Member Avatar for LastMitch
0
145

The End.