39,320 Topics
| |
I am posting very simple PHP/mysql as below, to get the hang of creating a DB query, and checking if my syntax, and contruction logic is correct, However when I post the code below: [code] $dbhost = 'localhost'; $dbuser = 'myuser'; $dbpss = 'myassword'; //connect to database// $conn = mysql_connect($dbhost, … | |
Hi this is my table structure. I need one result from this. There is a field named LAPeriodStart in this table. If LAPeriodStart date is 2009-01-05 Site Id is 4067 Today Date is 2009-12-07 1. Now I need to calculate LAPeriodStart Month from the date(2009-01-05) How its Possiblle? 2. If … | |
Hi, I'm been looking online for sometime now and haven't really found anything that helped. Bascially my question is: Is there anything else I need to add to my php.ini file or on my Exchange server to allow me to recieve email since I'm not getting email currently from my … | |
Problem with storing values in Array from php to AJAX index.php [CODE] <html> <head> <title>Main Page</title> <script language="javascript" type="text/javascript"> function ajaxFunction() { var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function() { if(xmlhttp.readyState==4) { var arr = new Array(xmlhttp.responseText); alert(arr[0]); } } xmlhttp.open("GET","main.php?q="+document.frm.Act.options[document.frm.Act.selectedIndex].value,true); xmlhttp.send(null); } </script> </head> <body> <form name="frm" id="frm" … | |
Hi. im new in php and i am building a simple site..my problem is how could i make a dynamic query in php using one txtbox to input the keyword and one button. and when i hit the submit button the information will display on other text boxes.. any suggestion … | |
I want to know if there is a way to make php react to a change from mysql database example: I have information on a db and I want to display it in a table and group all the info from one day in one <td></td> then when the day … | |
Want to click on an image from a list and simply set that filename in a field in a mysql database. I read the tutorials and have tried several different ways to pass the variable on the url and then update with a second php page. Hi my second question … | |
Hello Devs, Wondering about permissions-based web software to have a registered user (client) upload file to server host, perhaps for a fee, and have server host take file and store it. Is there a somewhat streamlined solution for this? I realize this can be achieved with sophisticated software such as … | |
Can anyone help me or get me going in the right direction? Here is the problem. I need to create a script that presents a word guessing game. Allow users to guess the word letter-by-letter by entering a character in a form. Start by assigning a secret word to avariable. … | |
Can you create a form and have it show in the same window when you click the submit window? can this be done with out a database? Here is a rough sketch of what I have in theory... see attachment Like signing a guest book. | |
Hi, I need help with this. I basically want users to enter their name email address with validation and also have a tick box for them to say yes or no to receiving future updates. This information will be sent to an email address not a database on clicking the … | |
Hi, I want to upload pdf file on the network drive ([B]name : csu shared files on 'csu-isa-s1(S: )' [/B]) instead of uploading it in the local drive of the server computer? Could anyone tell me how this can be done. It will be great help ! Thanks, Aditi | |
Hi I have took from internet PHP script that uploads images to the host [CODE] <form name="upload-form" id="upload-form" method="post" action="./upload.php" enctype="multipart/form-data"> <input type="hidden" name="MAX_FILE_SIZE" value="30000"> <fieldset> <legend>File upload:</legend> <dl> <dt> <label for="file">File:</label> </dt> <dd> <input tabindex="1" accesskey="b" name="file" type="file" id="file" /> </dd> </dl> <input tabindex="2" accesskey="l" type="submit" name="cmdupload" value="Upload" /> … | |
Hello I have tow queries on my website. A first query that extracts a number of records from my "Tutors" database based on the criteria "Location". This query works fine and returns "Id", "Name" and "HourlyRate". I want my user to be able to see an extended profile for each … | |
| |
Hello Guys, Can someone please show me if this is possible or not, if so where can i get further information or a code example will be nice. When i enter first name, and then click from the drop down selection "product spec 3" from options "product spec 2" , … | |
I just started using both PHP and MYSQL and i have this SQL statement that get record from three tables ie [CODE]Select name,age, datejoind, active, avrage_time_in,avreagework_duration from Personalrecord Union Activestaff Union Timetable[/CODE] but i need to be able to get a the list of Returnd field name into a PHP … | |
Hi guys, I'm not sure if this is the right category for this inquiry. I have my phpmyadmin working for my existing database but I couldn't make it to work. The site is running in xammp localhost. I have the data in place . I get the database to run … | |
I've read some articles and forums on the topic, but still hasn't gotten a clear answer for myself... What I need is my incoming emails to be stored in my MySQL database. I understand that the email has somehow be submitted to a PHP script that will handle it further, … | |
Hi, What I want to do is to upload a file to a specific directory as well as enter the data into a MySQL database. The specified directory would be a value that has come from a previous select statement from the database. So as an example, I would want … | |
Dear all, I am using apache2Triad for developing my web. I want to send email through the php email command. So first in my local system how can i see the sended email messages. Do i want to install any email applications other than configuring the phpXmail for viewing the … | |
hey, i want to install apache ,php and mysql.in my ubuntu linux. but i come across a problem . i configure the apache ,and in the command line it works well: root@chrysanthemumwolf-laptop:/usr/local/apache2/conf# /usr/local/apache2/bin/apachectl start httpd (pid 4325) already running root@chrysanthemumwolf-laptop:/usr/local/apache2/conf# /usr/local/apache2/bin/apachectl restart but when i test it in my browser … | |
I have a form where users enter data. If no data is entered in a given field my code still inserts a 0 into the MySQL database even though I allow Null values. This is a problem for two reasons. In some of my fields I'm using TINY INTEGER as … | |
Here is my problem. I implemented a back button using: [code=php] echo '<a href="' . $_SERVER 'HTTP_REFERER'] . '">Previous</a>'; [/code] This gets stuck in a loop when I try to go back more than one level. Can anyone help? | |
Hi, I'm not sure if this is the right place for it. I'm thinking of creating a secure place on the internet. Some of my presumptions are: 1 - That no system/network is to be trusted. 2 - Important data should be encrypted. 3 - The link between data and … | |
I have this database project due Monday and I am trying to create a PHP script to do a simple search query in the MySQL database. This is what I have... [B]search.html[/B] [code] <html> <head> <title>NOMO Auto Group Inventory Search</title> </head> <body> <h2>NOMO Auto Group Inventory Search</h2> <form action="results.php" method="post"> … | |
Hi, I read this thread: [url]http://www.daniweb.com/forums/thread130342.html#[/url] and I was wondering if the same thing is possible using notepad instead of word. I know on Mac text edit can open any word doc and with save as you can convert it to text format. I don't see that option in notepad … | |
I am using wampserver 2.0i php 5.3.0 mySQL 5.1.36 Apache 2.2.11 n have faced this error "Forbidden You don't have permission to access /< on this server." plzzzzzz help me out | |
| Is there a way to send a large amount of data through AJAX to a PHP script? Almost all tutorials say to modify the URL to equal whatever variable your trying to look up. I am wondering if it is possible to pass infomation to the server through an XML … |
The End.