39,393 Topics
![]() | |
[code=php] <?php //echo "You have been successfully logged out. echo "You have been Successfully logged out.<br><br> <img src='../images/goodByeC2.png'/> You will now be returned to the Main page. "; ?> [/code] Why line 4 is not working, please advise. | |
[code=php] <table align="left" style="width: 764px"> <tr> <td> <?php $con =mysql_connect("localhost","root",""); mysql_select_db("administration",$con); $list=mysql_query("SELECT * FROM cycles"); echo "<table border=1>"; echo "<tr>" ; echo "<td align=center style='color:red'>CID</td>"; echo "<td align=center style='color:green'>Brand</td>"; echo "<td align=center style='color:red'>Type</td>"; echo "<td align=center style='color:green'>Style</td>"; echo "<td align=center style='color:red'>Model</td>"; echo "<td align=center style='color:green'>Gear No</td>"; echo "<td align=center style='color:red'>Frame</td>"; … | |
hi for all the PHP experts here, i have couple of questions that keeps me feel frustrating.. first of all, may i know how to insert a link within PHP echo? for example, i have a function which is used to validate the username, if the username is incorrect, i … | |
Dear all, I have a string array “$query_string1” having the value (reg_personal.personal_sex=’Male’) I want to pass this value through the URL for the use of pagination.. For that I used the command “<a href='{$_SERVER['PHP_SELF']}?pageno=1&query_string=$query_string1'>First</a> When I am clicking on the Link First the passed query string contains only “Reg_personal.personal_sex=” It … | |
Now I'm editing a PHP contact form to get visitor's comments to my e-mail. 03 fields are there as Name, E-mail and message. If visitor fill the e-mail field as yahoo.com or hotmail and any other famous mail server addresses, I can't receive that comment. Please give me instructions to … | |
hi i want to attach documents with the email.i have a field in my db which contains the path where the file is stored.when the user want a particular doc ....i want it to fetch from the database and send it to their email address.................. | |
Hello, I am trying to protect some files from anyone typing in the url and being able to view them. Particularly FLV files. So I have placed them in a directory one level up from web access. However, now I can't use my flash player to access them since they … | |
Hi all, I'm having the problem while using the [URL="http://24ways.org/2005/edit-in-place-with-ajax"]edit-in-place scripts [/URL] from internet. It's ok when i just used for one text id, but after i added a while loop because of multiple items and it become only the 1st text id content works. So below here i post … | |
[code=php] <?php // connect to database include("inc/connect.php"); // include auth and nav include("inc/auth.php"); // begin content //include("inc/nav.php"); // close mysql connection //mysql_close(); // Check if the form has been submitted. if (isset($_POST['Submit'])) { //require_once ('mysql_connect.php'); // Connect to the db. $errors = array(); // Initialize error array. // Check for … | |
hi all! i want to advice you very good tool its mp4Mobile >link snipped<! very helpfull prog,works with all common video formats...so you can simple put your video into your ipod iphone mobile psp!and has demo without timelimit!so you can use it for free! if you have questions plz ask … | |
how we can get the value from another page, not from $_POST or link id. | |
list of first drop down menu get from database mysql, and list of second drop down menu is according category what first drop down menu select. example case: we have two drop down menu. first list (funny, action,drama). when i select funny, list of second drop down menu dinamically display … | |
Dear all,, As i used to display pagination along with searching the script work first time correctly and When i try to see the first or previous page this error message is occuring... What is the error in this ... Second Query= SELECT SQL_CALC_FOUND_ROWS * FROM reg_personal inner join reg_english_level … | |
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 … | |
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 … | |
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:'( … | |
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 … | |
is it possible to disable a button through php script? | |
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 … | |
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. | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
I'd like to create a desktop widget for a PHP application. Any suggestions / insights on how to go about with it. | |
i have 1 question if new member (girl) open thread and 3 member reply hwo thread between 3 member come first??? | |
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 … | |
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 … |
The End.