38,020 Topics

Member Avatar for
Member Avatar for azhpool

Hi, i'm trying to update a mysql table with values, and i get this error: Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE StockID= 23' at line 1. Here is my …

Member Avatar for ddymacek
0
3K
Member Avatar for ErangaD

I am a VB.net programmer and I am very new to PHP HTML and Java Scripts I am doing a project for my company using PHP HTML and Java Scripts and I want to Know how to make readonly a text box after it gets the input This text box …

Member Avatar for ErangaD
0
4K
Member Avatar for felix001

Can anyone help. Im trying to create 2 drop down lists (using the select tag). Based on the choice of the first drop down list the second list is populated. Thanks,

Member Avatar for felix001
0
137
Member Avatar for jacksantho

hi, I am facing parser error while embedding php tag in text box value. print "<tr><td><font color=\"#0080FF\" face=\"sans-serif\" size=\"2\"><b>emp :$nbsp</b><input type='text' name='txt1' size='10' style=text-transform:uppercase maxlength='7' [B]value="<?php echo $_POST[txt1];?> >[/B]</font></td></tr>"; please help me out.

Member Avatar for jacksantho
0
151
Member Avatar for Awah Mohamed

hi guys i want to use php websockets... i made a web socket but it didnt work i hope you guys know some javascript couz the client page is made with javascript and html5 this is the server's code: [CODE] <?php error_reporting(-1); $host = "127.0.0.1"; $port = 8000; $socket = …

Member Avatar for Awah Mohamed
0
223
Member Avatar for manzoor.ilahi77

Hi please help me on php form to pdf conversion and at the same time it should save to database visit this [URL="http://servunity.in/form_classII.php"]http://servunity.in/form_classII.php[/URL] I want pdf to look like as in the url [CODE] <form id="form_pdf" action="classII.php" method="POST"> <input type="text" class="f_input input1" style="width:200px;" name="surname" maxlength="30" value="Surname" onBlur="if(this.value=='') this.value='Surname'" onFocus="if(this.value =='Surname' …

Member Avatar for cereal
0
158
Member Avatar for vboopathicse

hi I'm need changes in my code. I'm display records by search. but i want to export those search records into excel, PDF, and word format. I'm creating only export to excel format. but it exports all rows in entire table. i need only that searching records to export. See …

Member Avatar for vboopathicse
0
157
Member Avatar for abhi10kumar

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 …

Member Avatar for vibhaJ
0
169
Member Avatar for makimbo

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){ …

Member Avatar for Hani1991
0
242
Member Avatar for spartan.pk

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 …

Member Avatar for HITMANOF44th
0
467
Member Avatar for jorjah

.hello, i just want to ask if there is a code for linking all the forms that i made in php?

Member Avatar for IIM
-1
64
Member Avatar for vaibhav4u

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.

Member Avatar for almostbob
0
88
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
275
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
220
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
94
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
215
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
103
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
186
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
279
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
106
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
376
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
389
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
204
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

The End.