52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for malatamil

i have a dropdown box and i already upload the value from dropdown selection to database. after uploading i want to cange the dropdown value how should i do,please help me. thanks in advance

Web Development file-system html-css php
Member Avatar for malatamil
0
132
Member Avatar for mukhtar_1

Hi All, Really, I need your help to create phonebook application with MVC. in which the application contains a contacts database. also the application should contain a login screen to delete or edit contact information. the links of update and delete a contact record should appear at the end of …

Web Development java-jsp seo
Member Avatar for peter_budo
0
182
Member Avatar for Silas_1

I have 1 or actually 2 problems. I have 2 sites, the first one generates a table with avatar, coins, and name (which links to a more detailed view like this `/stats/user/?name=<dynamic name>`. It looks like this: <table> <thead> <tr> <th>#</th> <th>Points</th> <th>Name</th> </tr> </thead> <tbody> <?php error_reporting(E_ALL); define ( …

Web Development mysql php sql
Member Avatar for diafol
0
330
Member Avatar for Alonso_1

Hey there. I'm trying to retrieve a date from an SQL table. The original formate of the date is as follows: 0000-00-00 00:00:00 I want to try and change the format into: Month Date, Year e.g. May 17, 2014 <?php $page_title = 'View the current users'; include('header.inc'); require_once('mysql_connect.php'); try{ $query …

Web Development mysql php sql
Member Avatar for Alonso_1
0
217
Member Avatar for Bin_2

i am trying to command mysql to sum until it reaches certain value from my table 'purchase', for each 'sid' starting from the last row, i need sum of 'pqty' until the result equals a value from string (but to try i've given a certain value). let me define with …

Web Development mysql php
Member Avatar for Bin_2
0
119
Member Avatar for devianleong

Hi guys, I want to hover all the images and show the image with colour when mouseover (remove hover when mouseover). I hover it by using this line of code and it's work fine but I do not know how to add mouseover method to change fadeTo value become (400,1): …

Member Avatar for pixelsoul
0
266
Member Avatar for iamthwee

foreach ($query->result() as $row) { echo anchor("forum/topic/$row->topicid", my_html_escape(($row->name)), 'attributs'); echo ' by '; echo $this->Stuff->get_topic_author($row->topicid); echo ' replies '; echo $this->Stuff->get_replies($row->topicid); echo ' Last post '; echo $this->Stuff->get_topic_last_post($row->topicid); echo br(); } How do I conveniently pass that to my view. Calling a model function within the original query->result has perplexed …

Web Development php
Member Avatar for leap_coder
0
2K
Member Avatar for sigitas.darguzas

<?php $faces = array ('4', '1', '2', '3', '6', '5'); $payouts = array ( '1|1|1' => '0,01', '2|2|2' => '0,02', '3|3|3' => '0,03', '4|4|4' => '0,05', '5|5|5' => '0,07', '6|6|6' => '0,10', ); $wheel1 = array(); foreach ($faces as $face) { $wheel1[] = $face; } $wheel2 = array_reverse($wheel1); $wheel3 = …

Web Development php
Member Avatar for Tpojka
0
166
Member Avatar for malatamil

i know to upload normal type of multiple image.bt here my code is like to upload multiple images with rename image as date and time. but the problem is while uploading multiple image its added only one image.how can i add multiple image by using this code $num4 = count($_FILES['mainimage']['name']); …

Web Development file-system image php
Member Avatar for iamthwee
0
252
Member Avatar for davecoventry

I have the following HTML: <div> <img src="http://127.0.0.1/divo/wp-content/uploads/2014/05/vac.system-2-TOP-150x150.gif" style="padding-right: 8px; padding-bottom: 8px; float: left;" /> <div>Children: how to help them cope.<br/> <div style="font-size: 0.75rem;"> <i>Published in <a href="http://127.0.0.1/divo/?cat=5">Kids</a>, yesterday by David Coventry</i><br />Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque …

Web Development html-css legal
Member Avatar for davecoventry
0
856
Member Avatar for afaaro

Hello every one I need help help with tihs code, it works but is there an easy way to generate articles by categories and subcategories if($result = GetList("SELECT p.*,f.*,c1.* FROM ".DB_PREFIX."mediaCategory c1 LEFT JOIN ".DB_PREFIX."mediaCategory c2 ON c2.category_id=c1.category_parent LEFT JOIN ".DB_PREFIX."mediaCategory c3 ON c3.category_id=c2.category_parent LEFT JOIN ".DB_PREFIX."mediaCategory c4 ON c4.category_id=c3.category_parent …

Web Development php
Member Avatar for afaaro
0
435
Member Avatar for Priti_P

Hello There, My problem is: I have declared an empty PHP array. and onsubmit of button I want to add the _post values to array at every time on my form. I am working this in Yii framwork. Array declred as: $skill_values_array=array(); button code <?php echo CHtml::submitButton(Yii::t($model, 'next'), array('id' => …

Web Development client-server javascript php
Member Avatar for Kyle Wiering
0
739
Member Avatar for Ryan Huxley

Hello, I'm really new to website making and I am making one for an assignment. I have made one myself here http://fcsit-trackandtrace.webatu.com/ Now the part where I'm really confused is to make a user login system, any help on that?

Web Development
Member Avatar for Ryan Huxley
0
171
Member Avatar for Enigma360

I need to create a list of products, grouped by a category field. I am using PHP and MySQL. I have fields called ProdName, ProdCat etc. I need the list to appear as follows: * Category A * Product 1 * Product 2 * Category B * Product 3 * …

Web Development php
Member Avatar for afaaro
0
312
Member Avatar for Mathias Nkwuda
Member Avatar for pritaeas
0
91
Member Avatar for p.h.p

Hi all, I am fighting with the following issue and was hoping you can give me some insights, as I am totally stuck. What's going on? I have 3 tables, created as follows: table category_p column id column name column type table home column id table link_category_p_home column category_p_id column …

Web Development php
Member Avatar for p.h.p
0
372
Member Avatar for ravi142

Hello I want to make my site so Any one help me for Plugin like.. Responsive with includeing some Text in slider. Like [Demo-1](http://www.openxcell.com/) [Demo-2](http://www.indianic.com/) Thank you..

Web Development php wordpress
Member Avatar for pooja01
0
275
Member Avatar for komal.sharif.5

I am new to php. I want to insert the value selected from dropdown list in mysql database. i have two tables named tbl_user and tbl_domain. how may i storea value in tbl_domain selected from dropdown list. can any1 help me pls? here is ma code. pls tell me whats …

Web Development engineering html-css
Member Avatar for nadiam
0
370
Member Avatar for Ryan_11

I am trying to pass some data from the database to a few textboxes and textarea but i am currently stuck. I would really appreciate some help to solve this issue. this is the code i am working with. I am able to pass it to the table but not …

Web Development html-css php
Member Avatar for Ryan_11
0
545
Member Avatar for iamthwee

Sup. I'm using codeigniter with twitter bootstrap modal window and I would like it to talk to the controller... How... Cheers in advance.

Web Development php
Member Avatar for diafol
0
377
Member Avatar for mpike

Alright so what I'm trying to do is send the form data to the value of whatever checkbox is checked in checkbox_1. <html> <head> <title>Untitled Document</title> <h1>Student Request Form</h1> </head> <body> <?php if(isset($_POST['checkbox_1'])) { $checkbox_1 = implode(",", $_POST['checkbox_1']); $to=implode(",", $_POST['checkbox_1']); $subject = "My subject"; $txt = "Hello world!"; mail($to,$subject,$txt); } …

Web Development email php
Member Avatar for iamthwee
0
345
Member Avatar for carl.potak

Hi all. I'm hoping that one of you could assist me in what may be very obvious to you experienced folks, but what does the 5th line of code saying "**head("Home");**" do? The include statement already brings up home.php, and I'm not used to a templated website structure. Thanks in …

Web Development php
Member Avatar for carl.potak
0
188
Member Avatar for Garidius

Hello to all, HAving a hash where its keys are associated with arrays like below: myHash = {"A"=>["HYU"], "B"=>["TU6"], "C"=>["11", "09","88","2"], "D"=>["01", "11"]} Each key represent one header and the arrays elements represent the values for each header. How to print each key in different column separated by comma "," …

Web Development ruby
Member Avatar for Taywin
0
407
Member Avatar for mark103

Hi all, I need your help as I got a problem with the strings. When I get the list of strings for the input, I keep getting the same strings over and over when I output them. Here is where you can see in the output: <tv generator-info-name="www.mysite.com/xmltv"> <channel id="101 …

Web Development
Member Avatar for mark103
0
160
Member Avatar for sushilsth

array (size=4) 0 => array (size=7) 'id' => string '75' (length=2) 'room_name' => string 'Economy ' (length=8) 'no_of_room' => string '0' (length=1) 'price' => string '500' (length=3) 'description' => string 'asdfasf' (length=7) 'image' => string '' (length=0) 'hotel_id' => string '1' (length=1) 1 => array (size=7) 'id' => string '70' …

Web Development php
0
114
Member Avatar for adsegzy

I have a products website. I have a table for product & another for makers where maker of products can be added. MAKERS TABLE ID MAKER 1 Nissan 2 Toyota 3 Audi 4. Honda PRODUCTS TABLE ID PRODUCT MAKER_ID PRICE 1 2000 Corolla 2 5000 2 2010 CRV 2 4500 …

Web Development php
Member Avatar for diafol
0
151
Member Avatar for engrjd91

I have my 2 php pages, one is the login page and the other is the cms page. I need to login into my account, whenever i Give my id and password in the login form the page should first check in the database whether the user exists or not. …

Web Development cms html-css
0
136
Member Avatar for ckir5951

hi someone tell me how to define Notice: Undefined index: id in C:\xampp\htdocs\invoice\getcheckno.php on line 6 Notice: Undefined index: taxrate in C:\xampp\htdocs\invoice\getcheckno.php on line 7

Web Development php
Member Avatar for Alberto Bucur
0
123
Member Avatar for Rasvinder_1

Hi all, I need help developing an application which detects if 2 images show the same person or not.... something as retina scan, which compares webcam captured image with one stored on the system..... Thanks.....

Web Development asp asp.net webcam
Member Avatar for pritaeas
0
271
Member Avatar for BeckyAnne87

Hi there, I've started to create a site for me and my friends, and I want to be able to have each of us upload an image, and store it in a database, and then have it display as a display picture on a profile page. I've been looking around, …

Web Development file-system image php
Member Avatar for diafol
0
5K
Member Avatar for moone009

This is my main page where the user can choose a category from a drop down. I need that category selection to update my session variable so I can then send that variable to another php page execute a query and return the result in my div because I do …

Member Avatar for moone009
0
396
Member Avatar for everton.retweets

Hi Everyone, I have been trying to work out how to add 20% vat to a total in php, but for some reason I am unable to. I have been using the following code, but I keep getting the same price for price_with_vat as I do for price_without_vat // price …

Web Development php
Member Avatar for everton.retweets
0
2K
Member Avatar for accra

i just dowloaded a fiverr clone from http://phpvalley.com/phpvalley-micro-jobs-site-script/ but am unable to install it on my localhost.am told to change 644 to 777, but i dont know where or how. I rigth click on connect.php and tryed changing its propaties, but it too did'nt work...

Web Development mysql php
Member Avatar for unity100
0
219
Member Avatar for nouth

how to `.replace()` the `'error'`? only use `a` and `b` var str = 'bla bla anything error anything bla bla'; var a = 'anything', b = a; im not good with regular expressions so im asking for how to do this with variables so i can set them up all …

Web Development javascript regex
Member Avatar for diafol
0
7K
Member Avatar for kannan mangalar

if (!empty($_POST['twitnam'])) { $message = $_POST['message']; $TwitterUsername = $_POST['twitnam']; $tw_sql = mysqli_query($connection, "SELECT oauth_token,oauth_token_secret FROM TwitterUpdate WHERE uname='$TwitterUsername'"); $row = mysqli_fetch_array($tw_sql, MYSQLI_ASSOC); $oauth_token = $row["oauth_token"]; $oauth_token_secret = $row["oauth_token_secret"]; if (strlen($oauth_token) > 0 && strlen($oauth_token_secret) > 0) { $Twitter = new EpiTwitter($consumer_key, $consumer_secret); $Twitter->setToken($oauth_token, $oauth_token_secret); $status = $Twitter->post_statusesUpdate(array('status' => $message)); echo …

Web Development api php social-media
Member Avatar for almostbob
0
754
Member Avatar for Rasvinder_1

Hello all, I need help regarding developing an asp.net application to compare images using facial recognition. I mean comparing 2 different images of the same person and returning whether the 2 images are of the same person or not..... I have developed the application which compares the images pixel by …

Web Development asp asp.net
Member Avatar for pritaeas
0
275
Member Avatar for hykyd

I have been creating small personal projects and trying to monetize or just learn from the creation process. I love programming and I am doing it as a hobby, looking forward to become a strong developer as soon as possible. Starting out I used Joomla, Wordpress, Drupal as CMSs but …

Member Avatar for pritaeas
0
268
Member Avatar for websponge

I import a spreadsheet (csv) into my sqli database (keeps a track of all our firewalls) there are 10 excel columns , one for each connected network on the firewall. i would like all these columns to be imported as one entry in the database, so 1 database field would …

Web Development microsoft-office php sql
Member Avatar for websponge
0
202
Member Avatar for websponge

Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\firewall\php\allresults.php on line 3 The annoying thing is, I have used this multiple times on different applications, I dont know why it think the result is boolean? the exact same code works on a different database, I just cant …

Web Development mysql php
Member Avatar for websponge
0
238
Member Avatar for riddhi.shah.35325

Hello I am able to display the images that i am retrieving from the database as a list. But i want to know how i will be able to display the same images as a grid or table. I have posted my code below.Can you please let me know how …

Web Development display mysql php
Member Avatar for veedeoo
0
2K
Member Avatar for CarterLangley

Hi guys, OK, here is the issue I am having. Perform a search and when you click the submit button, it takes you to the page that displays the info. Now, when the user clicks the back button on the browser it tries to re-submit the info. I don't want …

Web Development gui mysql php
Member Avatar for veedeoo
0
1K
Member Avatar for underwood

hi all. i searched and i did find that someone was facing this same problem. Although i did what was told to him, i am still getting the same error. guide me? Error : Parse error: syntax error, unexpected 'exist' (T_STRING) in C:\wamp\www\ProjectCms\login.php on line 6 <?php session_start(); include("passwords.php"); if …

Web Development php
Member Avatar for veedeoo
0
192
Member Avatar for Garidius

Hello to all, Having to arrays of the same size like below. A = ["SL","MW","OP"] B = ["RU","YF","L2"] How can I concatenate in columns to print in parallel like below? SL - RU MW - YF OP - L2 I've tried with code below but is printing all in one …

Web Development ruby
Member Avatar for Garidius
0
447
Member Avatar for malatamil

for this particular pages i need <li><a href="about_us.php?abtid=2" title="About Us" onclick="function changetab();">About Us</a></li> <li><a href="contact_us.php" title="Contact Us">Contact Us</a></li> <li><a href="faq.php?abtid=4" title="FAQ">FAQ</a></li> <li><a href="terms_of_use.php" title="Terms Of Use">Terms Of Use</a></li> $abtid = $_SESSION['abtid']; $sql1 = mysql_query("SELECT st.`id`,st.Catagory, st.`title`, st.`description`, st.`keywords`,sft.id,sft.titles FROM `seo_title` st JOIN seo_footer_title sft ON sft.id=st.Catagory WHERE st.Catagory='$abtid'"); $result = …

Web Development php
Member Avatar for parveen5910159
0
211
Member Avatar for asholino

hi all : i wanted to create w form that store all data in to a db for example : name surname date of birth gender comment afterthat i wanted to create a page just to call these data but not all (it's variable so sometimes i need to generate …

Web Development pdf php
Member Avatar for almostbob
0
115
Member Avatar for hiiiiii@

Is there any free sms gateway and how to implement it in php

Web Development php
Member Avatar for Tom87
0
203
Member Avatar for hallianonline

hi I have 1 iframe which includes another iframe it and I want to auto height both frames whenever any activity peform in the iframe it load the new page and auto height according to the 2nd (inner iframe) the code which i am currenlty using in main page and …

Web Development javascript javascript-jquery
Member Avatar for rpv_sen
0
255
Member Avatar for laura301019

I have a gridview that displays client details and a button to allow the clients details to be edited. A modal pop up is used to edit the client details with the text boxes prefilled. What I was wanting to know is if there is a way to only display …

Web Development asp.net
Member Avatar for Daemon_CC
0
181
Member Avatar for Bin_2

hey guys! this is my first post to daniweb. and also i've not been so long on php. i m trying to manage customer transection records but stuck on one place and i need help.. here is my mysql table for transection of customer id-1 => +-----+------+----------+--------+------+-------| | svn | …

Web Development mysql php
Member Avatar for Bin_2
0
341
Member Avatar for SalmiSoft

The page source for http://www.nordpoolspot.com/Market-data1/Elspot/Area-Prices/ALL1/Hourly/ includes this latin(?) paragraph: *Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam quis mi eu elit tempor facilisis id et neque. Nulla sit amet sem sapien. Vestibulum imperdiet porta ante ac ornare. Nulla et lorem eu nibh adipiscing ultricies nec at lacus. Cras laoreet …

Web Development
Member Avatar for SalmiSoft
0
363

The End.