39,323 Topics
| |
Hi, I am wondering if anyone tried to mix PHP and Javascript innerHTML elements to change certain elements to decrease the number of submits without losing data when passing through forms. For some reason, I kept getting errors in my code and I could only get PHP to submit the … | |
Hi, I don't know if this is the right forum to post this, if not please move it or just delete it. I installed Phpauction via Fantastico after trying several purchased scripts that just wouldn't work. Everything is working fine except the "View Feedback" links which give the following error … | |
i am trying to create a new subject and redirecting the page to the home page after the subject is created which is(content.php). The code succesfully created the object but the page redirecting that i try to make is failed and my browser came out with this error message : … | |
[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;?> … | |
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 … | |
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] => … | |
Dear can any body tell me how to configure cakephp with wamp?? | |
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> … | |
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? | |
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 * * … | |
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 … | |
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 … | |
linking database selected through dropdownlist with corresponding database in mysql via php | |
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 … | |
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. | |
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. … | |
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 … | |
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. … | |
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 … | |
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 | |
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 = … | |
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 … | |
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 | |
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 … | |
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"); … | |
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 … | |
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 … | |
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 … | |
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, … | |
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 … |
The End.