- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
Hi, I'm having the problem with this code, gives me "wrong datatype for second argument" error here is the code: [code]<? $page_to_show = 'second.php'; // array of days and hours $working_time = array( 1=>array(21,22,23,0,1),//monday hours 2=>array(21,22,23,0,1),//tuesday hours 3=>array(21,22,23,0,1),//and so on 4=>array(21,22,23,0,1), 5=>array(21,22,23,0,1), 6=>array(21,22,23,0,1), 7=>array(11,12,13,14,21,22,23,0,1), ); if (in_array(date('H')+1,$working_time[date('N')])) { [COLOR=red][B]<-- error … |
|
Re:
Hi again. I've been tackling another tutorial which isn't working fully, basically it lists records in a table and an insert link sends the data to a text field which can then be modified. The data is displayed fine but when selected the form does not recieve the information. Its … |
|
Re:
Hello once again... I have the sidebar and the header common in all the pages which are made in PHP.. The sidebar and the header are in an html.. But when i include them in my current pages(the one made in PHP) than the style sheets of both clash and … |
|
Re:
Hi everyone i am new to php and have recently adapted a php email form and would like someone to validate it for me to make sure that it is correct. [code]<?php if ($_SERVER['REQUEST_METHOD'] != 'POST'){ $me = $_SERVER['PHP_SELF']; ?> <form name="form1" method="post" action="<?php echo $me;?>"> <table border="0" cellspacing="0" cellpadding="2"> … |
|
Re:
HI Can someone please help me. the book sucks, teacher will not help me (says I will not learn), I am trying to calculate Pay check. Just hours worked, pay, and overtime. :rolleyes: [B]Script is as follows:[/B] [code=php]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Calculate Your PayCheck</title> … |
|
Re:
Hi, I was wondering whether PHP being a server side and kind of scripting languages, can be or being used for application/software development just like any other regular programming languages such as c/c++ or java. As far as I understand it is meant for web use only and thus can … |
|
Re:
Hello everyone, I have a MSSQL db with PHP front end. The data in the table is similiar to: "Two spaces" with 2 white spaces in the middle. When I use this code: [code] $sql = "select Name FROM Name_TBL WHERE Number = '$Num"; $rs = mssql_query($sql); $RT = mssql_fetch_array($rs); … |
|
Re:
Hi Firstly I would like to say a quick Hullo to everyone on this Forum and apologize for my first post being a cry for help, I am a very keen though non professional website designer with a very limited knowledge of PHP. Recently a pal took over the running … |
|
Re:
Hi, I have a webpage that displays different info at different times of day, it worked fine until i put flash on my page, i used tutorial on how to remove "click to activate" in updated IE. here: [URL]http://www.gerozahn.de/click-workaround/[/URL] then I tried to use my code to display different info … |
|
Re:
Let me know,how can i pick randomly six numbers in between 6 to 49 output like this :23 44 3 11 21 in php only etc.......... |
|
Re:
Hi all, I'm just learning how to delete records from a test table but I'm having some problems with it. I'm not sure exactly but it looks like it is deleting the last row from the table no matter which record is clicked on. It also appears that it is … |
|
Re:
:eek: Hi friends, i am facing a problem now in php programming, that is i have to list some contents. 10 per each page and there should be checkboxes ex sno item_id ck_box description this information is in 4 pages i want to get the item_id information that are checked … |
|
Re:
Hi I'm working on a site that involves alot of date references. I have already implemented some PHP scripting and includes to make the site more dynamic, but would like to do the same with the date references. I have read about the [color=red]date[/color]() funtion but I'm still a newbie … |
|
Re:
Just wondered if anyone could help me, what am i doing wrong here im trying to cant seem to get $email, $betakey or $userid to show any data i know im missing something but for teh life of me cant think tried everything i could think of fetch etc but … |
|
Re:
Hi, i want to upload a video file (mpeg, mpg, wmv) and wanted to display the first frame of the video as a thumbnail. so video will start to play in a enlarged mode when user clicks the thumbnail view of the video like the google videos. is it possible … |
|
Re:
Hello all, I run simply php scripts on my site that allows people to leave comments, for example here on my [URL="http://www.lifeofamodel.com/america_next_top_model_8.html"]ANTM[/URL] page. I have been trying to incorporate a captcha which works well speperately but I just cannot get it into the comment.php file. The captcha works if I … |
|
Re:
I am currently responsible for a set of server units. Recently, the group of users working with one of these units informed me that they were having problems with a php-based report generating program. I did not write the program; my predecessor did. I did manage to track down the … |
|
Re:
Hi everyone, I'm new to PHP and I am trying to get to grips with the PHP scripts that have been created for my website. One of my pages is a list of destinations and one of the places is Cote d'Azur. When it publishes the destination on the dynamic … |
|
Re:
Hello All, I am a PHP newbie and have all my resources set up( by that I mean PHP,Apache server etc all working fine) I have an html file and a PHP script to handle the inputs from the html form. However when I hit submit to send the data … |
|
Re:
Hello, i am creating a simple website for a friend. There is a download page that waits 3 seconds bafore redirecting the user directly to the file. I dont want to make a redirect page for each file. so i figured i could put this in the url: [HTML]download.php?dlurl=URL OF … |
|
Re:
I have a script that has the code similar to the following: [code] if((isset($_POST['somefile'])) { header("Location: http://www.url.com/somefile.pdf" ); } [/code] This evaluates the selections of a form and will open the pdf file if the 'somefile' option is checked. Now what I'm needing is basically two seperate IF statements to … |
|
Re:
Hi, The code below is to copy the files from one dir to another. here in the function dircopy $verbose is set to false. and later a action is done when the $verbose is true. in between there are no actions that are setting the $verbose to true... when do … |
|
Re:
I am creating a login sessin in php. In first part index.html takes in text for AUTH_NAME and password in AUTH_PASSWD. In the login.php I set these variables as global with session_register("AUTH_NAME") and session_register("AUTH_PASSWD"). code: index.html [PHP] <html> <center><h2>Login</h2> <form action=login.php method="post"> <table align=center> <tr><td>User</td> <td><input type=text name=AUTH_NAME size="20"></td></tr> <tr><td>Password</td><td><input … |
|
I've been testing on uploading files and I encountered a weird bug while testing it out because on the initial uploading of the file, my localhost uploads it to the root directory of my xampp rather than in the directory inside my htdocs folder. To make things clear here's what … |
|
Re:
Hi all,, the problem is that i have a link in jsp on which i have to open a new jsp page and at that time i want the parent window to be closed ...without any alert to be displayed... plzz help |
|
Re:
My javascript code works in IE but not in Firefox. Is there anyone that can help with this. If so, I can post my script and see where the problem is. I haven't used javascript for long so my experience with it is limited. Cannot figure out what it is … |