39,402 Topics
![]() | |
I want to be able to access whatever the user types into my testCreation.html in a session created in testCheck.php. I then want that session to be accessed by testView.php. I can't seem to get to that point so any help is grealy appreciated. testCreation.html: [code=javascript] <html xmlns="http://www.w3.org/1999/xhtml" > <head … | |
Hi everyone, can you help me about update form on php. I want to do a new interface to edit information on the table by using php codes. For example I search ilyas on the table and there are three people who's name is ilyas and I want to change … | |
HI all, I'm making a site to host short length videos and would like to extract a frame from it when a video is uploaded. Does anyone know how to do this, or have any ideas what else I could do? Cheers, | |
Hi, I am not too good on php and MYSQL and I am currently struggeling with populating a form on my website based on a selection chosen by the user from a drop down menu. The drop down menu is dynamic with its values populated from a database. Below the … | |
Hi everyone, I currently have a IPN script which I use when I call paypal, the script works fine and no problems there etc etc... The problem i have come across is that one of my clients needs it so that if the user does not have a verified account … | |
Ok. I have ZERO PHP Knowledge, still good in editing php and all that stuff. Only know copy paste and have no knowledge what that means. Still would try to explain my problem. I use variable to fetch data from mysql. Ex. my url is [url]http://www.example.com/venue.php?vcity=New[/url] York. Now, I want … | |
Hello , Does anyone know a script or a plugin to get random posts in wordpress WITHOUT repeating them. I'm using this theme [url]http://www.osdesigner.net/wordpress-themes/css-gallery-theme/[/url] Thanks a lot Chears! | |
Hi, I have a trouble with my script. Everytime I execute index.php, and call add_schedule, always appear message: Fatal error: Call to a member function add_schedule_form() on a non-object in index.php on line 19. I have try to fix by changing the syntax on line 19 (index.php) but it just … ![]() | |
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] | |
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 ![]() | |
I need help in making project for Equipment Maintanence in hospital in php language | |
[PHP] <? include("$include_path/FastTemplate.php3"); $tpl = new FastTemplate("templates"); $tpl->no_strict(); [/PHP] can someone help me!! plz | |
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 … | |
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...... | |
Hey guys, currently I am writing a script that will allow users to use a html drop down menu to select regions of the world (based on entry in a js file). We need the results to be compared against a database and return another answer without the user using … | |
Hi, Sorry if this is in the wrong forum but it appears daniweb doesn't have a category for sqlite or miscellaneous database systems. I have just started on a personal project which is an admin interface for sqlite (Like sqliteMyAdmin), similar to Phpmyadmin but for sqlite. Anyways the question is … | |
Hi, I am new to php,so I need help from you,I create html contact form and I wrote php coding ,but it have problem some.....,please clear my problem in this code or give me easy code for me to send mail....... [CODE]<?php include "functions/libmail.php"; if (isset($_POST['Submit'])){ extract($_POST); $ErrNo = 0; … | |
Well this might sound a bit ridiculous , i request the user to enter the no of names field to be generated and then i am successfully able to generate , but dont know how to go about saving those many names in the name column of my db. initial … | |
Hi all, Been some time since my last post. I'll get straight to it - I have actual Id's being passed from the checkbox array to a page where I dump the post variables. I'm using this to query the db. [CODE]$result = mysql_query("SELECT * FROM test WHERE Id='$checkbox[0]';"); while($row … | |
Hello friends, I have a php page that displays data from a mysql DB. Fields are 1. Username 2. Designation etc... I want to list usernames in a listbox. I know thats not a tough job but I want to give different colors (or background color) to usernames with different … | |
I had written javascript calculation for hotel accommodation system. The calculation part is working in Mozila fire fox, but it is not working in IE6. I checked the internet options in IE6 and enabled active scripting, still it is not working.Is there any other option. Please give me the solution … | |
I have written a small script in order to check the browser of the user and find that the code isnt working , even if i open the php page in IE its still outputting Mozilla [CODE] <?php $browser = $_SERVER['HTTP_USER_AGENT'] ; echo $browser. "\n\n"; ?> [/CODE] Output in Mozilla: … |
The End.