- Strength to Increase Rep
- +3
- Strength to Decrease Rep
- -0
- Upvotes Received
- 4
- Posts with Upvotes
- 2
- Upvoting Members
- 4
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Making sites is nice and fun but what if you don't want everybody too see something like an admin panel or maybe a special button. Well this tutorial helps you understand how to add a password to a php site in a simple manner. There are two techniques you can … |
|
I am having an issue at with the browser refresh button. For some reason when I go to a page and click refresh it takes me back to wherever I started. For instance if the user goes to the Home page first then goes to Projects and then clicks refresh … |
|
I have got wamp server installed i was running perfectly but now suddenly it is nt starting it is showing loading process. I have uninstalled it and again installed still same problem... plz help me |
|
Hi, I need to exclude any rows where the ASX_Prices.Date is a weekend. The date format is yyyy/mm/dd 2013/03/17. Ideally I would like to add another WHERE clause. WHERE ASX_Prices.Date !=weekend date????? $sql="SELECT Distinct ASX_Prices.ASX_Code, ASX_Prices.ASX_Price, ASX_Prices.Date, Company_Information.Company_Name FROM ASX_Prices, Company_Information WHERE ASX_Prices.ASX_Code = Company_Information.ASX_Code AND DateDiff(now(), ASX_Prices.Date)<=7 ORDER BY … |
|
Hi All, This has become a very tedious process and I am hoping someone can help me simplify things. I run the below php command to retreive all the stock prices and then it prints it to the screen like this: stockcode price AAA $1 BBB $2 CCC $3 It … |
|
Hi, This has been troubling me for the last hour and I cant think of a way around it. My SQL table looks like this: **Name, Cost** Matt, $5.00 Carl, $4.50 Tom, $6.00 Tom, $7.50 I need to make a query so that it puts anything with the same **Name** … |
|
Looking for php coders.I am looking for php coders for a online game i am curretly making with a friend.Once the game is up and running we will be having a store where players can upgrade their accounts with points which they will be able to buy with paypal or … |
|
How would I create a page using php on the click of a button and name the file in a form so like The Form Name of File:|_____________| Submit - This is the Button. And how would you show a files script and I know it might not be safe … |
|
Hi, I need some help with building a search form (my first time with coding a search), and I need to make it work similar to the one on this link: http://www.lexpressproperty.com/en/buyinmauritius.html Anyone can help me with finding tutorials/examples on how to do this? |
|
please help me...i need some help from you all....because i still new in writhing php code. thanks... actually right now im doing a vote list name member for the committee members. so, the name for the list Committee members i take from my database. After that, i want when the … |
|
Hey Guys, I have an issue with my checkbox and the values that are posted to the next page. The issue is that each time the checkbox is clicked it just adds another value. example - if i check it and uncheck it and check it again i will get … |
|
Hello, I'm trying to create user registration for a class website using WAMP. I have the register and activation pages working, but I am getting the same error for login, logout, forgot password, etc pages. The error is: An error occurred in script 'C:\wamp\www\login.php' on line 42: Cannot modify header … |
|
Not sure if this is a PHP problem or IIS7 issue: My form is used for editing client information, and it has worked flawlessly for the last year until now. Some clients have more "Notes" about their file than others, and recently clients with a lot of "Notes" have been … |
|
hi all i want to create facebook like iamge gallery in my website. i.e. as facebook displayes images, i want to display images in the same way in my website |
|
I am a web developer and i have been asked to create a website using google maps with search results like this: [url]http://www.hotelsneargolfcourses.co.uk/hotels-near/mid-kent-golf-club[/url] Where do i start? Thanks |
|
Hi, I am now try to fixing the error in my update form but I still cannot find where is it. Can anyone help me with this problem? There is no error occur but the form cannot update to database and also appear the blank form. These are my code … |
|
Hey guys, I have a question that I need an answer to: How do you display a person's name and score? Say, for example, a user takes a quiz and gets 80% on it. I want this information to be displayed on the side of the screen for everyone to … |
|
-upload.php- [CODE]<table width="500" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC"> <tr> <form action="rename.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <td> <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF"> <tr> <td><strong>Single File Upload </strong></td> </tr> <tr> <td>Select file <input name="ufile" type="file" id="ufile" size="50" /></td> </tr> <tr> <td align="center"><input type="submit" name="Submit" value="Upload" /></td> </tr> </table> </td> </form> </tr> … |
|
I use the Select form to update the orderstatus field from the table. [CODE]<?php session_start(); if($_SESSION['usertype'] !== 'admin') { header("location:index.php?page=loginpage.php"); } include('includes/ordercontrolbuttons.php'); include('includes/connect.php'); mysql_select_db("al",$con); $result = mysql_query("SELECT * FROM orders"); echo "<form action='orderstatusadmin.php' method='post'>"; echo "<table border=1 cellspacing=0 cellpadding=5 class='orderlist'>"; echo "<tr><th>Order Number</th>"; echo "<th>Name</td>"; echo "<th>Order Detail</th>"; echo "<th>Order … |
|
Hi! I'm start learn php and i have few problems what i can't fix it. Before i say what is my problem, YES i have search for my problem in google and other. So my question is how to make 1)table with few data column and after few column i … |
|
Hello I'm new to sql (sql 2000 database) and i'm trying to get two simple things. I have two sql queries that i run in order to display a result and to update another one. The queries that i run in sql query analizer are: 1. select memb_guid from MEMB_INFO … |
|
Hi, I want to authenticate user if he/she successfully logged in before or not, in every pages. Obviously on top of the pages I have to call a function or another page to run that function to carry out checks but, I really don't know what kind of code I … |
|
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\Lcbo\flash_import.php on line 6 this is the error i get from this code: [CODE] require_once("Connections/LCconnect2.php"); $myquery = mysql_query("SELECT pro_brand FROM product_information ORDER BY pro_id DESC"); print "&winetitle="; while($row=mysql_fetch_array($myquery)){ //<----line 6 print $row['pro_brand']."|"; } [/CODE] is it something to do … |
|
Hi all, was just wondering what is the difference between $_GET[''] $_POST[''] $_REQUEST['']? I normally use $_REQUEST[''] to get my values from a form or url, but not too sure why there is 3 different types. from what i understand, they are all the same and do the same thing … |
|
I know this is kind of silly but I am getting confused and don't know where to add the OnSubmit function which is supposed to open the SaveEvent.php file (its in the www directory). As of now the code doesn't work. As in nothing happens when I click the submit … |
|
Hi, I'm a bit of a noob with PHP. I am trying to retrieve information from multiple tables with the following code [CODE] <?php function check_input($id) { // Stripslashes if (get_magic_quotes_gpc()) { $id = stripslashes($id); } // Quote if not a number if (!is_numeric($id)) { $id = "'" . mysql_real_escape_string($id) … |
|
I have an html page that gets data from 'hs_hr_employee' table and lays the info in a table on a web page. Then I have another table 'rights' which gets info from 4 columns from the 'hs_hr_employee' table and stores them in columns. In addition to those 4, the 'rights' … |
|
Hello, I am really new to PHP, so sorry if this is way too basic. I followed this tutorial: [url]http://net.tutsplus.com/tutorials/php/online-file-storage-with-php/[/url] and I created a simple online storage app for my website. How would I be able to make it so that I can delete the stored files? Thanks |