39,320 Topics
| |
hello. i have a code that looks like this: [CODE]$localdir = 'C:/somedir'; $dh = opendir($localdir); echo '<table><form method="post" action=""><input type="submit" value="Add checked" name="doneA" />'; while(($files = readdir($dh)) != false) { if ($files != "." && $files != "..") { echo '<tr><td><input type="checkbox" name="' . $files . '" /></td><td>' . $files … | |
Hi all! I need some help. What I need is, to make a listbox, and fill it from a mysql database, which contains users from my website. The idea was, to select two or more users from that listbox, and after hitting a submit button, I would see the comments … | |
Hi, I'm trying to make a custom search form in Concrete5 CMS. Without any help on their forums, I thought I could make a workaround for now. From what I understand, I can make a search form with an input field <input name='query' value='' /> which works absolutely fine, and … | |
I was wondering if there was a contains word to use with a mysql query, my current query is : //$query="SELECT * FROM $table WHERE date = '$selecteddate' AND Style = '$selectedstyle' AND Platform = '$selectedplatform'"; but the $selectedplatform isn't always the only thing in the Platform column, I just … | |
All arguments aside from using $html->tag() instead of <tag> ... I'm a trying to create a table to display photos I'm pulling from the database and something is amiss. When I was testing this I changed $num_cols to 2 and it ended the row and started a new one after … | |
hello.... it could be interesting.......my frnd asked a question to me...on if else condition. for suppose... [ICODE] <?php if(Condition) { echo "hello"; } else { echo "world"; } [/ICODE] it is the question. she asked me how to write condition for print hello world. | |
Hey guys, Im new to php and i have been given a question which i dont understand: --Create a PHP page that will display the content of each of the fields of the customer table of the warehouse database. Save the file as task3.php.The following code will be helpful (you … | |
Hello, i think the title describes exactly what my problem is. Please if anyone knows something post. | |
Hello! I'd like to ask a question, and I guess the simplest way to explain what I want is to simply show you the [URL="http://lace.forthesky.org/wardrobe/angelicpretty/op"]page[/URL]. See the sort by list? I simply want to sort the entries by year, which I did succeed with, in a way. The problem is … | |
I'm new to PHP and trying to learn a bit about classes. In most languages if a class member is private, it is accessed through a property which itself has an accessor. So there is a separate accessor for each property It appears in PHP that the __set accessor is … | |
Hi all i am newbie in PHP I would like to learn how to create simple admin panel via PHP if possible pls help me i am very in need of this script with explanation Thans beforehands | |
Hi, I was wondering if some of you guys could give me some advice. I have a normally setup websites for clients on a reseller account from a hosting company. However I was looking at setting up my own PHP/MYSQL server in a new office. We are looking at business … | |
I am creating a page of articles for a site i'm working on. The current page i'm creating needs a list of articles by date. I want to have it list the year the article was posted as a header then list only the entries for that year underneath. I … | |
I'm having a hard time getting this to work! I currently have 3 dropdowns. The 1st one will open up the 2nd 3rd ones. The 2nd one has just 1 value and the 3rd one has about 60 values the user can choose from. Then they fill in a text … | |
I am trying to create an email form that allows the user to subscribe or unsubscribe to an email list. It goes bad at line 25. This is what I have so far: I can not figure out how to write the unsubscribe part. I used if/elseif/else: 1 <?php 2 … | |
Hi Guys, I need your help. I have fedex address validation code downloaded from FedEx. The code works fine at this moment. Have you implemented the code in such a way so that it will tell you exact error / problem in validating address. Like, Invaid home address Block number … | |
i need help :( i'm trying to create an external menu with rollover images i'm using php include() the javascript for the rollover images is written into the <head> of every page and the included file contains the revelant html.... .... the rollover doesnt work. it says 'done, but with … | |
I have built a mobile website that searches my library's online catalog. Most things work fine, but I am hung up on multiple page results. For instance, if you search the catalog for "The Beatles" ([URL="http://bit.ly/cl2RkN"]http://bit.ly/cl2RkN[/URL]), I can't provide access to the second and third page, or get the results … | |
Hey everyone. I am looking to get some books to help further my education on web development. The difficult thing is finding one that suits me. I know the "basics" of programming (strings, lists, arrays, variables, classes, functions, etc) and so a book that is three-quarters full of basic programming … | |
Let see, who will solve this problem before i can... Problem is that values are getting update but in response, it is not showing the update values back on page. [CODE]<strong>Update multiple rows in mysql</strong><br> <?php $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="newdb"; // … | |
I am beginner php programmer.How can i create dynamic link without using database in php page. For example I have creat a form. When user enter the data and click submit. I want to display submit page in same page. My form page is: [url]www.mysite.com/form.php[/url] and i want to create … | |
hi all, i had done a logout page. so wen we click on logout i am getting out but wen i click on back button i am again going to my account. so wat can i do..any idea...? thank u.. ---logout.php---- [CODE]<?php ob_start(); @session_start(); require_once ("check.php"); session_destroy(); echo "<strong style='color:#FF3333'>"."<left><h1>Successfully … | |
Hi all. I am completely new to PHP and MySQL and this forum, so I hope someone can help. I have just installed xampp (completely out of the box as it were) and am having problems with a simple script. The script is below [code] <?php ini_set('display_errors', 1); $connx = … | |
I've got a function for making input safe. One takes from a textarea on a form. The problem is when someone types a few paragraphs in it, using regular sentence stuff like ( ' , . () ? ) it kicks it out and gives them my error message. How … | |
Hello Everybody, i m new one in php/mysql, i created my database with the name of air_data, and in table i created 4 fields, in which one is "date", in every row i have different dates, now i trying to find out those "date" records for which i m searching … | |
hi iv got phpmailer and recaptcha together but im stuck. iv integrated recaptcha within my php form and im stuck on this part where it validates recaptcha and then if success i want it to submit the form to phpmailer. please see the following code [CODE] // redirect to success … | |
hi all, i need a link 'delete' so that wen i click on that link button that selected name should get delete. i know somewhat to write delete code but how to make it in a link..? can any one... Thanks in advance. | |
hi all, i dont know what the error with this program.I cannot get the value. -----sample.php--- [CODE]<?php ob_start(); @session_start(); require_once ("damn.php"); createsessions(sex); ?> <html> <body> <form action="sample2.php" method="post"> <input type="radio" name="sex" value="male" /> Male <br /> <input type="radio" name="sex" value="female" /> Female <input type="submit" name="Submit" value="Submit"> </form> </body> </html>[/CODE] -----sample2.php---- … | |
hello.. i am clicking url which redirects to my webpage. for example user is not login to that site then it redirects to login page. up to there its fine. after user login how can i redirect to requested page? | |
what's up? I have the following php code: [CODE]<?php //chose the file $file = 'C:\Program Files\EasyPHP-5.3.2i\www\test\dump.txt'; //open the file in writeable mode $data = fopen($file, 'w'); //add the new element to it fwrite($data, $data.'gagi'); //close the file fclose($data); ?>[/CODE] I expect it to keep whatever is in the file and … |
The End.