39,323 Topics
| |
Hi all, I am having a problem with this code, When the submit button is pressed all the php code is echoed to the screen. Thanks David [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Search</title> <link href="style.css" rel="stylesheet" type="text/css" /> … | |
Hello, i'm trying to insert multiplle values into a table.. but it is being stored o in the table.. i've been trying while loop but still no progress.. the system search for user related to its specefic staff concern and then assign a course.. <form id="assign" name="assign" method="post" action="assign_training.php"> <tr><td … | |
I have this simple script: [PHP]<?php // MySQL Connection mysql_connect($sql['host'],$sql['user'],$sql['pass']) or die("Unable to connect to SQL server"); mysql_select_db($sql['data']) or die("Unable to find DB"); // Getting rows $select = "SELECT * FROM table WHERE uid = '". $_POST['uid'] ."'"; $data = mysql_db_query($sql['data'], $select) or die("Select Failed!"); // Query results $row = … | |
hey all i have an array stored in a variable - $SelectRoom which is put through a foreach to display each value of the array: [CODE] foreach($SelectRoom as $value) { echo $value; } [/CODE] no that works fine however i want to send this array through the url with other … | |
Hi, I am just trying to have a login form on a page using div tags. After successful login without refreshing the page, the textboxes on the form should be replaced by Welcome message or displaying username and Logout button. Can somebody throw a little light to show me the … | |
For Ex: There are 10 peoples who logged into the site. I need to track the name of the people who logged in at a admin side. Under what logic we can track the people. I prefer to do it on php. Please help me the logic of tracking. | |
hi, i need to develop a page having a shared text area. two users would be using the same page on their respective machines but they share in a way that if one writes something in the text area it will be displayed to other as well. it will be … | |
Hi, i am making a menu and want to be able to add menu links by simply adding a new record to a database, i have got the main concept going but am having some troubles, instead of writing: the same piece of code to load a new menu item … | |
Disclaimer! I have no prior knowledge of php, I just need a clear answer. I have the string $content, and I want to replace any [ or ] between the [nobb] and [/nobb] tags inside it with ^ and *. And I need also to do this again but this … | |
Hi, I have feed different XML files with different formats that I want to let users map to our database themselves. Example [code]<product> <details> <name>Product One</product> <cost>20.00</cost> <available>2</available> </details> <technical> <width>3.00</width> <height>2.10</height> </technical> </product> [/code] What I need to do is be able to loop through the XML document and … | |
[COLOR="Green"]Can anyone tell me, [/COLOR][B][COLOR="Red"]how to insert a PHP code in DRUPAL?[/COLOR][/B] | |
hello.. i am using random query with pagination. but i am getting same results in second page also. Two things I need to make happen: 1. click on a result, you click the back button, results are in same order. 2. You get a paginated list of results in a … | |
I have a string, that contains multiple values, and has a prefix of ***. Here's an example: [code=php] $value = 'a.first_name, a.last_name, a.address, a.city, a.state, b.phone_num, bc.gender, vfr.rating'; // instead, I'd like for it to display like this $value = 'first_name, last_name, address, city, state, phone_num, gender, rating'; [/code] Basically, … | |
think there are 3 selecting box in web site.1st one is jump menu and other 2 are select menu.usually jump menu what happen is when we select some thing from that it jump to another page or some where..i wanted to know .when i select some value on jump menu … | |
Hi People, I have this problem, i have created an upload form which includes some text fields and also an image upload which then gets sent to a server. I haven't yet got any validation or sanitisation on there at the moment. Im abit new to PHP and can code … | |
Good mornin' y'all, I'm looking to add a search engine to my site and was hoping for a recommendation on a free downloadable script based on the following criteria: [LIST] [*]Yes, I would prefer something that I can implement on my own and then tweak compared to an engine that … | |
Hello I've looked around and looks as if this can be done with Jquery, but the guides and full of so much bullshit its insane. Anyone done this and have a good way to do this. Most of the other ones have form validation and crap which 1) doesnt relate … | |
Hello! I want to continue a session even after the browser was closed. What I want to do is to remember the host, username, password, of mysql. Whats the trick? | |
hheyy yall!! i really wuld lik a quick a reply 2 dis cos i really wnt 2 knw hw i can encode a php/phtml script 2 go unnotice/untraceable 1luv!! | |
Hi!! Evri1. I gat a bit of a problem dat i need solved i register at freehost site e.g x10. But whenever i try 2 upload a file 'tutorial.php' mi accunt gets blocked. Nd den a message is sent to me saying i ve broke their terms of service by … | |
hey all i'm busy makin an online bookin system for a project. What i need is when the rooms get displayed, the customer can select, using check boxes which rooms he/she wants. ranging from 1 room to all 6 if he/she wants. then on the next page i need only … | |
| Hello, Can somebody help me to make a logon script? I want to make this script like that I add useres manually, in the database. And when people are going to the admin content it will show up: Pleas Login! Username: Password: Forgotten your password? click her! (And when the … |
i'm having a bizarre issue with a form that seems to not want to post the file data array... [code=php]<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <input type="hidden" name="category" value="music" /> <input type="file" name="image_upload" class="multi" accept="jpg|jpeg" maxlength="1" /> <input type="submit" name="cat_music_img" value="Update" /> </form>[/code] the following is a snippet i just … | |
Hi new to PHP...very new..I created some pages for a class I'm taking in php. Eight pages with a query and dynamic results table on each page. They all work fine but the problem is they only work locally. We have a remote server for school use, but of course … | |
I know PHP include is server sided, but is there something similar I can implement that can work across different servers? Or something server sided that can work on the same server but across different URLs? Thanks! | |
Hello, I am trying to map a URL to a sub path using .htaccess. Does this look right? //Rewrite to www Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^domain.co.uk/sub-path[nc] RewriteRule ^(.*)$ http://www.domain.co.uk/sub-path/$1 [r=301,nc] //301 Redirect Old File Redirect 301 [url]www.anotherdomain.co.uk[/url] [url]www.domain.co.uk/sub-path[/url] //301 Redirect Entire Directory RedirectMatch 301 [url]www.anotherdomain.co.uk(.*[/url]) www.domain.co.uk/sub-path/$1 Many thanks! | |
PLZ HELP ME I WANT TO MAKE MY OWN WEBHOST I HAVE 10 pCS ON MY NETWORK AND 01 SERVER INSTALLED WITH WIN SERVER 2003 SP2 (ACTIVE DIRY INSTALLED WITH DNS) THE IP ADDRESS OF MY SERVER IS 192.168.1.1 I HAVE ALSO HOST THE SITE ON MY SERVER WITH APACHE … | |
PLZ HELP ME I WANT TO MAKE MY OWN WEBHOST I HAVE 10 pCS ON MY NETWORK AND 01 SERVER INSTALLED WITH WIN SERVER 2003 SP2 (ACTIVE DIRY INSTALLED WITH DNS) THE IP ADDRESS OF MY SERVER IS 192.168.1.1 I HAVE ALSO HOST THE SITE ON MY SERVER WITH APACHE … | |
Below is the XML response you get from the W3C Validation API: [code=xml] <?xml version="1.0" encoding="UTF-8"?> <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> <env:Body> <m:markupvalidationresponse env:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:m="http://www.w3.org/2005/10/markup-validator"> <m:uri>http://www.pritaeas.net/</m:uri> <m:checkedby>http://validator.w3.org/</m:checkedby> <m:doctype>-//W3C//DTD XHTML 1.1//EN</m:doctype> <m:charset>utf-8</m:charset> <m:validity>true</m:validity> <m:errors> <m:errorcount>3</m:errorcount> <m:errorlist> <m:error> <m:line>10</m:line> <m:col>1</m:col> </m:error> <m:error> <m:line>12</m:line> <m:col>2</m:col> </m:error> <m:error> <m:line>14</m:line> <m:col>3</m:col> </m:error> </m:errorlist> </m:errors> <m:warnings> <m:warningcount>0</m:warningcount> <m:warninglist> </m:warninglist> … | |
Hi there, I have a few sites plus a few clients' sites I have designed and manage. At present, when I want to add a new feature to all of the sites, I code it into each site individually. What I want to achieve is to be able to update … |
The End.