39,393 Topics
![]() | |
Ok, so I will do my best at explaining this... I have set up a database of our company's Parts Ordered forms. I have created a php form that allows users to inject new POs into the database. Which works successfully. I am working on the search form to allow … | |
Hello, I need some help understanding how to display information from the following array and what this method of storage and array is called. The information held in the database looks like this [CODE]{"option1":"1234","option2":"ABCD"}[/CODE] How do I work with these values? I know how to get the array as a … | |
Hi There! I'm Seeking for a Function by which I can Execute mySQL Queries for any table. | |
Hi all, I m newbie in .htaccess i am using .htaccess to make url SEO friendly. I can access admin in localhost of my pc. but when i put all this files to my server i can't access admin. it shows me white blank page. without any message or error. … | |
//code for yourditor.php <?php //This section should deal with the MagicQuotes and slashes function nukeMagicQuotes() { if (get_magic_quotes_gpc()) { function stripslashes_deep($value) { $value = is_array($value) ? array_map('stripslashes_deep', $value) : stripslashes($value); return $value; } $_POST = array_map('stripslashes_deep', $_POST); $_GET = array_map('stripslashes_deep', $_GET); $_COOKIE = array_map('stripslashes_deep', $_COOKIE); } } ?> <?php nukeMagicQuotes(); … | |
I'm trying to have my code display all pictures for a specific ID, this is the current code that is only showing a single picture to be displayed, how can I get it to display the others as well? thanks [CODE]<?php $id=$_REQUEST['id']; $result=mysql_query("SELECT * FROM gallery_work_thumbnail WHERE id=$id"); while($row=mysql_fetch_array($result)) { … | |
Hi, I've bought a hosting space from a hosting space provider for my website. It is a Windows 2008 Server. I have an enquriy form that needs to be submitted to my email. I'm using a simple php mail program for that. But I'm getting "HTTP Error 500.0 - Internal … | |
Hi! Sory for my bad english. Is it posible to make in php a html compiler (program that will check if there is lexical or semantic mistakes)? (eg. If someone write: "<html><haed>", the program will check and write message that is error in code and that must be writen "<html><head>"). … | |
Thanks to a forum member I have moved a little forward but now I am stumped on how to convert a passed value to a variable so it can be used to search a MySQL database. When I use the passed variable as the value I receive the following error: … | |
Hi, My name is Zivko and I have a question for You. I'm working on a projekt. I have to do an application in php. It is supposed to be like this: I have a php web site.In that web site i have a large textbox or message text area. … | |
Good Morning, I am hoping someone can help me. I am not even sure if this is possible. I am building a hockey pool site and I would like to automatically update the value of a variable once a week or 26 times. I would like to use the clock … | |
How to store a uploaded file in server side? | |
Hi dear all.. I have done email attachment in php, code is working fine but output is not coming fine. here is code. <?php $fileatt = "file/imagelks.jpeg"; // Path to the file $fileatt_type = "application/octet-stream"; // File Type $fileatt_name = "imagelks.jpeg"; // Filename that will be used for the file … ![]() | |
I want to make a program that takes the input ie Username and Password from user , there is a submit button and if everything is correct then user should be able to access another webpage . A rough blueprint is- <form> Username:<input type="text" name="name"size="15"><br> Password:<input type="password" name="pass"><br> <input type="submit" … ![]() | |
For a website about tours I made a form to request for a quotation. There's quite a lot of input fields, some of them with dropdown menu's where the user can choose for example one of the tour destinations. I would like to know if I can pass variables from … ![]() | |
I am trying (unsuccessfully) to pass a variable to another php file. I am able to retrieve the information from MySQL, and present it on the web page but I am unable to pass the "hot link" ID to another php file. I am a beginner so it must be … ![]() | |
This is a simple problem but one of those that eats at your brains the more you think of it. I basically want to write a a variable to a php file ( the variable name itself not the contents ). The code i have below. [CODE] // we will … | |
Hey ppl. I use apach and i've got a problem that i cant fix when i write this code .. [CODE] <img src="Z:/home/localhost/www/ImageGallery/Images/mmbg3xmx3g.gif" width="100px" height="100px" name="imgPreview" /> [/CODE] no image is shown. Whats wrong? The image surely exists in the specified path. And one more problem with this is that … | |
How to upload fckeditor on my xampp server...and then how to use it..... | |
any body tell me how to edit adsnese like ezinearticle.com or how to add my own css in adsense . is ezinearticle.com break adsense tos ? if not can i use it for my site . how should i use it in my site? adsense hack, adsense in custom css | |
I made a Login and logout page but whenever i login and press backspace i am redirected to the login page .... what to do to prevent it from going to the login page even if i have not pressed logout option | |
Good evening, I'm trying to generate an xml file based upon the result of an SQL query. I'm making some good progress so far but there is 2 problems I can seem to solve. My php code is the following: [CODE]<?php require ("Connection.php"); $db_handle = mysql_connect($server, $user_name, $password); //load the … ![]() | |
Hello. To start off I am pretty bad at MySQL and PHP. I want to set something up that people can enter their cell phone numbers and it would be added to a server. Then I could go and send a message out to all of these numbers. I want … | |
Many of the biggest forum-based online communities, including DaniWeb, are powered by vBulletin software. So it came as something of a shock when the BBC reported that a [URL="http://www.bbc.co.uk/news/technology-10714192"]vBulletin security flaw means that any hacker could "easily access the main administrator username and password for a site"[/URL]. But is the … | |
Hi, I am using postgresql as my DB. My problem is quite silly but its ruining my time. I am trying to populate my table with the data base table values. I am able to do it. This is the case for existing tables. Now i am creating a new … ![]() | |
I want to call a jsp form my PHP code. I caqme across that it can be done using XML-RPC. Is it possible & where I can find any tutorials for this? Thank You ![]() | |
hi guyz, i'm new to PHP and my first time to post here.. i would like to ask some help regarding CHECKBOXES.. ..I'm havng problem on displaying the values of the checked checkboxes to other pages...how would i do that? HERE IS MY CODE FOR THE FIRST PAGE: <?php $sql … ![]() | |
I am working on a assignment in PHP but cannot get my results to show up now on a separate page, or at all. After adding in my IF statements, everything stopped working but I am not getting an error message. Any help would be appreciated. I have supplied all … | |
This works: $result = mysql_query("SELECT * FROM plan WHERE begin BETWEEN '2010-09-01' AND '2010-09-30'") or die(mysql_error()); I need some version of this to work where begin and end are currently timestamped columns in my table: $result = mysql_query("SELECT * FROM plan WHERE date("Y-m-d") BETWEEN begin AND end") or die(mysql_error()); What's … |
The End.