39,320 Topics

Member Avatar for
Member Avatar for lordx78

Just wanted to ask you guys how to properly call HTML tags into php. e.g. [code=php] echo "You are not authenticated. Please login.<br><br> <form method=POST action=admin.php bgcolor=\"C0C0C0\"> username: <input type=text name=\"username\"> password: <input type=password name=\"password\"> <input type=submit> </form>"; [/code] As you can see above, the developer has design a form …

Member Avatar for lordx78
0
111
Member Avatar for evios

i'd created a login page, where user need to enter their username and password here, stored in [code] $username = $_POST["name"]; $password = $_POST["password"];[/code] then after submit button being pressed, the username will show in welcome.php, which is the action for the submit button. From here, the user will have …

Member Avatar for evios
0
126
Member Avatar for sufiguy

i am stuck in a prob... i wanna dat wenever i send a msg to ma frnd(i do coding in php), a popup or a bubble type msg appears on his screen without page refresh... Please please please please please please help me..... can u get me outta this prob:'( …

Member Avatar for sufiguy
0
92
Member Avatar for cancer10

Hi, This is an interesting question (in my humble opinion). I am trying to create a forum in PHP. So there is a "Post a new Thread" link, clicking on which would open a textarea field for posting a message and a textbox for the "title". Now, I dont want …

Member Avatar for ryan_vietnow
0
199
Member Avatar for carobee
Member Avatar for m.cliter

Hi, I have a long list of options( 60 option) where user can selecte none or all of them. the code is like that [CODE] <selecte name="list"> <option value="1">option</option> ... </selecte> [/CODE] and I have to display it again as a list ( <li></li> ), my question is what the …

Member Avatar for johnsquibb
0
142
Member Avatar for chicago1985

I need to do an SSI include in my PHP web page located on a Unix web server, but cant seem to get it to work. [code] <!--#include virtual="http://anotherServer/thepage.asp" -->[/code] Please advise.

Member Avatar for somedude3488
0
90
Member Avatar for whoisit

Hi I have a website of poetry, what I would like is for users to be able to leave comments on the poems they've read, I already have a system for voting on a poem but I thought it might be nice to be able to leave a small comment. …

Member Avatar for nav33n
0
107
Member Avatar for dami06

Hi, could someone please tell me how to about putting a login name to the homepage of a user when they sign in. for example, after they have logged in using their username and password. Their name would come up in the homepage, like welcome Amy. This is my checklogin.php …

Member Avatar for dami06
0
104
Member Avatar for Scottmandoo

I know this one gets asked a lot but after reading about 5 topics about this I still can't figure out what i have to do. Can anyone help me change this script so it will upload images, then tell if there is a specific way to display them or …

Member Avatar for silviuks
0
72
Member Avatar for kishou
Member Avatar for silviuks
0
84
Member Avatar for evios

i am new to PHP. instead i learned the basic from w3schools and tizag. i'd created a registration form-like page using php tags, however when i uploaded to a php-based web hosting, i cant see anything..it juz show done in the browser status with blank page. Anyone kind enuf to …

Member Avatar for nav33n
0
160
Member Avatar for pink_zippy_123

Hi, Basically I am quite new to php but am currently connecting to a database and am trying to send data from one web page to another using the information selected in a hyperlink. The first web page contains a table populated will all options within the database e.g. if …

Member Avatar for digital-ether
0
1K
Member Avatar for web_lock

I'd like to create a desktop widget for a PHP application. Any suggestions / insights on how to go about with it.

Member Avatar for orko
0
83
Member Avatar for amin007

i have 1 question if new member (girl) open thread and 3 member reply hwo thread between 3 member come first???

Member Avatar for orko
0
117
Member Avatar for lydia21

hi i want to print some retrieved data base content in the body(for email) please tell me how to do tat......... $body1 = "Your Resume Titled" $restitle "which was posted on " $day"; i want to know how will the syntax for sent be wen there is BCC and CC …

Member Avatar for orko
0
136
Member Avatar for irfani

