Forums Page 43
-
I am stumped
OK. Here is what I am trying to do. I have the conditions set, and if the conditions are met, I want to randomly find a user id, and username from a…
-
Help adding strtolower( to my in_array
strtolower i need to add it to this to work, iuno how. Code: $moderators = array('Admin', 'banana', 'orange'); if…
-
Stats of viewers
Hello. I have a website in php and people can login. I want to make an admin control panel where u can see how many people are currently logged in…
-
How to Detect it is public_html or httpdocs?
How to check whether it is cPanel or Plesk? If it found public_html perform <?php include("callcPanel.php"); ?> Else if found httpdocs perform…
-
calculator
I can't figure out why this code doesn't work. No error messages. Page loads. Code: <?php # Script 3.9 - calculator.php $page_title = 'Widget Cost…
-
Parse String
I need to parse the string below into three variables. How would I do that? john + 10/20/2008 - 10/30/2008 + and - are separators
- Advertisement
-
Parse Error Help
Hello, I got the parse error "Parse error: syntax error, unexpected ',' in register.php on line 21 Heres the code: Code: <body bgcolor="black">…
-
Accessing element of object array
Hello My object looks like this: Array ( [0] => User Object ( [id] => [username] => [password] => [title] => [firstname] =>…
-
help with variable
I've got a problem, i want to echo some images depending on the $id, however for me to get that id i have to extract it from a query. So i've done…
-
Save file by click
Hello. I'm not understand how to save file from page. I'd like make link to file with save ability. <?php chdir('upload/'); foreach (glob("*.*")…
-
How to display value in drop down list after form has been reloaded
Please bear with me as I am very new to php and html. I have a form with several drop down menus, the one at the top shows a list that when an item…
-
Redirecting Admin
In my members table, I have a field called "perm" and it's set to zero for all members. However, I have two administrators, and theirs are set to 1…
-
Track downloads' status
Hello, I need to make somehow, some system, to track whether downloads are completed or failed. I tried to make this via php. Tried to limit the…
-
Basic Question Regarding PHP Includes
Hi Just starting out with PHP. Working on a site that uses some basic includes, these are working fine for all my files in the root of my site as the…
- Advertisement
-
unexpected T_STRING
error log "[Sat Jan 09 18:27:58 2010] [error] [client 127.0.0.1] PHP Parse error: syntax error, unexpected T_STRING in C:\web\htdocs\Filey\2.php on…
-
Just cannot get 'area' to submit to db using same php code as already used
Basically all i have done is just modified some code and added an area section. The form is allready submitting other things like location price etc…
-
Displaying a record from mysql in a simple swf file
Hi, I have a mysql database containing information I would like to display in my swf. Using php can anyone explain how I might do this? I just need…
-
re calling a function without including file
Hi, i am new to programming in php, i was just checking the wordpress code and found out in the wordpress code they are calling the function…
-
Count Session and Trigger Events
I am New in PHP, seeking a method to count logged users by counting the sessions or any …, is there any way to do it without using a database, and…
-
How to submit a form to the same page?
I have a table containing information about books in my library and this table has the following columns: id, title, category. What I want to do is…