52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for TheFearful

Hey everyone, I decided to do a lot of echos to make a letter for different selections based off the user. Everything works well except that when the user selects one of the options, two different letters are shown on the page and it's only for one of the options. …

Web Development php
Member Avatar for TheFearful
0
305
Member Avatar for fflime

I want to make countdown timer in multiple choice. I want to display question one by one. But when I click next for the next question, the time is start from 10 minutes again, not continue. How to make an alert if the time was over, it would be directly …

0
135
Member Avatar for SpottyBlue

Hi, I need help with the attendance form. I’ve changed the coding in the attendance form (index.php). When I tried to update the first row, nothing happened. For the last row, the message says, "**We couldn’t update the attendance form at this time**." Please check lines 96 and 101 to …

Web Development mysql php
Member Avatar for SpottyBlue
0
249
Member Avatar for James_43

Hi all, I've been trying to create a friendly time function for a while, it's purpose should be quite obiovus from the code below. Currently, it outputs "expired" for everything. I am so utterly confused from visualising the code and trying to figure out where the times lie in relation …

Web Development php
Member Avatar for James_43
0
309
Member Avatar for jonsan32

I'm trying to create a menu on my site that is a 4x5 grid. I've kinda designed the default state with the code below, but I'd like for that to be the 4 headers with the top 4 cells and the remaining cells to be random b&w pictures used as …

Web Development javascript
Member Avatar for Troy III
0
235
Member Avatar for thatsnotmyname

I've been working on some IG API and when I try to get the IG username I get this error I just don't see anything wrong with my code did I miss something ?? ( ! ) Notice: Undefined index: user in C:\wamp\www\folder\index.php on line 39 <?php set_time_limit(0); ini_set('default_socket_timeout', 300); …

Web Development api javascript-jquery php
Member Avatar for hericles
0
425
Member Avatar for Aeonix

If user issues a query, I would like AJAX to download the result of query into browser so that JavaScript can do the parsing. The results could be around 1MB-5MB (at most, doubt it would get anywhere near 0.1MB), and I would send it from PHP to front-end using JSON, …

Web Development json sql
Member Avatar for ryantroop
0
304
Member Avatar for josh.sm

I started new Ecommerce website ..developed in php.(codeigniter)..and it is SEO friendly but we are in only gifting category .but any one please suggest me how attract people to our website.?

Web Development ecommerce php php-codeigniter seo
Member Avatar for jacks009
0
200
Member Avatar for Jatinder_1

I am retrieving images from database, Now how can i link dynamically images to their url which are also stored in same table, image coloum is adv and url coloum is adv_url , Moreover i dont want to see the url , when i click the image it should go …

Web Development image mysql php
Member Avatar for jacks009
0
443
Member Avatar for AntonyRayan

Hi, I need your help to plot multiple locations from mysql table using latitude and longitude and I want to display a particular location in different color using google map or any other

Web Development javascript mysql php
0
126
Member Avatar for 32blaine

$res=mysql_query("SELECT * FROM users WHERE username={$_SESSION['user']}"); This line is giving me a lot of trouble. It returns blank when it should be returning something. Anyone have an idea?

Web Development session sql
Member Avatar for 32blaine
0
87
Member Avatar for MidiMagic

