39,316 Topics

Member Avatar for
Member Avatar for QWaz

Hi, I am trying to get money to display correctly with the decimal points in the right place. I have read the PHP manual, but just don't get it. I want to do 2 things: 1: if someone types in 123.23 -> I want to remove the '.' (so it …

Member Avatar for sacarias40
0
116
Member Avatar for Koibu0

Forgive my ignorance with such matters, but I have what is probably a simple issue that I can't seem to resolve on my own. I'm getting this error when sending a request to the SOAP server [CODE]org.xml.sax.SAXParseException: Content is not allowed in trailing section.[/CODE] I've checked the end of all …

0
111
Member Avatar for krishx343

Hi I need to know, is there any option to use For loop instead of While and ForEach to retrieve the result. While Loop ----------- [CODE] $query = "SELECT name, subject, message FROM contact"; $result = mysql_query($query); while($row = mysql_fetch_array($result, MYSQL_ASSOC)) { echo "Name :{$row['name']} <br>" . }[/CODE] instead to …

Member Avatar for rajarajan2017
0
9K
Member Avatar for virspy

Hello Friends, Hello to all, Iam having an issue regarding the Jquery facebox i applied jquery facebox to my login form and its working great now. But the problem is when we click on facebox link without the total loading of page it si opening in anothe window. but the …

Member Avatar for virspy
0
86
Member Avatar for Member 784017

i want to save the velue of check boxes on run time .....n when the form for the particular id is opened again it must show that the previous check box as checked or marked so that the user can check the new check box update it as well

Member Avatar for vibhaJ
0
69
Member Avatar for Member 784017

[CODE]:if(isset($_REQUEST["convert"])) { $Registration_num=$_REQUEST['reg_num']; echo decbin($Registration_num); } [/CODE] i want to insert the binary number into the text feild which is the output of the decimal number....it is getting echoe but want that num in another textfeild to display so that ican use it in other forms

Member Avatar for vibhaJ
0
62
Member Avatar for sparkles_links

Hello guys? You have been very wonderful, I have some stress. I designed a site and send the form details to an email address but Image will not or can not be sent along the other details I don't know why. Please I need help. This is what I did.With …

Member Avatar for vibhaJ
0
66
Member Avatar for faizabest

I have this error when I run my system in XAMPP but it works succ on WAMP.. Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\xxx\xxx.php on line 29 Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\xxx\xxx.php on line 38 My coding: [COLOR="Red"]7[/COLOR] …

Member Avatar for faizabest
0
143
Member Avatar for xofth

i am new to php. i download the login and signup system from [URL="http://www.plus2net.com/php_tutorial/php_signup.php"]http://www.plus2net.com/php_tutorial/php_signup.php[/URL] it is working well but the problem is that i want to use that in my website i want that i have a portion in my web(right side corner) where i include the php login page. …

Member Avatar for keval_hack
0
82
Member Avatar for surfgrommett

Hi guys. First I have spent awhiel trying to find an answer for this online and haven't been able to. I have defined a variable ($new) in the beginning of my page. to test that is IS defined right i echo'd it...im using nested if statements to check thing. in …

Member Avatar for surfgrommett
0
107
Member Avatar for Member 785748

Hi. I've been working on this for maybe 10 hours without success and hope someone can help me here. Sounds simple: I want the user to enter URLs similar to this: [url]www.site.com/thisuser[/url] or [url]www.site.com/thisuser/[/url] (never underestimate the stupidity of the user, so I want it to work with or without …

Member Avatar for Member 785748
0
268
Member Avatar for iWalletMobile

So im trying to write a code within an iframe that will hide the address bars page address. Example: [url]http://example.com/[/url] will be the ONLY thing in the address bar that shows regardless of page they are on. So if someone clicks to0 example.com/about.php it will only show example.com in the …

Member Avatar for iWalletMobile
0
113
Member Avatar for honos1

I have started getting an out of memory error that wasnt occurring before I changed hosts. I altered my php ini settings to add but the godaddy people pointed to this code and suggest I rewrite it. The problem I am having is I took this code from someone else …

Member Avatar for honos1
0
140
Member Avatar for fouzia Qayyum

