39,323 Topics

Member Avatar for
Member Avatar for emilakia

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 ??

Member Avatar for Hani1991
0
277
Member Avatar for jabeen111

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 …

Member Avatar for jabeen111
0
224
Member Avatar for bestkhalid

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 …

Member Avatar for IIM
0
95
Member Avatar for vanpersie

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>"; …

Member Avatar for IIM
0
106
Member Avatar for manzoor.ilahi77

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.

Member Avatar for Jonell Inclan
0
286
Member Avatar for johndohmen1963

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 …

Member Avatar for johndohmen1963
0
107
Member Avatar for azegurb

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 …

Member Avatar for azegurb
0
191
Member Avatar for akrd86

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 …

0
40
Member Avatar for rpv_sen

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%" …

Member Avatar for rpv_sen
0
2K
Member Avatar for jacksantho

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 …

Member Avatar for jacksantho
0
187
Member Avatar for facarroll

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 …

Member Avatar for facarroll
0
120
Member Avatar for chris_j_haines

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 …

Member Avatar for chris_j_haines
0
284
Member Avatar for megachip04

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 …

Member Avatar for Stefano Mtangoo
0
244
Member Avatar for Danny159

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

Member Avatar for JobBrown
0
108
Member Avatar for bow103

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 …

Member Avatar for bow103
0
377
Member Avatar for Ootred

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 …

Member Avatar for cereal
0
392
Member Avatar for heshanm

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 …

Member Avatar for heshanm
0
177
Member Avatar for aplwong

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 …

Member Avatar for leakbali
0
205
Member Avatar for puvi

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..

Member Avatar for edwinhermann
0
76
Member Avatar for knan

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 …

Member Avatar for edwinhermann
0
296
Member Avatar for LampBeginner

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 …

Member Avatar for vimal09
-1
168
Member Avatar for Buppy

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. …

0
65
Member Avatar for nikita.chandra

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 …

Member Avatar for oakulm
0
340
Member Avatar for abhi10kumar

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; …

Member Avatar for vibhaJ
0
134
Member Avatar for AngelicOne

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 …

Member Avatar for urtrivedi
-1
177
Member Avatar for cleecaldwell

New to PHP and need some help with this. I'm creating a test, but I'm getting all of my questions randomly from my database. For example, if this is my table: ID S Q1 A1 A2 1 C Why A B 2 F When A B I know that I …

Member Avatar for P0lT10n
0
161
Member Avatar for inblues

Please to develop a helpdesk ticketing system using PHP and need some advice on which PHP framework is the best for this purpose. The helpdesk system will have public area wihtout user login, user login area to post ticket and support team login area to support the ticket.

Member Avatar for raddia
0
102
Member Avatar for xylude

I am running the following code: [CODE] if(is_array($check)) { foreach($check as $val) { if($_SERVER['PHP_SELF']==$val) { $show = false; break; } else { echo "<p>".$_SERVER['PHP_SELF']."!=".trim($val)."</p>"; } } } [/CODE] And I am getting the following output: /client/scheduled.php!=/client/scheduled.php Hopefully it's not something dumb on my part, I appreciate any advice.

Member Avatar for xylude
0
83
Member Avatar for RazorRamon

Ok i'm trying to build a forum with jquery ajax characteristics. Below is the html/jquery coding. And i know jquery is loaded because I did the [ICODE]alert(1);[/ICODE] inside the document ready and it worked. [CODE] <!doctype> <html> <head> <title>Shouts!</title> <script src="jquery.js"></script> <script> $(document).ready(function() { $("#messages").load(function('loadchat.php'); $("#post").submit(function(){ return false; }); }); …

Member Avatar for xylude
0
565
Member Avatar for Awah Mohamed

hey guys, i made my first web socket server in php and i run it in my localhost and it worked fine.. the problem is, i want to use it in my website... my website is in a shared server and i dont have shell access.. so how can i …

Member Avatar for Awah Mohamed
0
118

The End.