39,326 Topics
| |
I am storing PHP variables in DB like [CODE]Dear $name, You are now member of TL, and your address is $address, $city.[/CODE] If I echo variables they are showing as it is.. The variables have values and I want to send there values into an email.. How this can be … | |
I wrote this function in PHP. It divides each variable $votesX, where X is a politic party name, for 1,2,3... to the value of $seats. Now I've to search the the biggest values of the array and replace them with a zero. How can I do it? [CODE]function hondt ($votesA,$votesB,$votesC,$votesD,$votesE,$seats){ … | |
Hi I'm developing a web application and needs to Integrate it with Authorize.NET AIM. I have tested the code provided by Authorize.NET it works fine for Single product. This code has an option to use for line items and is commented by default. I uncommented it and then used it … | |
.hello, i just want to ask if there is a code for linking all the forms that i made in php? | |
Hello All, I want to integrate a map in php like in this website. [url]http://hotpads.com/[/url] If anybody have solution for this.please reply me as early as possibly. Thank You. | |
here is the test.html [CODE]<html> <body> <form action="test1.php" method=post> Name :<input name= "name" type="text"> </body> </html>[/CODE] And here it is the test1.php [CODE]<?php $name= $_POST['name']; echo $name; ?>[/CODE] But it doesnt display the name .Can anyone help me ?? | |
how can i insert values of text fields values in mysql db i m using php mysql and ajax ajax to search seat numbers bases of batch, degree and semester this search successful but it cannot insert another table may be using array using this field so how i use … | |
HI, I am trying to upload the music mp3 files with php script. but it seems that my server can't upload the large files from above to 2MB. is there is any solution to upload large files. I also try to put following to my .htaccess files, php_value upload_max_filesize 20M … | |
Hi With the following script [CODE] <html> <body> <?php $server = "localhost"; $username= "root"; $password ="mysql"; $connect_mysql=mysql_connect($server,$username,$password); if($connect_mysql) { echo "Connection Established"; $mysql_db=mysql_select_db("mysql"); if($mysql_db) echo "<Br><Br>Connected to database <BR><BR>"; echo "<Table>"; echo "<TR><TH>Employee_ID</TH><TH>Employee_Name</TH></TR>"; echo "<DBQUERY q>select emp_id,emp_name from employee"; echo "<DBROW><TR><TD><? q.emp_id></TD><TD><? q.emp_name></TD></TR> "; echo "</DBQUERY>"; echo "</TR>"; echo "</Table>"; … | |
Hi visit [URL="http://servunity.in/old/test/form_classII.php"]http://servunity.in/old/test/form_classII.php[/URL] I need to print that web form and I successfully insert those field into database but I want both function in one submit(click) please help me on this. | |
Hi how do i update a selected column with numbers ? 001 002 003 004 005 and so on when i delete a row shall we say 003 i have then the numbers 001 002 004 005 thats not the problem the problem is when i insert a new image … | |
hi all, i have search form that retrieves data from database. and i have select options. when i choose with only [CODE]select option[/CODE] it can populate data from database. but i want to retrieve data from database with both input tag (by typing into it) and select tag it cannot … | |
i want to count no. of person on left and eight in binary tree also want to check 2:1 or 1:2 in tree, 3:4 or 4:3 in whole tree with particular id My tree node contain id which is sponsor by other so i want to check wheather this sponsor … | |
Hi I am trying to display the records Horizontally from my 3 different table 1. place table - n number of place 2. Item name 3. Item in different place i want to display the above report as in the attachment. please help me to resolve the issue [CODE]<table width="100%" … | |
I have a php script with a form that insert data in a mysql db and when I click on submit I would like the page to refresh after the insertion, how can I do that? it's a php script that display data from a mysql db, and the submit … | |
Here is the code I am trying to make work. As you can see, the code as it stands will call a javascript window. All of that works well. I now want to add the lines that are commented out, in order to make the window display conditionally. I have … | |
Greetings I have asked by a client who I designed a website layout for if I can build a "restricted access" section to their website. The website is for a church and they want a section for just staff for important forms and documents. I have programmed a php/mysql application … | |
| I'm trying to set up a simple little rating system for videos on a website. If you push + it adds 1 and if you push - it subtracts 1. I've got it working just fine. However, the way i'm checking to see if you've rated it already is by … |
Hey, I have this line of code... because I dont want to allow things like & or ! or * etc... but I DO want to allow _ and - [CODE]$url = ereg_replace("[^A-Za-z0-9 ]", "", $url);[/CODE] Can anyone help me? Dan | |
Hi all been working on this for a couple of days. I want to upload 4 image names to the mysql database and upload the images to a folder on the local server. I also want to display my images that goes with the text data. So far I can … | |
I am very new to php and mysql. I have read and re-read many forum posts on this subject, but I just cannot figure this out. I have been at it for almost two weeks now. This is my hope: Load images and captions from a database into an html … | |
Hi all, I want to add an amend functionality to my system. Therefore i need retrieve data from 2 different tables and display it in a single form. [B]account_details [/B]( [B][U]account_number[/U][/B], full_name,____) [B]account[/B] ( [B][U]account_number[/U][/B], name_with_initials,____) When i try to retrieve data from these 2 tables,output comes as an empty … | |
Hi All, I am new to PHP and I got stuck on how to display a variable "txtQty" in my PHP COde. What happen is user will key in a number and I just try to display the number in the same PHP program. Here is the program. Tks in … | |
Hi frens, i have a query, i am working on a project, where the codes are kept on the server, i am using putty to access the server, wanna know if there is any editor/ide to edit the code on putty.. thanks for ur time and reply.. | |
A service running in the Server is listening to port 2978 on 1xx.xxx.xx.xx for incoming connections! My PHP code receives URL data through get method. A tcp connection has to be established with the 'service' on that port and the data received from the URL should be sent to the … | |
Hi everyone! I have to do a school project "Hosting": 1. I have a php site with some form. 2. Client select for example space, domain and some other options. 3. Apache creates needed folders and confuguration 4. Client get his email account 5. Client can put his own php … | |
Hi, I have 2 tables. I need to insert data in both tables at the same time. The form is called Model1. It works fine. BUT, here's the thing - i need to take the auto increment id from the first table and then insert it into the second table. … | |
Hi all! I want to learn PHP myself using internet , i have the knowledge of java, Servelet, JSP, Mysql, HTML, Javascript and css. Is it possible for me to learn PHP without any guidance using internet? Is php more difficult then jsp? I want to create various dynamic websites … | |
I created a customized tooltip using CSS, it is working on Chrome and Firefox but not in IE. Here is the code.. [CODE] <style type="text/css" > span.tool { position: relative; } span.tool span.tip { display: none; } span.tool:hover span.tip { display: block; z-index: 100; position: absolute; top: 1.6em; left: 200px; … | |
I have a form that is being validated using PHP server side scripting. To show multiple errors, I store it in an array and used foreach to loop through the values and echo it for dislay. I thought i'm finished using PHP validation but I noticed that everytime I submit … |
The End.