39,320 Topics

Member Avatar for
Member Avatar for fizanos

[CODE]<table width="95%" border="1" align="center" CELLPADDING="2" CELLSPACING="0" bordercolor="<?PHP print "$BorderColour"; ?>"> <tr valign="middle" class="tableheadsx"> <td width="91" height="29" align="left" class="welcomexx"><strong>Date</strong></td> <td width="136" height="29" align="left" class="welcomexx"><strong>Distributor's ID </strong></td> <td width="136" height="29" align="left" class="welcomexx"><strong>Customer's Name </strong></td> <td width="140" height="29" align="left" class="welcomexx"><strong>Total Paid(Naira) </strong></td> <td width="157" height="29" align="left" class="welcomexx"><strong>Total Paid(Dollar)</strong></td> </tr> <?php $rowShine = 1;?> …

Member Avatar for fizanos
0
608
Member Avatar for ajwei810192

This is an example I have grabbed from W3School, and for the purpose of my question, I have modified it and put in the code here: [CODE] <?php // Make a MySQL Connection mysql_connect("localhost", "admin", "1admin") or die(mysql_error()); mysql_select_db("test") or die(mysql_error()); // Get all the data from the "example" table …

Member Avatar for rajarajan2017
0
124
Member Avatar for blessan

I need help in creating a nested array using a loop. The array should look like this, [CODE] Array ( [0] => Array ( [id] => 1 [text] => root [leaf] => [children] => Array ( [0] => Array ( [id] => 2 [text] => root1 [leaf] => [children] => …

Member Avatar for blessan
0
158
Member Avatar for janu121
Member Avatar for saikamal
0
92
Member Avatar for Loren7000

Can someone tell me why the print is not showing up on the page and the email is not be sent to the receipient with the information. HELP [code] <?php if (!isset($_POST['submit'])) { // if page is not submitted to itself echo the form ?> <h5>Vairalbe Information to be Embossed</h5> …

Member Avatar for fizanos
0
158
Member Avatar for ayesha789

Hi I am working on Project. I want value from MySQL DB in Second input field on input of code in first input field. Is it possible?

Member Avatar for ayesha789
0
294
Member Avatar for whitestream6

This is my pagination script: [CODE] <?php /*********************************** * PhpMyCoder Paginator * * Created By PhpMyCoder * * 2010 PhpMyCoder * * ------------------------------- * * You may use this code as long * * as this notice stays intact and * * the proper credit is given to * * …

Member Avatar for Monster Killer
0
74
Member Avatar for genieuk

Hi, I just started a free trial with a new webhost as my current one is useless. I have always had my website working on the old webhost fine. I have a folder called sessions outside the public_html folder so it cannot be accessed in a browser and not accessed …

Member Avatar for genieuk
0
271
Member Avatar for denvious

Hey all! I've been working on a website but have been having a bit of trouble with dynamic linking using php. I've tried (and failed) with different methods to get it working but i need the help of some very talented coders :) I currently have a webpage which extracts …

Member Avatar for mhahnel
0
171
Member Avatar for neethu balan
Member Avatar for mhahnel
-1
75
Member Avatar for umandajayo

What is the method of passing user inputs to database in Joomal or where the places handling the user inputs to send to the database. eg: localhost\Joomla\components\com_user\views\register in this directory have a module for handle new user registration. I need to know how joomla carry the user input values for …

Member Avatar for jwd.adodis
0
110
Member Avatar for Barefootsanders

Hey guys. Im new to PHP but I know the basics and I know C++ pretty well. Im trying to develop a marketplace module for the Joomla CMS. I was wondering if any of you could help or had experience with Joomla. Any suggestions? Thanks.

Member Avatar for jwd.adodis
0
79
Member Avatar for floresj4

Hey guys, Can someone please take a stab explaining PHP!!! I upload files through dreamweaver and get a huge mess. How does it work? What makes it better or worse? I'm not completely code illiterate, I've worked in c++, java, I know basics in HTML and some actionscript as well. …

Member Avatar for jwd.adodis
0
261
Member Avatar for robynne

Good afternoon. I was hoping to get some query optimization tips. I am writing a php script to retrieve data from a mySQL database. Table A, which contains most of the fields that I need, contains just under 11,000 rows. Table B, which contains 3 fields that I need, contains …

Member Avatar for tyson.crouch
0
149
Member Avatar for PixelatedKarma

Hello everyone; Forgive me if I'm posting in the wrong forum. I have scoured the web playing with 20+ CMS systems all with great pros and horrible cons - nothing has completely worked for me. I have limited but some php experience and I want to take the next step. …

Member Avatar for PixelatedKarma
0
90
Member Avatar for LloydFarrell

Hi, im still pretty new to PHP and I have just started looking into classes / functions and OOP - I have done loads of searching and watching tutorials and learning from others here on daniweb with great pleasure, I was hoping that someone could fix the problem im having …

Member Avatar for rajarajan2017
0
228
Member Avatar for sachin.quadros

Hi Friends, I want to search a table with 25 columns using multiptle fields, i.e. Multiple column search Please help me with the query, i have tried using AND but no luck Field to search 1.Date 2.Name 3.Surname 4.Fathername 5.MotherName Rgrds Sachin

Member Avatar for rajarajan2017
0
104
Member Avatar for hectorb

I am trying to make a checkers game for php two players on the same computer here is what I got and was wondering if there's anything wrong with this code note: piece movement would be based from text move A1 to B2 [CODE]function drawBoard() { global $cBoard; $R = …

Member Avatar for hectorb
0
118
Member Avatar for Spider X

I have a need to do this: Receive a URL that looks something like this: [url]http://www.somesite.com/[/url][something]?title=ABCTitle&name=ABCName Then the [something] takes the key/value pairs and redirects them to: [url]http://www.someOTHERsite.com/?title=ABCTitle&name=ABCName[/url] Basically I want to take the data after the '?' and send it on to another site. What would the code look …

Member Avatar for Onisutra
0
128
Member Avatar for sesaz1

hey hello this is my first time..... i wan't to ask in php, how we can update a table without a submit(button)...is that possible?if yes tell me how?tq everybody

Member Avatar for scaiferw
0
92
Member Avatar for ayesha789

hi every body , i wonder which one is best , Union Query or Temporary Table actually i have 5 tables from where i have to select data and they have the same structure as well . Now i am confused that i use union All or union Query to …

Member Avatar for griswolf
0
62
Member Avatar for sme30

I have created a class Vacancy which has some variables : public $salary; public $id; ... I am looping through the result of a query and creating a vacancy for each match Then I adding the vacancy to an array. [icode] $tempVacancy=new Vacancy(); $tempVacancy->salary = mysql_result($result,$i,"salary"); $tempVacancy->id =mysql_result($result, $i, "yid"); …

Member Avatar for SikoSoft
0
572
Member Avatar for zimmo

Safari browser will not accept my cookie it is ignoring it? have I done something wrong with how the cookie is presented for safari??? The cookie I try to set: setcookie('peg', 'YES', 'time()+190', '', 0); Also all browsers are starting my phpsession off when its not even declared until after …

Member Avatar for SikoSoft
0
93
Member Avatar for dragonlee

hello every one, i have a problem to execute the second SQL query, its working fine on my local machine and when i uploaded it to the server but suddenly stoped functioning and keep showing error on the numRows after the query in line 213, any suggestion will be appreciated[code]<?php …

Member Avatar for dragonlee
0
107
Member Avatar for SerjSagan

So I have a problem. On my site I have a Facebook Likebox the problem is when I run the Firefox extension Page Speed, I am told that the Facebook images that are loading with the Likebox (mostly 50x50 images of avatars of people that already like my company and …

Member Avatar for SerjSagan
0
257
Member Avatar for dietdew12z

Basically what I'm doing is an if.then.else and depending on a value in the DB it's supposed to load one page or another. Right now I have it kluged together with a submit button but I'd like it to load automatically. This PHP script sits alone with no HTML output, …

Member Avatar for dietdew12z
0
833
Member Avatar for LloydFarrell

Hi all, can someone help me here - I ave a regisration script where I am uploading an image to mysql, The problem im having at the moment is this..... The script creates a new folder by using the mysql_last_id function as shown below - The problem im having is …

Member Avatar for LloydFarrell
0
190
Member Avatar for capoon

Hi experts, i developed javascript code that connects to ms acess database 2003. Everything work fine as it can insert,update and delete information from database. But my problem is that when i try to validate all my input text so as to ensure that my user must fill all the …

Member Avatar for diafol
0
241
Member Avatar for reidar

I'm just starting with PHP and I was given a rather difficult task. I need to search through multiple XML files in different directories, then return the name of the files that contain a given search input. Will it be easier to write a script that reads all XML files …

Member Avatar for SikoSoft
0
235
Member Avatar for scaiferw

I wrote this code because I wanted the members of my volunteer organization go have a place they could easily get the most current list of email addresses to send a message. This code reads the names and addresses from the database, and creates a comma delimited list of addresses …

0
140

The End.