39,320 Topics
| |
I installed WampServer on my Windows 7 Ultilate computer the other day and WordPress yesterday. I attempted to test WP registration in my web site but I never received the registration confirmation email. Is this not possible on localhost? If it is how do I go about getting email to … | |
<?php if(isset($_POST['submit'])) { require_once 'connect.php'; $query=mysql_query("SELECT 'admin_name.admin_name','admin_name.admin_lastname','admin_name.admin_creattime', 'admin_detail.admin_pass','admin_detail.admin_phone','admin_detail.admin_email','admin_detail.admin_gender' FROM admin_name,admin_detail "); if(!$query) { die('nt good fail to select'.mysql_error()); } else{ while($row=mysql_fetch_row($query)): $name = $row['admin_name']; $last = $row['admin_lastname']; $acctime = $row['admin_creattime']; $pass = $row['admin_pass']; $phone = $row['admin_phone']; $mail = $row['admin_email']; $gen = $row['admin_gender']; echo $name." ".$last." ".$acctime." ".$pass." ".$phone." ".$mail." ".$gen; … | |
I have a Simple Pie file! It is not supporting Swedish langague I am trying to fix this but i cant fix it! Can some one help on it?? Input i tried with För första gången kommer vi inte att liverapportera kvällens WWDC-keynote. Vi kommer inte ens att sammanställa en … | |
What does a "private" area of a website involve?Webhooks, tokens, APIs? I am developing a website which will allow registered users to register, make a payment, and then get transferred to an area where they write an online essay in a textarea. I DON'T WANT NON-PAYERS TO GO HERE. The … | |
What's the difference and which are you supposed to use? I typically stick to `else if` unless I am using short tags. Is this correct?? | |
I have some experience of PHP but limited knowledge of handling arrays. My db table has 5000+ rows and 13000 populated fields. I want to create an alphabtical, visible index of the contents of each field, possibly for inclusion in an html page. If this possible, can it be initiated … | |
Take note this was just done for the sake of experimentation to headstart my journey in CodeIgniter. :D Hello Stackoverflow. Why is it that my page only echoes the username of the given inputs? Could you please tell me on what part did I screw up?? <?php $data = array( … | |
hello, am new here and new to php/mysql coding. i have 2 tables - tbl_prodstd and tbl_products tbl_prodstd - std_id, prod_name, prod_desc, prod_photo, prod_brand tbl_product - prod_id, std_id, prod_name, prod_brand, prod_desc, prod_price, cat, subcat, prod_photo i created 3 pages - add_prod.php, addprod.php, func.php the func.php displays prod_name and prod_brand as … | |
Hello, I am trying to send an email notification to a specific email address. I have a MySQL database in which I hold a product table. Product ID, ProductDescription and ProductQuantity. When the Quantity reaches "0" I want to send an automatic email saying that ProductID is out of stock. … | |
Good Afternoon, I'm looking to connect to a MSSQL database on an external windows server, I'm creating a PHP script (on a linux server) which will pull data from the database so I can enter into my new MYSQL database. I would also be looking to specify the port number … | |
Hi guys, I want to create a crawler to extract some infomation from a page. The problem is that it is written with the Java Wicket Framework and I don't know how to scrape informations from it because I don't know how to submit some post parameters. Is this possible … | |
I have an array of checkbox that is populated with data from mysql database through a query. I can submit the value of the checked checkbox into a table from a database. But I want it to be saved according to the sequence the checkbox was checked by the user. … | |
I'm going back to an old project to apply things I've learned. As a beginner, I was able to figure out how to change the query, based on what was chosen, but it seems like a backwards way to do it, and I'm not sure of a better way. I'm … | |
Hi I am very new to xml and need some help!! I need to extract a certain value from nodes in an xml file, and then store that value in a variable in php. Have struggled through many internet solutions but are still unsuccessful. Any help would be appreciated. Here … | |
I have a form as follows, and I have set the session on clicking next. Each type of house is with a different set of rooms. Say, if I click Independent, I get a list of rooms below. If I choose Villa/Duplex, a different set will pop out. In the … | |
I know this has been asked on almost every forum but I've been at this for two evenings now and I'm stumped. PHP 5.4.6-1ubuntu1.2 Server version: 5.5.31-0ubuntu0.12.10.1 (Ubuntu) Initially I had no access to mysql functions either but that hurdle has been overcome. I've placed the extension modules (.so files) … | |
I need help with the following: I have a taxonomy named location. I have a list of countries using that taxonomy. I need to display the latest posts in a list with the flag and the post title. I created a folder inside theme folder with all country flags. For … | |
Hi, i'm doing a website where the user can add his favourite bands in his profile. But not every band is in the DB, so if the band isn't in the DB it adds the name in the column. this is what i have: if(mysql_query("INSERT INTO bandas_fav(band_fav_id_user, band_fav_id_banda) VALUES('".$_GET['iduser']."', '".$bands_name['banda_id']."')")) … | |
What's the best way to overwrite the show_error() function in Common.php? | |
I am trying to get the meta data information from the below url, but its not working, all I'm getting on the screen is an empty screen. Any kind of help is highly appreciated. $tags = get_meta_tags('http://watch32.com/movies-online/return-to-the-blue-lagoon-2766'); echo $tags['author']; echo $tags['keywords']; echo $tags['description']; echo $tags['geo_position']; | |
My customer wants to integrate his software with a website and whenever he updates offline store it shall reflect on website software.Is it possible if yes please reply. Thanks in Advance | |
Hello there! Been a long time since I visited it DaniWeb :) I have a very wiered problem with my JSON data I'm getting using CURL. The returned json is 100% valid - you can copy and check it from here: http://pastebin.com/mdF1Vd7k When I try to do the following: `$result->data[0]->username; … | |
I want to upload images to my database, these can be done using php and mysqli . The form contains some information like file descriptiopn and input file and when i submit the file the file will automatically enters in to the database and the image will be stored in … | |
I am uploading files from a form to a folder in database using the following code. Now i want to add one text field to add some title to that file and save it database.Currently i am uploading files in upload folder but i want to save the title and … | |
Hello, there is a small php script that I am converting from using mysql to mysqli, but I am having a bit of an issue with mysqli_fetch_fields (this is where I assume the problem lies). Basically it is a form that allows someone to enter free form queries in order … | |
Hello, i need help here...., i try to insert my data into mysql, but every time when i insert data into my database, its insert two record in one time, 1 row is the data that i insert and another row is empty, just the auto increment column have filled, … | |
I am happy with sending an email using PHP, i would like to know how to send an attachment also in my email: ` <?php $to = "es@yahoo.com"; $subject = "Sent by portal"; $message = "Get attachment"; $from = "se@gmail.com"; $file = $_POST['ah']; function mail_attachment($to, $subject, $message, $from, $file) { … | |
I want to know if its possible to store php variables in mysql database i currently have a text field which stores the value <div class="row-2"> <div class="titles"> <?=$config['slogan']?> </div> </div> this is the slogan for the website that is in anther table which is got before this - if … | |
I have a login form 'Application_Form_Login' that I call in 'Application_View_Helper_Auth', so that the signin form appears on all pages. If I login from 'index/index', everything is ok, but it doesn't work correctly if I login from 'index/otheraction' or 'othercontroller/index'. The form code starts as follows: class Application_Form_Login extends Zend_Form … |
The End.