<?php function get_rnd_iv($iv_len) { $iv = ''; while ($iv_len-- > 0) { $iv .= chr(mt_rand() & 0xff); } return $iv; } function md2_encrypt($plain_text, $password, $iv_len = 16) { $plain_text .= "\x13"; echo "<br>".$plain_text; $n = strlen($plain_text); echo "<br>".$n; if ($n % 16) $plain_text .= str_repeat("\0", 16 - ($n % 16)); …

Member Avatar for chrishea
0
87
Member Avatar for Srinivasa007

Hi All, Good Morning. I'm new to php environment. When you are in internet explorer and you register, if you choose a different address to send the commission checks to, it always says "Choose a state" even though you chose one already. Here is the code. <?php session_start(); include_once( "common.php" …

Member Avatar for chrishea
-2
104
Member Avatar for QWaz

Hey, I am having real trouble with this code, and for the life of me just can't see or figure out why this won't work. It works every other time I have done it. I have checked, double checked, tripple checked the table it's coming from. I'm as lost as …

Member Avatar for QWaz
0
169
Member Avatar for jhbalaji

Hello everyone i am writing a snippet for replacing the keywords into links. It almost works but it also replaces the words in between HTML Tags So can anyone help me in fixing that [CODE]<?php $textlinksname = 'Google'; $textlinksurl = 'http://google.com'; $body = 'Google is a great search engine. Here …

Member Avatar for pritaeas
0
139
Member Avatar for Member 784017

this code is echoeing table the times i enter the reccord for a particular registration number.plx help me out!!!! [CODE]if(isset($_REQUEST["Submit"])) { $Registration_num=$_REQUEST['reg_num']; $query1=mysql_query("SELECT * from medicines where Registration_num = '$Registration_num'") ; while($row=mysql_fetch_array($query1)) { $query="select * from medicines where Registration_num='$Registration_num'"; $result=mysql_query($query); mysql_query($query); echo "<table border=1>"; echo "<br><tr><td><b> <font color='#CC66FF'>Id</td><td><b>Prescribed_med</td><td><b>allergic_med</td><td><b>Dosage_unit</td>"; while($row=mysql_fetch_array($result)) { …

Member Avatar for rajarajan2017
0
72
Member Avatar for Venom Rush

Hi there I have a page that has php code at the top. Ajax before the body tag and a form. I need to be able to call a php function (the one at the top of my page) that adds info from the form into the DB. Normally I'd …

Member Avatar for fxm
0
145
Member Avatar for QWaz

Hi, I am trying to get some info form my database. I want to see if there is an entry with a certain product_id that also has another column marked as 1. I want to display the number of rows that contain that combination. I have tried a few different …

Member Avatar for Ankit_Parmar
1
103
Member Avatar for Member 784602

Hi, I have a page in that i have some fields name,address,when I fill and once I click submit button,The text box should be clear and cursor should be replace there...... My page extension in .php

Member Avatar for rajarajan2017
0
71
Member Avatar for Member 785000

Hello ppl, I have a mysql db and i want to know how is better to use queryes on my website in the table favorite i have many rows with id (some numbers..) and fav ( img1 img2 img3 img4 img5 etc..) and a table named img where the first …

Member Avatar for Member 784670
0
111
Member Avatar for muralibobby2015

hello..... just now i saw "TranslateThis Button" which is the script for translate the webpage using javascript. it is more faster than google translation. is there any chance to display language flags(ex: only four flags) with out dropdown? please help me.check it here [URL="http://translateth.is/"]http://translateth.is/[/URL]

Member Avatar for Master Rattley
0
179
Member Avatar for Member 784553
Member Avatar for rch1231
-2
24
Member Avatar for Member 784602

Hi, I need help,I created contact form and I wrote email sending coding also,but the coding is not working.This is the coding that I have wrote.Please clear me what's the mistake.... <?php include "functions/libmail.php"; if (isset($_POST['Submit'])){ extract($_POST); $ErrNo = 0; $Name = $_POST['name']; $Email = $_POST['email']; $Company = $_POST['company']; if …

Member Avatar for rajarajan2017
0
235
Member Avatar for Member 784361

hello guys , please tell me how to connect my php form to a database and save data and also getting data from my database i hope you give me the code

Member Avatar for rajarajan2017
-1
132
Member Avatar for Member 784670

I need help in making project for Equipment Maintanence in hospital in php language

Member Avatar for leviathan185
-1
103
Member Avatar for inxs310

[PHP] <? include("$include_path/FastTemplate.php3"); $tpl = new FastTemplate("templates"); $tpl->no_strict(); [/PHP] can someone help me!! plz

Member Avatar for JRM
0
215
Member Avatar for J.M

Hi There, I have had a look on the internet but not really been able to find the correct thing i'm looking for very easily, or at least not very well/easily explained. I am trying to create a Search Form for my website which has 2 fields. 1) A Postcode …

Member Avatar for Member 785068
0
194
Member Avatar for hassancool

Hi There, I am looking for a De-Ion Cube.... Can anyone tell me any php program or software which can do this job without giving confuscate type results......

Member Avatar for hassancool
0
164

The End.