I made the following css: .mo {font-family: monospace; font-size: 9pt;} td {border: solid thin #000000; padding: 4pt;} With the following html (part of a table) <td class="mo">abcdefg <br />hijklmn</td> The text is not displaying in a monospaced font in Firefox. The i is narrower and the m is wider. The …

Web Development html-css
Member Avatar for MidiMagic
0
230
Member Avatar for TheFearful

Hey everyone, I have a question and I am not sure if it's possible or not to do it with what I'm using. I am using HTML, PHP, JavaScript, and mySQL to make a web page that pulls information from a Database. After that, I want to have a dropdown …

Member Avatar for TheFearful
0
583
Member Avatar for facarroll

I have a MySQL database which contains a text field which contains well formed xml. I want to export this data as an xml file named result_new.xml on the fly. I have made the tmp folder and have set the permissions on the folder to 0777. If I run this …

Web Development mysql php xml
Member Avatar for facarroll
0
1K
Member Avatar for sukumar paul

`Inline Code Example Here`Hello friends, I am building a multidimensional array with the following code: `Inline Code Example Here` the example code is $Questions = array( 1 => array( 'Question' => 'CSS stands for', 'Answers' => array( 'A' => 'Computer Styled Sections', 'B' => 'Cascading Style Sheets', 'C' => 'Crazy …

Web Development mysql php
Member Avatar for sukumar paul
0
2K
Member Avatar for pezzinae

Hello everyone has been a while since i made a question here i have a real problem with a web app that i been doing recently the problem is related with the datetime format when i make transfer data from the webapp to a database in access, the field in …

Web Development asp.net microsoft-access vb.net
Member Avatar for pezzinae
0
582
Member Avatar for Aeonix

Example. I have parent div of 1000px width. I have 4 children divs that each have been told to have "some size" (for example 300px). I would like to put 3 children in first row and then put the fourth in the second row below the 1st child. Something like …

Web Development
Member Avatar for mblan180131
0
211
Member Avatar for glao

Hello ,I want to ask how can I succeed an analogous from mongodb to postgresql. app.post('/myjob', function(req, res) { var collection = db.collection('theDB'); collection.insert({ "my_id" : myID, .... }, function (err, mes) { if (err) { res.send("There was an error"); } else { console.log("Ok with ID "+myID); res.send({ "Done!", ID …

Web Development javascript mongodb postgresql sql
0
157
Member Avatar for TheFearful

Hello everyone, I am learning PHP with mySQL and I want to know if it's possible for me to do a dynamic dropdown box(which I have) that will automatically fill in fields below it such as a textbox. If I select a userID from the dropdown, that selection will fill …

Web Development mysql php
Member Avatar for hericles
0
256
Member Avatar for Leo_8

My requirement is as simple as the title. I want to create new webform on button click event. When user click the button It will create a new webform with masterpage and c# code file. Yeah it should create a new webform unlike open a new webform.

Web Development asp asp.net c#
Member Avatar for Leo_8
0
283
Member Avatar for rouse

I am looking for someone who has used jQuery in the capacity of assigning a value to a text area when the user clicks a radio button. Here is the example code I have worked on so far that does not work. [code] <div id="donationForm"> <form id="formDonate" method ='request' onsubmit='return …

Web Development javascript javascript-jquery
Member Avatar for alexbestoloci
0
513
Member Avatar for facarroll

I have a mysql database that has previously stored the text of an xml file including tags. I want to select that data from the database and return it as an xml file rather than just text, (eg filename.xml). It is to be further processed with a javascript file which …

Web Development mysql php xml
Member Avatar for facarroll
0
385
Member Avatar for AntonyRayan

My loader is not working while form submits, how to solve that?

Member Avatar for cereal
0
119
Member Avatar for Maideen

HI I need to send data from my mssql table to my client by email... Currently I can send one by one items.(more than 200 items) Private Sub SendEmail() Dim body As String = Me.PopulateBody Me.SendHtmlFormattedEmail(Session("email"), ".", body) Session.Remove("email") End Sub Private Sub SendHtmlFormattedEmail(ByVal recepientEmail As String, ByVal subject As …

Web Development asp.net email html-css
Member Avatar for hericles
0
942
Member Avatar for OsaMasw

hey guys I hope you doing well :P am working on simple graphic script which gather some information and write it on image then show it to the user on localhost the project run perfectly as it supposed to do. when I uploaded to live server ( free hosting servers …

Web Development client-server image php
Member Avatar for OsaMasw
0
2K
Member Avatar for london-G

I want to echo the url which includes an onlick property. Here is my code below: function royal_sidebutton_body_tag_html() { // get plugin option array and store in a variable $royal_sidebutton_plugin_option_array = get_option( 'royal_sidebutton_plugin_options' ); // fetch individual values from the plugin option variable array $royal_sidebutton_text_for_tab = $royal_sidebutton_plugin_option_array[ 'text_for_tab' ]; $royal_sidebutton_tab_url …

Web Development php
Member Avatar for Ajay Gokhale
0
991
Member Avatar for joshl_1995

Hello Daniweb Community, I was wondering if someone could help me with the PayPal PHP SDK (version 1.3.2), I'm just going off the examples they have provided [here](http://paypal.github.io/PayPal-PHP-SDK/sample/) focusing on [this](http://paypal.github.io/PayPal-PHP-SDK/sample/doc/payments/CreatePaymentUsingPayPal.html) I was just wondering if there is a way to attach delivery instructions (coming from the website, sending them …

Web Development api daniweb-api ecommerce github php
Member Avatar for joshl_1995
0
460
Member Avatar for James_43

Hi all, In PHP just wondering if anyone knows whether one method of creating multiple indexes within an array is more efficient / preferable to another? ` $listing['one'] = $x; $listing['two'] = $y; $listing['three'] = $z; ` or: $listing = [ ['one'] => $x, ['two'] => $y, ['three'] => $z …

Web Development php
Member Avatar for James_43
0
197
Member Avatar for Filipe_2

I have two differents select tag, but my script change both at the same time!!!! I need each image change with yours respective Select How can I do that? Please HELP from Brazil. Sorry for my bad english. My Code <html> <head> <script type="text/javascript"> /* URL of folder with images …

Web Development display javascript
Member Avatar for DarwinJones
0
205
Member Avatar for FarrisFahad

So I want to remove space between tags. The tags are seperated by comma. But I don't want to remove space between words just right after the commas. So this: cats, funny cats, cute cats, funny To this: cats,funny cats,cute cats,funny I want them ready for insertion into database. This …

Web Development mysql php
Member Avatar for FarrisFahad
0
357
Member Avatar for 555ppp

here i am having a form like this .i am having multiple checkboxes that are coming from database and i have given a field with every checkbox...now suppose 10 checkboxes are coming from database..now i want to insert values in database only of those checkboxes which are checked along with …

Web Development php
Member Avatar for AleMonteiro
0
3K
Member Avatar for Harmeet_2

Hi i m new with codeigniter Kindly help me how i display data in dropbox from database and save into datbase.

Web Development php
Member Avatar for Ajay Gokhale
0
140
Member Avatar for london-G

Hi Guys, Hope you are enjoying the summer! I am having some trouble with the code below. It is feeding blog posts from another website and linking them to a website. The code works fine. However I need to change the hyperlink(uri) to another domain. <li><a href="<?php echo $feed[$i]->uri; ?>" …

Web Development php
0
219
Member Avatar for love_dude1984

Hi.. I want to upload a file with help of FileUpload control, in which, i want to save the file with a specific name or say a name entered in a textbox on a same page. for ex, if textbox contains "ABC" then the files should be uploaded with abc.jpg …

Web Development asp.net file-system
Member Avatar for Dhanya_1
0
2K
Member Avatar for TObannion

I'm making a series of webpages, and need to control top level navigation through an external JS file. I can't even think of how to begin to code this. Does each page need to be assigned an array index? Then how do I hide the link to the current page?

Web Development javascript
Member Avatar for TObannion
0
159
Member Avatar for Aeonix

My first problem was. "I have this box, I need this box to be 230px, and I have second box, that needs to take entire space remaining". My solution to this was, `float`. So I floated both boxes, `float: left;` and `float: right`. That looked nice, until I noticed that …

Web Development html-css
Member Avatar for Aeonix
0
176
Member Avatar for mattyd

I am working on developing a simple site, optimizing for mobile. I am using jQuery at this time to render basic, rollover buttons using image-swapping. The issue I am having involves using **multiple**, different buttons; for example, 3 buttons, different images for each (one "on" image, one "off" image for …

Member Avatar for gentlemedia
0
290
Member Avatar for Siberian

Anyone have a Samsung Galaxy running Andriod 5.0.2. I just need to collaberate with you trying to solve a web design problem; and I also may need you in the future regarding the same device ;-)

Member Avatar for Siberian
0
215
Member Avatar for SirMahlon

my update is choosing a different column which i don't have in my table. Please i need assistance SQLSTATE[42S22]: Column not found: 1054 Champ 'companyprofiles.id' inconnu dans where clause (SQL: select * from `companyprofiles` where `companyprofiles`.`id` = 2 limit 1) what i have is user_id thus what i need to …

Web Development php
Member Avatar for Sikander Nasar
0
620
Member Avatar for LRNPHP

Hi guys, I'm working on a project and wanted to know if there is a good / trusted way to break a string apart into words. I want to get all the words in a string that will be used in a mysql query. I tested with str_word_count but it …

Web Development php
Member Avatar for navichawla92
0
310
Member Avatar for chaze

When our template goes mobile it has two compacted menus. Any idea how I can get rid of the top one? The one under the logo is correct, the one above is some left over code I can't seem to find. You can see them here with a mobile phone …

Web Development file-system
Member Avatar for gentlemedia
0
211
Member Avatar for blueguy777

Getting the follwoing error message. How to fix this? **Parse error: syntax error, unexpected end of file in** Actual Code: <?php session_start(); include("connection.php"); $sqlsettings = "SELECT * from admin"; $resultsettings = mysql_query($sqlsettings); $rowsettings = mysql_fetch_array($resultsettings); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title><?php echo $rowsettings['ScriptName']; ?> …

Web Development php
Member Avatar for blueguy777
0
314
Member Avatar for shandoo1997

Hi, I have a raspberry pi in which I use kweb in kiosk mode. To display a webpage. What I am trying to do is to be able to navigate through the webpage using my phone. What I am struggling with is how can I make this kind of connection …

Web Development javascript javascript-jquery php
Member Avatar for shandoo1997
0
377
Member Avatar for shashigowda

Hi iam working on one scenario.. employe A send a Requesting mail to Project manager B, project manager B approves a request from employee and send the mail to project manager C for further process,after approving from project manager C it will go to department head like this... so here …

Member Avatar for Zagga
0
251
Member Avatar for Laura_7

This is my code for a user login. It allows the user to login fine. What do i need to add to the code to allow admin users to be able to login and then be redirected to another page? In the database I have assigned 0 to the normal …

Web Development mysql php
Member Avatar for cereal
0
2K
Member Avatar for Ayuni_1

Hi. I want to auto calculate some fields in database without any button submit but i'm only know how to calculate using button submit. I want that user enter the value then the user will get the calculate value automatically without click on button submit. I'm doing my final year …

Web Development mysql php
Member Avatar for red.peugeot
0
225
Member Avatar for rowen_1

I am new to php. I encountered the following errors. Warning: require_once(/dbtest/db_connect.php): failed to open stream: No such file or directory in C:\xampp\htdocs\dbtest\connect.php on line 2 Fatal error: require_once(): Failed opening required 'dbtest/db_connect.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\dbtest\connect.php on line 2 I am very sure I have db_connect.php file inside my dbtest …

Web Development file-stream file-system php
Member Avatar for RudyM
0
2K
Member Avatar for panduranga_1

Sorry, recently i have came across working with testers, previously i have tested website my self. When testers do web User Interface Testing, they find silly ui bugs that users can't find and force devlopers (me) to solve those bugs. They can't find important bugs which is related to backend …

Web Development php user-interface
Member Avatar for RudyM
0
278
Member Avatar for arctushar

Hi I m developing a mobile apps which will fetch json data from my server. My server address is http://need4engineer.com/api.php this is not working. But same data from another server https://randomuser.me/api/?results=5 is working well. Both the cases header is same. Please help me

Web Development client-server json php
Member Avatar for rproffitt
0
184
Member Avatar for Hope_2

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Membership</title> <meta name="GENERATOR" content="PHP"> <script> function validateEntries(form){ if(document.myForm.firstname.value == "" ) { alert( "Please provide your name!" ); myForm.firstname.focus() ; return false; } if( document.myForm.lastname.value == "" ) { alert( "Please provide your last name!" ); document.myForm.lastname.focus() ; return false; } …

Web Development javascript
Member Avatar for Hope_2
0
379

The End.