39,320 Topics
| |
Good day fellow programmers, please i need your help. I have a hidden field that holds both the destination and the id of the destination, i need help on how to send both the id and and value of the destination to the database The code for the form is … | |
Hi I'm having real problems getting one dropdown to populate a second dropdown based on different options being selected in the first. For it to work in a form. And for the dropdowns to take their data from mysql table. In the code enclosed I've hard-coded the categories, but obviously … | |
hello everyone, Help pls. I encounter "server error" with the last sql query statement in the last 'for' loop. Here is the code: $qdev=mysql_query("select distinct(device) from wipdataperarea where creation_date like '$today%' and gtc='AL' order by gtc,device"); $device=mysql_num_rows($qdev); while ($dev=mysql_fetch_assoc($qdev)) { echo "<tr>"; echo "<td>" . $dev['device']. "</td>"; $qarea=mysql_query("select distinct(area2) from … | |
Hi there, I'm trying to learn how to work with phpMyAdmin and Visual Studio. I've created a database in phpMyAdmin and called the database "business". I've also created a table called business information with some fields but no data. Any idea how I can connect to the database? Regards Usmaan | |
I am not good at PHP or javascript, But, our club is going to start a webpage, we bought the domain. We are planned to use wordpress. I want to customise the wordpress to maximum. we want to develop the site at SNIP and i want to know which is … | |
I am just wondering what I have done wrong. I successfully installed Netbeans, PHP, MySQL, APACHE on Ubuntu 11.04 and I have been developing applications with them. Recently, Whenever I try to establish a connection with a MySQL using the following lines of code, and run the page from Netbeans, … | |
I have problem regarding redirect ,I want like when someone types [url]http://picmagazines.com[/url] ,[url]http://www.picmagazines.com,picmagazines.com[/url] ,It redirects to [url]http://www.picmagazines.com[/url] only ,I added the code from [url]http://www.jackborn.com/tools/canonical-urls.php[/url] in .htaccess file but it redirects to some strange url [url]http://www.picmagazines.com/index.php?/[/url] I need this to be [url]http://www.picmagazines.com[/url] ,how I can correct that,please advice me ,this helps … | |
How to read pdf file in a variable so that i can display that in php page ? Thanks in Advance :) | |
I need some extra eyes to help me figure out what is wrong! I have one entry form and a second form that does the updating. I have a checkbox for 'Entered' that works great but the checkbox for 'Proof' does not work. If I manually enter the value in … | |
Is there anyway to format Phone Numbers and/or Web Address [U][B]PRIOR[/B][/U] to inserting them into the database? For example, let's say a user puts one of the following telephone numbers into the box: (777) 111-2222 777-111-2222 777.111.2222 7771112222 I would like these to be stored in the database as: (777) … | |
| Hello people, I have a problem in displaying my images in the dimensions I wish: I used the following code: [CODE] echo'<td><a href="portsdetails.php?idImg='.$idphoto.'"><img src="'.$lien.'" width="10" height="10" border="0"/></a></td>'; [/CODE] |
Hi Everyone I am working on to read doc file in php but it return ������€������€������€������€�� ���Œ�� ���¸������ Please help me to read doc file line by line in php. Any Help will be appreciated. Thanks in Advance | |
Hi, I have the following situation; I made a website where I can manage the pages. One option, where I add more pages, is giving me problems. When working on my localhost everything works perfectly, and the generated file is being processed correctly. Online however is results in a very … | |
<?php $word = new COM("word.application") or die ("Could not initialise MS Word object."); $word->Documents->Open(realpath("result1.doc")); // Extract content. $content = (string) $word->ActiveDocument->Content; echo $content; $word->ActiveDocument->Close(false); $word->Quit(); $word = null; unset($word); ?> Please Help | |
I have created a string, now I want to add data to the end of the string - [CODE]<p>This is the string</p>[/CODE] I now want to read from MySql from a field and add the data to the end of the string. Something like - [CODE]&Str1 = "This is the … | |
i want to do remove friend from friend suggestion list after adding the in the friend list in php.how i can do that.Please help me as soon as.... | |
Hi.. is there anybody having free php source code..plz sned me.. its urgent plz.... thanks in advance.. | |
Greetings i'm sorry for bother you guys with my questions but i'm in the process of learning php and they say if you want to be the best learn from the best :) what i want to know is how can i copy a column "field" from a Table lets … | |
Hey everyone! After some research I have found that I need some javescript help to process a users click from a html drop down select list.. I am trying to create an admin area for a website in php and using mysql database. In my admin home page, I have … | |
Hi all, I want to calculate the difference between two dates but can't achieve what I want ... I'll explain to you what's the problem.. $date1 = "2007-02-05 20:32:15"; $date2 = date("Y-m-d H:i:s"); $diff = $date2 - $date1; I've already done that but let's suppose if the difference is 24h … | |
is it necessary to install any other s/w like apache etc if i have WAMP or XAMP on my machine to connect php with oracle? | |
Greetings i make a code to show spacific fields of a table is there anyway to make all fields with its records appear ? this is my code [CODE]<?php $db_host = "localhost"; $db_username = "root"; $db_pass = ""; $db_name = "el"; @mysql_connect("$db_host","$db_username","$db_pass") or die ("could not connect"); @mysql_select_db("$db_name") or die … | |
Hello, I dont know any PHP or MYSQL, but I had created a script for my business with the help of you Gurus. Now I am stuck with a problem once again. I hope you will help me again. I have a MYSQL DB, 'shipments' and Table 'info' with a … | |
Hi, need some help with the a php code i made to a search engine, i get a error: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/eoopoedt/public_html/sok/search.php on line 49 Can some one fiks my code, and give me the right code: [CODE]<?php $button = … | |
I have a script that checks so see if a range websites so see if it has some a sample of code in it. Is it possible to repeat the script once every 24hours? (CRON?) If so is it possible to post the website and the result it got in … | |
I have been trying to fix this code for my feedback form, but its not working i dont know what else to do now, Is there any settings i need to do? I am using an EasyPHP 2.0 [CODE] <?php // Contact subject $subject ="$subject"; // Details $message="$detail"; // Mail … | |
Hello, I'm building an ecommerce site with php and I'm trying to build an account page so users can manage their credit card info, shipping info, orders, etc... I wanted to design my own Manage Payment options on my site and not have to redirect the user to like paypal … | |
hi friends, my database names are like that: --name surname date account--- i want to send 5 or more user info send database with form. form.php <input type="text" name="name" size="8" class="auto-style5" style="height: 20px"> <input type="text" name="surname" size="8" class="auto-style5" style="height: 20px"> <input type="text" name="account" size="8" class="auto-style5" style="height: 20px"> <input type="text" name="date" … | |
| |
Hello, I am sending a mail on localhost but getting error given below. Please suggest me solution for that. Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\project\contact2.php on line 261 |
The End.