39,323 Topics

Member Avatar for
Member Avatar for showman13

I have a question about carrying an entire html table from one page to another in a PHP variable. I would have thought that I could do it, but it doesn't seem to want to work It is a shopping cart displayed in a table, and when they accept the …

Member Avatar for showman13
0
167
Member Avatar for garyjohnson

Hello, I have a mysql query $query = "SELECT * FROM comments WHERE commenter_username IN (" . join(',', $list) . ") Or Number IN (" . join(',', $list) . ") ORDER BY comment_id DESC"; I want the query to select one row, the row with the highest id. Then store …

Member Avatar for Atli
0
299
Member Avatar for SQLpower

Hello, I have a PHP webpage and I want to pass my session to my XBAP app. I created a cookie. $opts = array('http' => array('header'=> 'Cookie: ' . $_SESSION['FILENAME']."\r\n")); $context = stream_context_create($opts); $contents = file_get_contents("http://localhost/WpfBrowserApplicationUltimate.xbap", false, $context); echo $contents; private void btnAbout_Click(object sender, RoutedEventArgs e) { //MessageBox.Show("RichTextPad. © 2014 …

Member Avatar for Ketsuekiame
0
271
Member Avatar for Ancient Dragon

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 …

Member Avatar for Ancient Dragon
0
316
Member Avatar for grouptechindore

<?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; …

Member Avatar for pritaeas
0
284
Member Avatar for jhbalaji

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 …

Member Avatar for pixelsoul
0
178
Member Avatar for essaydoctor

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 …

Member Avatar for diafol
0
193
Member Avatar for lara1anjela
Member Avatar for Dani

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??

Member Avatar for EvolutionFallen
0
270
Member Avatar for furlanut

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 …

Member Avatar for diafol
0
317
Member Avatar for kevinyu

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( …

Member Avatar for cereal
0
205
Member Avatar for sanbhu2105

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 …

Member Avatar for sanbhu2105
0
333
Member Avatar for london-G

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. …

Member Avatar for paulkd
0
1K
Member Avatar for Shaun Swales

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 …

Member Avatar for pritaeas
0
121
Member Avatar for Szabi Zsoldos

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 …

Member Avatar for Szabi Zsoldos
0
391
Member Avatar for xjshiya

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. …

Member Avatar for meharsaracomp
0
1K
Member Avatar for turpentyne

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 …

Member Avatar for pritaeas
0
171
Member Avatar for barry.venter.7

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 …

Member Avatar for pritaeas
0
194
Member Avatar for kantigniter

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 …

Member Avatar for kantigniter
0
154
Member Avatar for Tinnin

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) …

Member Avatar for Tinnin
0
3K
Member Avatar for Carlos_7

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 …

Member Avatar for diafol
0
188
Member Avatar for PF2G

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']."')")) …

Member Avatar for minitauros
0
152
Member Avatar for Dani
Member Avatar for diafol
0
1K
Member Avatar for rrlogu

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'];

Member Avatar for rrlogu
0
2K
Member Avatar for imti321

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

Member Avatar for diafol
0
172
Member Avatar for sobias

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; …

Member Avatar for jkon
0
246
Member Avatar for sabarinadh.ch

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 …

Member Avatar for diafol
0
1K
Member Avatar for sabarinadh.ch

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 …

Member Avatar for diafol
0
404
Member Avatar for joshmac

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 …

Member Avatar for joshmac
0
262
Member Avatar for Hazuan Nazri

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, …

Member Avatar for diafol
0
258

The End.