39,320 Topics
| |
hi everyone, i have 2 problems which makes me to stuck inbetween my application.. my first issue is: i already used get method to pass variable values between pages which is working fine till now as follows: $frmDate=trim($_GET['beg']); $toDate=trim($_GET['datEnd']); $time=trim($_GET['time']); $incoming=$_GET['inTxt']; echo "<a href=\"outgoing.php?optSingle=".$c."&beg=".$frmDate."&datEnd=".$toDate."&inTxt=".$incoming."&flr=".$flr."&page=1\" ></a>"; but how can i use … | |
Hi Frnds, I created session for index page. I passed session variable to next page like "about us" page. But in index page it displayed some errors. Notice: Undefined index: myusername in C:\wamp\www\fc2\index.php on line 136 Notice: Undefined index: mypassword in C:\wamp\www\fc2\index.php on line 137 Line 136 : $myusername=$_POST['myusername']; Line … | |
hi all, i want to hav a value present in a page to some other page. so can any one help me. thank u. | |
I already have a mod rewrite directing all traffic in my site through my domain.com/index.php file. i because this is happening, i need another rewrite to make any call to the url of: domain.com/blog to actually go to [url]http://domain.com/blog/index.php[/url] instead of just back to my normal domain.com/index.php is there anybody … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
[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 | |
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 … | |
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] … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
<?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)); … | |
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" … | |
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 … | |
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 … | |
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)) { … | |
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 … | |
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 … | |
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 | |
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 … | |
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] | |
how to install wordpress cms. plz clear the full information. | |
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 … | |
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 |
The End.