39,323 Topics
| |
Hello I asked a similar question a few posts before but not the same, so I started this thread. I am trying to add a user to MySql which I installed via XAMPP. I found this command: [CODE]CREATE USER 'root'@'localhost' IDENTIFIED BY 'mysqlpass';[/CODE] But I don't know where to put … | |
I know this is kinda vague, I can give more info if need be but why is the following line a a boolean value when I send it through the debugger. [CODE]while($row = mysql_fetch_array($result)) { echo "<tr>"; echo "<td>" . $row['id'] . "</td>"; echo "<td>" . $row['name'] . "</td>"; echo … | |
How Do I send emails to group of persons daily at 12:00 AM ?? I have a PHP page where I will write code to sending mail. I searched and find CRONTAB (shell scripting), a solution for this. If I want to use CRONTAB shell scripting then How I can … | |
Hello, Please tell me the steps for integrating the Sms api as documentation is not given on the website. Thanks | |
Hi!The code I use for getting the values from dynamic javascript form fields is not working dont know why? The problem might actually be because of form tags and submit buttons, I guess.So now I have three sets of pages using same code, #1.Working in excellent condition #2.Partially working if … | |
I was wondering how I would make an URL request (e.g. to somepage.php) from my Flex 4 app but it needs to be a blocking process. When i say blocking I mean, in such a way as I can enclose it in a function and have the function take the … | |
How should I call jquery from my php page? This is my php page: [CODE] <form action="#" method="post"> <input type="file" name="fileInput" id="fileInput" /> <input type="submit" value="submit" disabled /> </form> <div id="result"></div> [/CODE] And this is the js file: [CODE] $(document).ready( function(){ $('input:file').change( function(){ if ($(this).val()) { $('input:submit').attr('disabled',false); } } ); … | |
Hi all I have a website that has a contact form in the footer of every page. When someone sumbits their details I do a check to see if the fields are filled in correctly. If the fields aren't filled in correctly I display an error just above the form. … | |
I have a Textarea, and I want to store value in a variable. The condition is that the value will be fetch from JS that is [B]Document.FormName.Combox1.Value[/B] in the [B]same page[/B]. I know $_POST['Combox1'] method.. | |
Please can someone help me out with this error? Parse error: syntax error, unexpected ';' in /home/npr/public_html/getfile.php on line 12 if i take off the line 12 the page works but i need to include the line 12.HELP! [CODE]<?php include('recruit.php'); $id = $_GET['id']; mysql_select_db($database_, $recruit); $query_users = "SELECT * FROM … | |
i have de following code [CODE] <?php require_once('Connections/conn.php'); ?> <?php $oras = $_POST['oras']; $zona = $_POST['zona']; $camere = $_POST['camere']; $tip_apartament = $_POST['tip_apartament']; $chirie = $_POST['chirie']; $tableName="anunturi"; $targetpage = "afiseaza.php"; $limit = 2; $query = "SELECT COUNT(*) as num FROM $tableName WHERE oras='$oras'"; $total_pages = mysql_fetch_array(mysql_query($query)); $total_pages = $total_pages[num]; $stages = … | |
I'm running Ubuntu and have just installed PHP5, Apache2, and MySQL. I created a PHP Project in Netbeans and trying to echo "Hello World." When I run it, I just get a 404 Not Found error with this "The requested URL /PhpProject1/index.php was not found on this server." Any ideas … | |
SO am am soon going to build a blog. what I would like to know is how to do the prvious posts button at the bottom of the page with like the 1|2|3...Next|Last that type I was just wondering how it is done I know to fill the Homepage your … | |
Hi friends, I m making a php user registration program and in some other sites I found some hidden field as follows [ICODE]<input name="authenticity_token" value="a58b64b916157840987d0655fe8ce14fecc030fd" type="hidden">[/ICODE] I m wonder what its really means ? Is it a dynamic value in which's value stored in SESSION and later it check with … | |
hi all hope every body is fine i want ask you about how can we send the form data entries includnding attached file to an email without saving the file to the server as i want to know if this procces legal to take the uploaded file and send it … | |
Hi all.. basically i want an ajax code that retrieve the data from the unique div(with php).. what i mean by unique here is that my div got the id with the name+(the php code to make it unique). okay i dont really know how to explain but here is … | |
Hi all - Was wondering if anyone has come across a script that verifies if an email address exists or not? Beyond verifying that the data entered has an @ symbol, I'd like to make sure that I'm not getting bogus email addresses. Would be any way to do this … | |
I know a lot of people have their own comforts and styles when it comes to scripting and coding, but... Some language documentations specifically state a naming convention that is considered best practice for their language, like Java specifying camelCase. However, PHP's online documentation doesn't specify a naming convention (from … | |
hi, i face this problem from last three days, i want to disappear the alert box of javascript on time base, for example when page is load and the alert box is appear,i want to remove it after 10seconds if the user not press the ok button, thanks in advance | |
Hello, I am having trouble with my phpBB forum. Editing the theme widths, images etc. I am hoping someone from DaniWeb can actually help me out. My MSN - [email snipped] [Note]: I am sorry for posting in the wrong section, Just cannot find the correct place. Thank you!. | |
I have this website and I got the script(Pdf search engine) which is licensed to all domains ,i installed on [URL snipped] and it is working fine ,but when I installed it on my other domain ,[URL snipped] and i did search ,it is saying that this script is locked … | |
Is there a more efficient way of doing this? I am simply catching and assigning vars to a lot of $POST vars. this seem monotonous to me..lol any advise is greatly appreciated. thanks :) sorry aboout the title..wasn't sure how to title this one. lol [CODE]if(isset($_POST["submit"]) ){ if(isset($_POST["est_num"]) ){$est_num= $_POST["est_num"];} … | |
please can somebody help me add an account to webnight commander here is the script where i add the account but i dont knwo what to do with it [CODE]/* USER ACCOUNTS. Uncomment # comments only */ $users = array(); //************* SAMPLE USER ACCOUNT - BEGIN $users[] = array( // … | |
Hi, a few time ago I posted a thread about a page in ajax/js/html that didn't work correctly. At first, I thought it was solved, but now I see it is not. I am trying to make a gallery using jCarousel, and it used to be very buggy until it … | |
Hi, I have a PHP script that uploads files. So far it works good with normal http connection, but when it comes to SSL ans https, the move_upload_file() function just fails and does not move the file anywhere. Any solutions? Thanks | |
Hello: I want to create a count down to a date with the following variables 1. number of days (90) 2. current date now using a specific past date stored in db, I want to create a countdown that basically tells me how many days until the 90 days are … | |
I have a problem with using globals within class scope. For example: [ICODE] $GLOBALS['test'] = "How are you?"; class great { [INDENT]function grace() { [INDENT] echo $test; echo $GLOBALS['test']; [/INDENT]} [/INDENT]} [/ICODE] Problem is, that neither of the echos produce any output. Is there a problem with accessing superglobals from … | |
I cannot delete the records after pressing the delete button. What is the fatal error? Thanks! admin.php [CODE] <?php $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="test"; // Database name $tbl_name="test_mysql"; // Table name // Connect to server and select databse. mysql_connect("$host", "$username", "$password")or die("cannot … | |
Guys, I need a code to ask database if the data is MALE or FEMALE than display a picture.. I know little about PHP !! The database has USERINFO table than a row with MALE or FEMALE written. Please help.. | |
Hello, I was hoping for some help in the right direction. I am creating a PHP/MySQL script and I was wondering what is the best way of being able to use it as a standalone application on a local computer. It's a little complicated, but let's say it's an online … |
The End.