39,402 Topics

Member Avatar for
Member Avatar for ebanbury

Hi I have 3 image placeholders taken from a recordset. If the image URL is in the database table column then the image shows as you would expect. However if no image exists I want to force the code to pick up a blank image from location: propertyimages/dot.gif Current code …

Member Avatar for ebanbury
0
93
Member Avatar for Sanket_s

I'm working on small PHP project. i have data in following text COMPANYgreenwayLOCATIONmumbaiPHONENO2222457sÿû)wÕ !$&),.0368:=@BEHJMORTWY\_acgikmqsux{}€‚…‡ŠŒ’”—šœž¡¤¦¨«®°²µ¸º½ÀÂÅÇÊÍÏÑÔ×ÙÛßáãæéëíðóõ6r¯€$ÀF€CwÕ_âT useful values i want to get from text COMPANYgreenway LOCATIONmumbai PHONENO2222457 remaining text is useless for me i want to store those values in database so what i need to do to get those values..?

Member Avatar for chrishea
0
83
Member Avatar for moerpheus

hi guys, I am developing a website, and it needs people to upload images. I can write code for single upload but not multiple, please help. Thanking you in advance!

Member Avatar for nagarjuna.king
0
244
Member Avatar for sarithak

Hi Team, I have 2.6 years of exp in PHP tech(complete exp on core php,mysql,javascript)... 8 months back i resigned my job due to marriage.. now i am trying to get job on PHP...but now without any CMS/ZEND there is no calls for core php. so.. i m trying to …

0
64
Member Avatar for Clarkeez

Hi, I'm in the process of making a forum system for my clan website. I'm currently making a function that convert bbcode tags to html tags ready for echoing in the div. Additionally, it will check all the images posted in forum post to see if they are over a …

Member Avatar for ddymacek
0
122
Member Avatar for k9huey

I am making what I call a PM (Preventive Maintenance) Kit list. My users will use this list to generate a printable sheet to tell me what they used out of there kit. The list includes pricing per part and I would like the list to calculate the costing as …

Member Avatar for k9huey
0
2K
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
143
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
158
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
253
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
162
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
175
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
171
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
256
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
483
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
66
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
94
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
280
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
227
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
97
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
108
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
310
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
110
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
195
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
42
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
188
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
123
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
288
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
249
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
111
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
380
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
394
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
183
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
208
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
78
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
301
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
178
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
67
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
363
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
136
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
180
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
165
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
104
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
87
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
576
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
120
Member Avatar for aithabuddy

Hi Can any one please help me in password protecting a subdomain. I have a main site like [url]www.example.com[/url] and subdomain site for this site is [url]www.abc.example.com[/url] I want password protection subdomain site [url]www.abc.example.com[/url], please help me doing this using .htaccess and .htpasswd Thank you in advance

Member Avatar for sDJh
0
67
Member Avatar for jacksantho

Hi, In my PHP form, i am having 15 checkboxes sequentially(e.g respectives to 15 empid). I have checked 5 checkboxes and submitted my form. My output should be that 5 checkboxes to be checked and the remaining 10 checkboxes should remain the same (unchecked). Please help me out....thanks in advance

Member Avatar for EvolutionFallen
0
114

The End.