39,326 Topics

Member Avatar for
Member Avatar for Xufyan

i was reading tutorials about php date() function, i wonder how could i write the code that show total number of days of my age till today ? but i am stuck here, [CODE]<form method="POST" action="<?php echo $_SERVER['PHP_SELF'] ?>"> Example: 2010/18/12 </br> <input type=text name="year" value="Year">/ <input type=text name="day" value="Day">/ …

Member Avatar for karthik_ppts
0
87
Member Avatar for rakibtg

hello there, i need a customized free website pagerank checker script. This script may be in php but i need to extracts all data in a .html page. is this types of script available for free or any idea thanks

Member Avatar for karthik_ppts
-1
56
Member Avatar for marinaa

Can anyone suggest me about do loop while loops functionality in php..? Or any tutorial site for online php learning ?

Member Avatar for karthik_ppts
-1
46
Member Avatar for 7kemZmani

I am working on a form that contains multiple checkboxes (each with its own value). The last checkbox is marked "Other" and, when it is checked, a text input should appear to let the user write his/her own value. [CODE]<input name="pVital[]" type="checkbox" id="pVital[]" value="I &amp; O" />I &amp; O<br/> <input …

Member Avatar for IIM
0
121
Member Avatar for RJFoster79

[b]Index.php[/b] [CODE]<?php include ('Secure_Page_Script.php'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Crusade Gaming | Home</title> <link rel="stylesheet" href="style.css" type="text/css" /> </head> <body> <br /> <br /> <table id="Header" border="0"> <tr> <?php include ('template/Sub_Header_1.php'); ?> <?php include ('template/Sub_Header_2.php'); ?> </tr> </table> …

Member Avatar for RJFoster79
0
139
Member Avatar for knitex

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 = …

Member Avatar for diafol
0
113
Member Avatar for ppetree

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 …

Member Avatar for ppetree
0
119
Member Avatar for shadowscape

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 …

Member Avatar for shadowscape
0
97
Member Avatar for abhi10kumar

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 …

Member Avatar for almostbob
0
207
Member Avatar for minitauros

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 …

0
66
Member Avatar for Jiaxin

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?

Member Avatar for atfOnly
0
155
Member Avatar for Charles1620

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 …

Member Avatar for n_e
0
113
Member Avatar for Espenij

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]

Member Avatar for karthik_ppts
0
54
Member Avatar for aru211285

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 …

Member Avatar for aru211285
0
151
Member Avatar for vaibhav1983

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 …

Member Avatar for blocblue
0
76
Member Avatar for Siberian

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.

Member Avatar for MooGeek
0
191
Member Avatar for calebcook

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!

Member Avatar for chrishea
0
2K
Member Avatar for webdi

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. …

Member Avatar for Stefano Mtangoo
0
200
Member Avatar for rajandass65

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

0
50
Member Avatar for gambit_1607

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 …

Member Avatar for almostbob
0
325
Member Avatar for utthu

Is there a way avoid the appearance of notice msgs in PHP (in the executed page)? If yes, what's the method?

Member Avatar for almostbob
0
106
Member Avatar for praveen_dusari

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

Member Avatar for pritaeas
0
116
Member Avatar for srdva59

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 …

Member Avatar for diafol
0
175
Member Avatar for Tigermes

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 …

Member Avatar for diafol
0
420
Member Avatar for extemer

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

Member Avatar for Zagga
0
67
Member Avatar for guillem_bcn

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 …

Member Avatar for guillem_bcn
0
5K
Member Avatar for public-image

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 …

Member Avatar for Zagga
0
181
Member Avatar for jollyjain

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 …

Member Avatar for divyakrishnan
0
103
Member Avatar for naru vaishnaw
Member Avatar for naru vaishnaw

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 …

Member Avatar for diafol
0
218

The End.