39,310 Topics
| |
So... I have a 2 Table (mysql) Db. Table 1 = (sub)Menu, Table 2 = Images per (sub)Menu. Typical scenario - new.php - loads a form with a MENU ADD form, and a List of current Menus (with Edit and Delete). Edit loads Edit.php, with MENU Edit form (id got … | |
Hello daniweb. I am currently involved in a project were we need to be able to generate confirmation mails, our original thought was to code an html mail, but we quickly deserted that idea. Therefor I need a powerful yet simple PDF class for PHP. I have no greater interest … | |
this problem is too old with me please try to help I made online users table in db and when user is logging in . the code is [COLOR="Red"]$sql="insert into online_users(username) values('".$_SEESION['username']."')"; mysql_query($sql);[/COLOR] but I couldn't specify the users who went offline to delete them from the table please help … | |
please help me with this:), what i wanted to do is to retrieved all the values in table per row. how do i do this? in checkboxes.please help. heres my code: [CODE] echo "<td><input type='checkbox' name='enrolldis[][][]' value=''></td>"; echo "<td>$secname</td><td>$subjcode</td><td>$subjname</td><td>$schoolyear</td><td>$room</td><td>$days</td><td>$sectime</td><td>$slotavailable</td><td>$unitload</td>";echo "</tr>"; [/CODE] how do i put values in arrays of checkboxes? … | |
hi every body I have written a code for deletion of records from database. my navigation path is like this 1. [COLOR="Green"]member.php [/COLOR](for selecting the delete option from menu) 2. [COLOR="green"]deleteadministrator.php [/COLOR]( for entering id of customer and search for the record if reord found then to click on delete … | |
Dear Php Experts I created few php file : [COLOR="Green"]Login Page - loginform.php[/COLOR] this page takes user id and password and fetch department from database then it post them to : [COLOR="green"]Checking File - userchek.php [/COLOR] where session is created if id password and every think goes fine other wise … | |
I have a contact information form where users come and fill their info. There are different fields on form like name, email, phone no. ect. i don't want to let user to enter that detail again and again. i want to set cookies so when he/she will open that form … | |
How to use Ajax for thumbnails navigation.The thumbnails have been genereted by PHP. | |
Hello Every on i have wrote some scripts for my website and i am getting Undefined variable Notices on a couple Variables like exampled below [CODE] $i = 0; foreach($value as $row) { $content .= "<option value=\"".$i."\" ".$selected.">".$row."</option>\n"; $i++; } [/CODE] now every time i view the page with the … | |
Can ignore other post not sure why i closed it, not solved lol, not enough coffee too much looking at php anyway. I have this form I'm working on and found something interesting attempt1 this way works exactly how I want, which is nothing in the input boxes and no … | |
if i have following link [CODE]<a href="#Next/?s=5">Next Value</a>[/CODE] If i click on Next Value the address bar url will be [CODE]http://www.domain.com/#Next/?s=5[/CODE] then how can i get the value of s | |
I have a simple gallery script in flash that has a php admin. The login works in firefox but no IE it redirects you right back to the login page can anyone figure this out it's 3 files index.php admin.php config.php the index.php redirects you to admin.php. index.php [CODE]<? $login=$_POST['login']; … | |
I have a .phpfile in the xamp/php/www folder but can't get it to work with lofalhost. | |
I am stuck. I have a beginning php class and have run into a wall. Any help will be appreciated. here is the from that is submitted for paycheck calculation: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> … | |
is it posible to increase a mysql table default value to increase by a number based on another number E.X. i have a default value set to 10 how do i increase it by 1 every 3 minult also if i add a new number "3"(in a box or text … | |
how can i create a php page where the page is gone refreshed automaticly without reloading page and user could see other users activity just like facebook.................!! | |
i have a data in mysql in this format.. 1,2,3,4,5,6... can i split and show this data in this format in mysql?? 1 2 3 4 5 6 thanks ijn advance | |
[CODE]<?php //Distance Function function distance($findId, $userToSearch, $userids, &$nodes){ $searchquery="SELECT '($findId)' FROM 'users' WHERE userid='($userToSearch)'"; $queryResult=mysql_query($searchquery); while($blah=mysql_fetch_assoc($queryResult)) { $result=$blah["$findId"]; } if($result == '1'){ return 1; } else{ $userToSearch=array_pop($userids); if($userToSearch!=NULL){ $count=(distance($findId,$userToSearch, $userids, &$nodes)+1); } return $count; } echo "Search Failed. <br>"; return 0; } $SQL2 = "SELECT userid FROM `users`"; $query2=mysql_query($SQL2); while($userid_temp=mysql_fetch_assoc($query2)) … | |
Hello, What permissions should PHP files have on a unix/linux system? Is 655 appropriate? Many thanks in advance. | |
Hi Guys, This isn't really the right place to post this, but there doesn't seem to be a right place, so here it goes! I'm running a bunch of subversion repositories (one repository per project) over http (using apache). One of the repositories is a shared_classes repository that stores shared … | |
i want to give an option like 'Import' where on clicking on this word , a window should open from where i can choose file and and then can use that file on my page. i can do this by giving an input text box with type file but i … | |
hi, Is there a way to include a php file in .tpl file. basically i have a menu (javascript,html and css based) that i want to include in the .tpl file. thanks | |
| I am new to arrays, and was thinking they could help me in my racing project. I have two pages, one displaying the data, and the other, currently used as a php include, that contains the array. I can get the more simple elements of the array working, but I … |
I have this form I'm working on and found something interesting attempt1 this way works exactly how I want, which is nothing in the input boxes and no error messages on loading the registration form, once submit is entered the empty fields have a message appear next to them, the … | |
I have followed the online tutorials for setting up your first php project using netbeans ide 6.5 mi. my project - NewPHPProject tree appears in the Projects window but i cant see the project's index.php file. What could be wrong? NewPHPProject tree | source Files | NewPHPProject tree That is … | |
What is difference between $message And $$message? in PHP | |
when i wrote localhost/site/images/ i can see all images of my site... how can i stop it...!! i tried .htaccess with code "deny to all" but it does not show images when i run the site on browser..!! What should i do.? | |
I got a search.php file and a search_results.php file like in my previous thread...the user can select from a dropDown menu what they want to search EmployeeID/EmployeeName/Manager/Department/Team then a text box where they can type in the ID, full name (with spaces) ,Department..ect I got the search for ID, Department, … | |
Hello! I am trying to create some sort of a crawler. I was using file_get_contents() to get the pages until i stumbled on this one site, where that didn't work: [CODE=php]$page = 'http://www.site.com/page.php'; $content = file_get_contents($page); echo htmlspecialchars($content);[/CODE] This returned a completely blank page. After looking it up, it appears … | |
what problem i am actually facing is that .. i have a database -- table in which i have lng and lat saved .. And i want that when i fetch them in textual form i also get the address to which those particular set of lng and lat are … |
The End.