39,388 Topics
![]() | |
Hi all! I am creating some stock management system and i would like to offer subscription (monthly/yearly). I need help in controling that... Dont know what would be the right way to do that... Anny ideas? Maybe to make a php script which will delete users passwords from the database … ![]() | |
![]() | Please help. I am trying to change data in my MySql database. I am able to input new data, but when i try to change anything, it doesn't work. Here is my code: <?php $id = $_REQUEST['id']; $newname = $_REQUEST['newname']; $newemail = $_REQUEST['newemail']; $newpassword = $_REQUEST['newpassword']; mysql_connect("localhost", "root", "") or … ![]() |
Hi All, We 've 20 promotional websites and we want to centralize the contact us form. We have contact us form that is kept in Server 2 and all the other web sites kept in server 1, now i need to include the contactus form server1 inside server 2 websites. … | |
Hello everyone, I want to create a project in oracke. So can anyone help me how to configure PHP and ORACLE after installation of XAMPP ??? ![]() | |
This code use to work on a Win2k3 machine running MySQL and PHP but I have since updated my server to Win2k8. I installed the newest version of MySql and PHP and the PHP itself is working. I am able to pull various fields from my database if I hardcode … ![]() | |
`<textarea name="Catatan" type="text" id="Catatan" value="<?php echo $Catatan;?>" cols="45" rows="17"></textarea>` | |
I have a simple php page with a login i want to have the page divided in 3, i drew the lines where i want the dividers to be so i could put videos on the left and right side going down the page [Click Here](http://img688.imageshack.us/img688/6686/38811765.png) The page is via … ![]() | |
I have built a web site and it works in every browser except for, of cource Internet Explorer, is there some normalized code that I can copy and paste that will make everything work in I.E.? Or do I need to go through and make a new css for everything … | |
I tested and successfully used this SQL code below to input data into a database. INSERT INTO hraps (id, firstname, lastname, gender, year_of_1st_rappel, count_offset_proficiency, count_offset_operational, spotter) values(111111, 'World', 'Hello', 'Male', '2007', '1', '2', '0') Now I'm trying to integrate it into PHP like this: $query = "INSERT INTO hraps (firstname, … ![]() | |
Hi I have some code that has 2 querys to fill 2 dropdown boxes. I need to get an id from one depending on which selection is chosen, put it in a variable to use in the second query. My code is below with comments of what I want to … ![]() | |
Hello, I have this code over here: <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <title>Admin area - Sydcul URL Shortener</title> <meta name="description" content="Free URL shortener"> <meta name="keywords" content="sydcul, url, shortener, tiny, url, tinyurl, bit, ly, bitly"> <meta name="author" content="Sydcul"> <link href="../stylesheet.css" rel="stylesheet" type="text/css"> <link rel="icon" type="image/ico" href="../favicon.ico"> </head> <body> <center> <h1>Admin … | |
1. I am trying to use this code snippet, to learn how to create a dropdown menu, populated by a mysql database. 2. I have worked out the kinks of the database credentials. 3. I have created and populated a test database. 4. This does actually work, now that it … | |
This .htaccess throws me a 500 error. I've Googled/tried everything. RewriteEngine on RewriteRule ^([0-9]{6})$ decode.php?shorturl=$1 [L] It's for a URL shortener. I am new to this stuff. ![]() | |
HI basically this is my problem. I have created a database and I have created a table. I am trying to verify my username and password. HERE IS THE HTML PART. <body> <h1>Members login</h1> <form method="post" action="check_login.php"> <label for="username">Username:</label> <input type="text" name="username"/> <label for="Password">Password:</label> <input type="password" name="password"/> <label for ="submit">Submit:</label> … | |
Hello everyone, I have developed an application. But I need a script to perform push back just like facebook does when updating users profile. Please how can I do this in php. Please I would like it with a simple demo code. Thanks alot. | |
i have two laptops both with xampp installed on them. is it possible for me to view the localhost of another using another with them connected via crossover? i do this as a starting block for what i want to do which is to have a machine that will provide … | |
Hey everyone, Got this little snippet here: <?php // did files get sent if(isset($_FILES) && (bool) $_FILES) { // define allowed extensions $allowedExtensions = array("pdf","doc","docx"); $files = array(); // loop through all the files foreach($_FILES as $name=>$file) { // define some variables $file_name = $file['name']; $temp_name = $file['tmp_name']; // check … | |
Table user +---------------+---------------+------------+ | user_id | username | user_level | +---------------+---------------+------------+ | 1 | superadmin | admin | | 2 | subadmin | admin | | 3 | team1 | team | | 4 | team2 | team | | 5 | team3 | team | | 6 | customer1 … | |
Hello I am trying to send mail to customer with the details of product they brought but the code which I have written not showing the value of variable **total_list** Actually I need to send email regarding the product details purchased by user if they purchased more than 1 product … | |
Hi there, I m using jquery ajax function to get the data from server and i m getting the data in associative array on success, but now i want to convert that associative array in javascript, how i can convert PHP associative array in javascript array. Waiting for your quick … | |
Wow... I am baffled. I have a shopping cart script that works perfectly until I add in the following 3 lines of calculations What happens when that is added is that it stops the processing at that point altogether, and doesn't display the balance of the page, and yet when … | |
Hi.. I am using tinymce editor for mathematical and graphical functions. The graph in editor content which is inserted into the database is not showing in firefox and chrome. But it can be viewed in Explorer. I have downloded script from http://www.imathas.com/editordemo/demo.html There is demo is provided in the above … | |
Hi, I am wondering if php is able to add text to an image once it was uploaded by a user. The user would type the word 'cool' and upload a picture then once they push submit it would send the image to a serperate file and imprint the words … ![]() | |
Hello, i'm kinda starting to feel out of my mind now. I am creating a simple web game. I am now in the process of putting some php codes here in game to have scores.My problem is that, My game's top score is the person who played the game very … | |
| |
Hello, My script uses the user 'www-data' (my webserver) when connecting to the MySQL Database, while I tell it not to. <?php include ('config.inc.php'); $connection = mysql_connect($host, $user, $password); mysql_select_db($database, $connection); $shorturls = mysql_query('SELECT shorturl FROM `' . $prefix . 'urls`'); $shorturl = rand(100000, 999999); foreach(mysql_fetch_array($shorturls) as $row) { if($row['shorturl']==$shorturl) … | |
![]() | Hi I have problem getting XML file with curl. I get empty XML and error: Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "1" in /home2/public_html/xmlupdate.php on line 62 xml 1 not loaded. the code for curl: $ch =curl_init(); curl_setopt($ch, CURLOPT_URL,$xml_url_1); curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1); … ![]() |
I am trying to load php file with jquery into div. The php file contains pagination. However, when i tried it, it seems that, the jquery is not working. But, when I access it in website directly, its working. Do you have any idea how can I load the php … | |
Hi So I have a div with 6 links(categories of products), the beside this I have another div which I want to fill with the products for a chosen category when a link is clicked. I have a mysql table containing all the products with each category having a unique … | |
Hi, I am developing a CMS in PHP, MySQL for a company in partnership. As you all know PHP is an open source language and it is really easy for a user to resell my software to another client or even publish it online for free. I have an agreement … |
The End.