39,323 Topics
| |
I'm working on this project where they can search a list of names and they can put in a death year that automatically searches for + and - 5 years. [CODE] mysql_connect ("localhost", "root","root") or die (mysql_error()); mysql_select_db ("FHSNL"); $surname = $_POST['surname']; $given = $_POST['given']; $maiden = $_POST['maiden']; $deathbefore = … | |
I'm trying to do a little pre-planning here... Let's say I have a user table that has 25 million users spread across all 50 states. Lets also say I have to send an EMERGENCY email to each of these 25 million users... (asteroid hitting planet type of emergency) What would … | |
Hello, im having problems with the following code and it driving me made trying to find out the source to it not working out that one number is bigger than another when clearly it is, please can you help and make my day :) Example of numbers im comparing... [B]08072011050724 … | |
I want to use query strings into include function, like include('where.php?id=1'); and echo $_REQUEST['id'] in where.php; but gives error. [CODE]Warning: include(where.php?id=1) [function.include]: failed to open stream: No error in C:\xampp\htdocs\3g\include.php on line 2 Warning: include() [function.include]: Failed opening 'where.php?id=1' for inclusion (include_path='.;\xampp\php\PEAR') in C:\xampp\htdocs\3g\include.php on line 2[/CODE] If yes, then … | |
Because using the <base> tag is giving me some problems lately, I'm curious about what the best solution is to use together with mod rewrite. I use mod rewrite a lot, and the <base> tag helps me to keep the links to my css files, for example, working. I link … | |
Hi, I really need help with this. I read from various sources but they are complicated and I do not understand them at all. Is anyone kind enough to help how do I go about it? | |
Hello, I am a new php learner. So far I have learn what is variable and how it's decelerated and functions and it's use. If, for, while, do while, and Array statement. But I have only php Bible Book. I need more ref. book about php. Please give me some … | |
Hi, I am uppgrading fra php4 to php5 and have som error messages. I get the following error : in /home/test5/www/forbruksfinansiering/forbruksfinansiering.php on line 463 Notice: Undefined index: betalingsbetingelser in /home/test5/www/forbruksfinansiering/forbruksfinansiering.php on line 463 Notice: Use of undefined constant [CODE]$_SESSION["betalingsbetingelser"] = $_POST[betalingsbetingelser]; [/CODE] | |
Dear friends, I have created a html page with dynamic select boxes and included the below line in the form [COLOR="red"]<form action="sqlpage.php"target="_blank" method="post">[/COLOR]. The mentioned sqlpage.php contains some php code which connects to MySQL DB and search for queries and displays the results on a webpage. But when i run … | |
Hi All, In windows on easyphp we open the mysql console from the browser by typing [url]http://127.0.0.1/home/[/url] In ubuntu when I do the same thing, it does not happen. I installed LAMP server using the following command sudo apt-get install tasksel sudo tasksel and then it is interactive When I … | |
Hello, I'm looking for someone who can help me fix and clean up a PHP email verification form that I can't get fixed with my lite knowledge of PHP. | |
Hi. I'm not sure if this is possible with PHP or not... I want to be able to have a user enter a phone number, and then the site will call the number with a message. For instance, it'll call them with their confirmation code. Is this possible? Thanks! | |
Hi, I've not been successful looking for a solution to my problem. What I need is to password protect a directory. I could use htaccess, but the user doesn't want a pop-up login window. He wants to start on a page with a form with the username and password fields. … | |
how to create stored procedure with phpmyadmin i tried this codes,its syntex error [CODE]1 DELIMITER $$ CREATE PROCEDURE `TestProcedure`() Begin select * from testtable; End $$ DELIMITER $$ or CREATE PROCEDURE `TestProcedure`() Begin select * from testtable; End [/CODE] i having mysql 5.1.41 version in my hosting regards rajan | |
after typing in the "Your message:" field and clicking the "Send e-mail", my page refreshes and gives me the error message "Your message field is required." it's as if what i'm typing in the message field gets discarded. also if i type something in "Send to:" and "Subject:" fields and … | |
Is there a way avoid the appearance of notice msgs in PHP (in the executed page)? If yes, what's the method? | |
hi, i am developing a website of reading newspapers and magazines..in a page where it shows 6 different newspapers in grid view in horizontal view in tablet, same page when twisted vertically should show only 4 in grid view.... how this can be done...any ideas please Regards, Praveen | |
hi, i need copy a local folders and files to a ftp server for example i call this: copy ( $ftpserver, $user, $password , local path + file ); or copy ( $ftpserver, $user, $password , local path / folders / folder + file ); the script must see all … | |
Hello guys, I am using php mail form where visitors contact with the registered site members. Searching for a solution to avoid unwanted spam messages. Is there a way to put in code which deny sending messages from custom mail ids? Thanks in advance. Using this post to great thank … | |
hi guys i want to add a plus sign or image instead of textfield to brows my file.is there any way to perform this functionalty | |
hi, i want to alert (javascript dialog) after user clicks the submit button, then process it with php and then show the alert after the body has reloaded (same body after post, just calling the same page. the easy thing to be done, but i'm going mad with it, is … | |
Hi Guys! I was wondering if anyone could shed some light on this problem. I recently changed my login forms ugly default submit button to and image. The problem being that the image is submitting the form but I'm not getting the results I hoped for. It isn't logging me … | |
Below is my javascript validation file which i hv imported in my php form. the problem is the kind of pattern(or function in the javascript file below) i m using in case of name address and username they r validating correctly but they r not including the spaces in the … | |
| |
how to view messages with profile image .anyone help me my profile view page [CODE] <?php require("connect.php"); $username=$_SESSION['MM_Username']; $query=mysql_query("SELECT *FROM members WHERE username='$username'"); if(mysql_num_rows($query)==0) die("User not found!!!!"); else { $row=mysql_fetch_assoc($query); $location=$row['avatar']; echo "<img src='$location' width='100' height='100'>"; } ?> [/CODE] My message page [CODE] <?php require "database.php"; $userfinal=$_SESSION['MM_Username']; // get the … | |
Hello i have checkbox like this at update form but it's appear unchecked [CODE]<input type="checkbox" name="years[]" id="years" value="<?php echo $key; ?>" > [/CODE] i want if it has value at database appear checked any help? | |
I have a code that gives me a unix time ie)1277851200 How would i be able to convert that to x minutes x seconds and so on. (real time) | |
I want to print a particular <td> only in php/javascript need suggestions | |
Hi all, I have been working with shadowbox in joomla which was working correctly but now it is not working as it use to.When i click on a hyperlink in a joomla page the content regarding that link should be shown in the shadowbox,but now it is showing in a … | |
Hi there, I was wondering if anyone can resolve my problem. Just to give you a heads up. I have a page with many input fields like textboxes, select etc. All these input fields are on one line in a table row. The number of rows depends on the amount … |
The End.