i try to building graph with charts swf (flash) from query table i have 2 field like year,num, i want result from script like this $chart [ 'chart_data' ][ 0 ][ 0 ] = ""; $chart [ 'chart_data' ][ 0 ][ 1 ] = "2001"; $chart [ 'chart_data' ][ 0 …

Member Avatar for johnsquibb
0
79
Member Avatar for billah_norm

Is there anything or keawords in PHP from which I can break or continue from a LOOP in PHP?? in C for(i=0;i<=100;i++){ statement1....; statement2....; if(condition1) break; else continue; statement3....; statement4....; statement5....; } I need something like this in PHP.. Can anybody Help me?

Member Avatar for johnsquibb
0
149
Member Avatar for indiansoil

I want to test my ASP or PHP scripts by hosting my web pages. Could anybody tell me where can I find a free web hosting service so that I can use ASP or PHP scripts and do my practice of database connecvtivity using ASP/PHP?

Member Avatar for Suetan
0
696
Member Avatar for akhoa168

Hi everybody! I have a trouble with my work. I have a file data CVS, and i want to cover to a table in mysql. But in my file CVS have some special character : /t, ", Please help me! Thank a lot! mysql>load data local infile 'price.csv' into table …

Member Avatar for subashvns
0
72
Member Avatar for tie372

I am making a website and I do not want it to have any URL extensions on it. For instance, when all links are clicked on instead of going to blah.com/bleh, the page goes to blah.com. How would I achieve this using php? With hidden forms? I will post an …

Member Avatar for MattEvans
0
88
Member Avatar for rickarro

Does anyone know if its possible to update an item on a web page by using a form. Lets say I have a web page that has several different headings with a paragraph of text under each heading. I would like the owner of each heading to be able to …

Member Avatar for rickarro
0
122
Member Avatar for drlego

I am total newb here, so bare with me. In the code below I would like to make the output of the 'url' an actual link. <td><?php echo $row_thisone['url']; ?></td> Can someone please tell me the proper syntax. I have tried many things with no luck. Thanks in advance! Here …

Member Avatar for somedude3488
0
2K
Member Avatar for zanzo

hello, i learned recently how to use hidden variables, and its features. but i have some problems when i use more than 3 values :S this is a portion of the code: [code="PHP"] <?php $hidden = $_POST['action']; if ($hidden==0) //present the form, note the value of hidden { ?> <form …

Member Avatar for zanzo
0
3K
Member Avatar for lordx78

[code=php] <?php session_start(); session_unset('YourVisitID'); session_destroy(); header("location:index.php"); ?> [/code] I've use the code above to destroy my session after login, but instead of destroying it, It creates another session called 'PHPSESID'. I'm using XAMPP localhost. Please advise.* * page redirection works fine

Member Avatar for nav33n
0
1K
Member Avatar for kings
Member Avatar for nav33n
0
161
Member Avatar for Suetan

This is just something that I'm working on for my own website. Could someone please check this over real quick to see if I have any major errors in it? [CODE=PHP]<?php /* index.php created by Suetan Start Date: Wednesday January 9, 2008 Project: RPGCMS Version: 0.0.1a */ define('IN_RPGCMS', true); $root …

Member Avatar for Suetan
0
202
Member Avatar for dami06

Hi Guys, I'm trying to create a webpage where it's meant to get some information which i put in the database and then show in the webpage but it's not getting the information. Could you please take a look at my code and tell me if there is a problem …

Member Avatar for dami06
0
178
Member Avatar for JeniF

Hello all, I have a form that contains checkboxes to update a database with either "Yes" or "No" based on the user selection. The check boxes are in an array with the values set to a "LinkID" example: [code=php] <?php //find the user's assigned links $rowlink=$row_rsUpdate['LinkID']; mysql_select_db($database_mambo, $mambo); $query_rsAssignedLinks = …

Member Avatar for JeniF
0
310
Member Avatar for lordx78

[code=php] <?php // connection to MySQL server mysql_connect('localhost','root',''); mysql_select_db('administration'); if (isset($_POST['submit'])) { $loginUsername=$_POST['username']; $loginPassword=$_POST['password']; $MM_redirectLoginSuccess = "validated.php"; $MM_redirectLoginFailed = "admin.php"; $MM_redirecttoReferrer = true; mysql_select_db('administration'); if(empty($_POST['username']) && empty($_POST['password'])) { die('<div class="error_up">Both field was blank</div> <br><br><div class="footer_padding"> &copy; Copyright Cycle Tracks <span>®</span></div> '); } if(empty($_POST['username'])) { die('<div class="error_up">Username field was blank</div> <br><br><div …

Member Avatar for nav33n
0
84

The End.