17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for bsiness

Could Someone PLease Help Create Forums... Some Reference Codes PDFs? I don't owe a top-level domain just free hosting so here it comes... I'm a 15-yr old boy and I want to learn how to make [U]forums with users log-in[/U]... gonna style it put some ads(which is the thing I …

Web Development javascript
Member Avatar for stbuchok
0
101
Member Avatar for 54uydf

I'm saving queries in my DB as strings here's my code: [CODE] $SQLcode="SELECT * FROM ... WHERE field="blah blah" HAVING field2<$x"; $query = "INSERT INTO tblQ (qId, qName, description, SQLcode) VALUES (NULL, '$qName', '$description', '$SQLcode');"; [/CODE] the problem is inserting a string into the $SQLcode, if I do it this …

Web Development php
Member Avatar for cereal
0
80
Member Avatar for Nahiyan

Hi, I have used this code to make a php file with php code in it: [CODE]<?php $fn = 'connect.inc.php'; $string = "<?php $mysql_host = 'localhost'; $mysql_user = 'root'; $mysql_password = ''; $mysql_database = 'main'; @mysql_connect($mysql_host, $mysql_user, $mysql_password) or die("There was an error connecting to the server"); @mysql_select_db($mysql_database) or die("There …

Web Development file-system php
Member Avatar for cereal
0
145
Member Avatar for fobos

Hello everyone, i had a question on how to pull certain content from a website using PHP and cURL and dislay it on a page? So far from the web, this is all i was able to find out, but this just saves the coding into a text document. Lets …

Web Development php
Member Avatar for cereal
0
877
Member Avatar for dashawk

Hi guys, I have a problem on my php code and url passing. [B]What it should do:[/B] There are 3 forms of the php file, the [B]"email"[/B], [B]"item1"[/B] and [B]"item2"[/B]. The [B]email form[/B] is hidden by default on page load, it will only be visible if any of the [B]item1[/B] …

Web Development javascript javascript-jquery php
Member Avatar for cereal
0
429
Member Avatar for heshanm

I have created these 2 pages to generate reports. [B][U]teller_reports.php[/U][/B] [CODE] <form id="form1" name="form1" method="post" action="daily_transactions_report.php"> <label>DailyTransaction Reports<br /> <br /> DATE </label> <input type="text" id="demo3" name="date" maxlength="25" size="25"/> <img src="../images/cal.gif" onclick="javascript:NewCssCal('demo3','yyyyMMdd')" style="cursor:pointer"/> <p> <label></label> <label> <a href="tcpdf/examples/daily_transactions_report.php"> <input type="submit" name="button" id="button" value="Generate" /> </a> </label> </p> </form> [/CODE] [B][U]daily_transactions.php[/U][/B] …

Web Development php
Member Avatar for heshanm
0
186
Member Avatar for rakwel10

Pls help me find the problem. All input fields work except for the upload. It doesnt take the file to directory I want. I have error scripts in case there's an error but alert errors are not popping, I dont know why... Help... [CODE] if(isset($_POST['submit'])) { $upload_errors = array( UPLOAD_ERR_OK …

Web Development file-system php
Member Avatar for adkhan
0
139
Member Avatar for Natique

Hi! I'm trying to send data from a mobile application written in Java ME, to an ASP.NET website connected to an SQL server. I tried to open an httpconnection output stream in the Java ME application, and send the data in a POST to the website. The problem is I …

Web Development asp.net java sql
Member Avatar for Natique
0
219
Member Avatar for SolidSora

I'm trying to use a for loop to convert a number into star images. My program reads from an SQL database to take a rating, which that works fine, but when I try to use a for loop it's a problem due to it being inside a table. Here's my …

Web Development php
Member Avatar for SolidSora
0
122
Member Avatar for 54uydf

Hi, I've got a table with 3 cols and each cell has a checkbox. I want to have 3 checkboxes above the table that each one checks/unchecks all the checkboxes in the table but ONLY in one col. so if I click checkbox 1 all the checkboxes in col 1 …

Web Development javascript
Member Avatar for 54uydf
0
199
Member Avatar for spawn2004

hi everybody i have a question : I am writing a website and i havee a drop down menu. when the user is logged out he can see part of the menu and when hi is logged he see the other part. i hide the menu with <?php if(isset($logged)){ ?> …

Web Development php
Member Avatar for spawn2004
0
156
Member Avatar for sibymary

hi,im using registration form for registering users to the new account.i have 2 tables in one database.database name is test and table name is student and member.in student table which contain the register no of student which is already stored in the database.in member table,it has 4 fields which is …

Web Development mysql php
Member Avatar for sibymary
0
130
Member Avatar for Sparhauoc

Hello all, first post here. I'm a newbie in php code, but declaring a simple variable I thought I could do, but apparently not. I cannot figure out which rule I broke, but I keep getting an error message in line 4 of the following code for an unexpected t …

Web Development php
Member Avatar for Sparhauoc
0
132
Member Avatar for anand01

Hi all, I need to access mysql db from multiple servlet i,e need to insert the value from one servlet and retrieve from another servlet.i passed the connection variables through web.xml file. i need to get those variables from both the servlets to connect the db again.how to achieve that …

Web Development java-jsp
Member Avatar for anand01
0
150
Member Avatar for musicmaker001

I created a Javascript application that creates a moving quote.([url]http://economymoving.net/get_an_online_moving_quote.php[/url]) The quote page should insert a record in the db, display the record on a new page called viewquote.php and send an alert email to the company. Currently, the phpmyadmin database receives the record but viewquote.php doesn't display the correct …

Web Development adobe ide mysql php
Member Avatar for paulrajj
0
987
Member Avatar for tapuwa2002

Hey guys I was hoping you help, I have a ms access database on my webserver. I want to select all the records with a certain date. But it seems not to work. [CODE] <CFQUERY NAME="qStuff" DATASOURCE="MyDb" maxrows="20"> SELECT * FROM Stuff; WHERE (((Stuff.RegDate)=#5/1/2004#)); </CFQUERY> [/CODE] When I do this …

Web Development coldfusion
Member Avatar for tapuwa2002
0
221
Member Avatar for Hani1991

Hello everyone, I've read, in the manual of PHP, about this function, i.e. quotemeta(string $str). This function [QUOTE]Returns a version of str with a backslash character (\) before every character that is among these: . \ + * ? [ ^ ] ( $ )[/QUOTE] Now, I understand what it …

Web Development php
Member Avatar for Hani1991
0
129
Member Avatar for staticwave

Hi, I am very new to working with php and I need a little help getting the fields from my form divided into two rows and properly aligned when output to the user. [B]Function:[/B] This is a Client Profile type of program. A form is displayed to the user and …

Member Avatar for staticwave
0
413
Member Avatar for Hani1991

Hello everyone, I've visited a lot of websites, like Daniweb, and found effects on the sites pages that are really of a considerable design. I know it's becoming common, but I really get impressed at seeing such things. When you put the mouse cursor on some button it becomes highlighted …

Web Development gui image javascript
Member Avatar for Hani1991
0
157
Member Avatar for Waynef

Hi, I want to fade in each element in my array with a slight delay from the preceding element so they dont all fade in at the same time. Here is my code: [CODE]$(document).ready(function() { var arr = ['<img src="images/1.jpg" />', '<img src="images/2.jpg" />', '<img src="images/3.jpg" />', '<img src="images/4.jpg" />', …

Web Development javascript javascript-jquery
Member Avatar for Waynef
0
79
Member Avatar for 54uydf

I have 3 tables in DB, m..m relation table1: [U]id1[/U], a,b,c... table2: [U]id2[/U], x, y .. table3: [U]id1[/U], [U]id2[/U] I'm inserting new rows to table1 using a form, and the P. key field is set to AUTO_INCR, because there's no other property that can be meaningful enough to distinguish between …

Web Development php
Member Avatar for 54uydf
0
146
Member Avatar for baig772

i am new to JIRA i did not find JIRA category dats y asking question here how can i deploy JIRA on my server????

Web Development php
Member Avatar for sl_bart
0
77
Member Avatar for spawn2004

Hi everybody, i want to ask for help. I have a website and i will write a php soure code for uploadding files. Let's say i or user upload powerpoint presentations and need to be open in a window in the site when somebody choose the link.Can anyone tell me …

Web Development php
Member Avatar for digwnews
0
92
Member Avatar for youvi
Member Avatar for decade
0
77
Member Avatar for nigelsponge

Hi, I am using a $get function to get a variable from the URL as my page subtitle. It works fine except if the variable has an apostrophe in it. Then the title has a backslash in front of the apostrophe (probably to escape that apostrophe). Not sure how to …

Web Development php
Member Avatar for coolest_987
0
197
Member Avatar for PinoyDev

I am having problem regarding fixing my php content page with some css. I have a page which is 980px with..I want to put an image with 70 in height and 141 in width. But i want this image to be right align...I currently have the following css but when …

Web Development html-css php
Member Avatar for PinoyDev
0
113
Member Avatar for PinoyDev

Good day! I am having a little problem regarding clearing sessions. I have a link named LOGOUT in php.. when this link is click, I want to clear and detroy all sessions and redirect the user to index.php page. thank you for helping!

Web Development php session
Member Avatar for PinoyDev
0
109
Member Avatar for Stefan_Lam88

Anyone know what is the root cause unable to open the connection in php? [CODE]CDbConnection failed to open the DB connection.[/CODE] I m having trouble connecting to mssql server connection..in yiiframework

Web Development mssql php
Member Avatar for chrishea
0
149
Member Avatar for maizer1

Hi, on our webpage, we display text taken from the DB, that includes html character codes like &lt;br/&gt;. Obviously, this display as <br/> on the page, but we'd like to actually see the newline. Its probably stored like this in the DB because we did an escape on the text …

Web Development html-css java-jsp
Member Avatar for maizer1
0
115
Member Avatar for Zagga

Hi folks. I'm playing about with jQuery at the moment but I really don't have any js knowledge so I am going mostly by guess work. I ordered 2 js books yesterday though so I should be able to at least start learning the basics in a few days. I …

Web Development javascript javascript-jquery
Member Avatar for Zagga
0
201
Member Avatar for hooray

I am trying to make a form, with a textbox next to a select box. When the user selects an option in the select I would like the textbox to display some text to explain what each select option means. I have this so far: (I have left out anything …

Web Development javascript
Member Avatar for gudiya_413
0
1K
Member Avatar for dottomm

Thank you in advance to anyone who can help this coldfusion noob. What I am trying to do seems easy enough but clearly I am having very serious problems. ;D I am trying to populate a pdf with data from a database. //Here is the page that lists all the …

Web Development coldfusion pdf
Member Avatar for jsmall26
0
402
Member Avatar for LloydFarrell

Hi, I have been going round in circles for the past few hours and I need some help please with the following header location. [code]header("location: http://www.websitename/members/securecode/index.php");[/code] I have a login script that works great until i get to line 81 ?? the above header location. here is my script - …

Web Development html-css php
Member Avatar for Kadafiz
0
541
Member Avatar for PinoyDev

Hi! Good day! I am having problem regarding closing the fancy box with an iframe type after succesfull login..I have this code but the redirect parameter seems not executed after fancy box close event...Anybody help me?Thanks! [code=php] echo "<script>parent.jQuery.fancybox.close();</script>"; header("Location: " . $MM_redirectLoginSuccess ); [/code] Thank you!

Web Development php
Member Avatar for PinoyDev
0
430
Member Avatar for rakwel10

Hello, pls help me with my code... I was able to output the database table on my page. It goes for example like this: [B]id | name | etc... ---------------------- [COLOR="Red"][U]01[/U][/COLOR] | john | etc... [COLOR="Red"][U]02[/U][/COLOR] | mike | etc...[/B] The "ID" is a link (a href). Once click, it …

Web Development php seo
Member Avatar for rakwel10
0
336
Member Avatar for DealthRune

I need a PHP messaging system where you can send, recieve, and view the messages you sent from one user to another. If you need my SQL code for the database, just ask :)

Web Development php
Member Avatar for lexayo
0
4K
Member Avatar for felix001

Im currently working on a HTML page to add additional input boxes. I have the following code. Does anyone know how I would go about adding the required vlaues to each of the input boxes, for use later on within php ?? [CODE]<html> <head> <title></title> <script language="javascript"> fields = 0; …

Web Development javascript
Member Avatar for felix001
0
165
Member Avatar for -acir-

i tried to add enum.. not sure why its not working... pls help. [code] /* * To change this template, choose Tools | Templates * and open the template in the editor. */ import java.io.IOException; import java.io.PrintWriter; import java.util.Random; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * * …

Web Development java-jsp
Member Avatar for -acir-
0
110
Member Avatar for Jeroen van Zijp

I'm trying to make a Menu manager in PHP + SQL. My goal is to save every menu item and where it should link to in a seperate row. Every row has an internal identifier column called 'menu_id'. I also want to add a function to be able to add …

Web Development mysql php sql
Member Avatar for diafol
0
196
Member Avatar for rakwel10

can someone tell me how to do this... I have a page that contains reports and information. For this reason, I thought of putting an rtf generator that converts HTML to RTF. I've googled it, found some codes, but I cant understand... Any one here know how to do it? …

Web Development html-css php
Member Avatar for rakwel10
0
300
Member Avatar for heshanm

Hi, I want to validate phone number in my project. I include some validations. Furthermore i want to check whether it exactly contains ONLY 10 digits.nothing more and nothing less.How should i include that? [CODE] if (document.form1.phone_number.value == '') { alert('Please fill in phone number!'); return false; } if(!document.form1.phone_number.value.match(/^[0-9]+$/)){ alert('Please …

Web Development javascript
Member Avatar for heshanm
0
335
Member Avatar for spawn2004

Hi , everyone, i am new in web design and i have a liitle problem with my registration form.I have one php file which have the html code and the php and anothe with jquery. PHP code is for checking and enter the data in mysql table. The jquery code …

Member Avatar for ddsuresh
0
174
Member Avatar for miss_indie

Sorry for posting again. :| I'm working on this simple evaluation system for our final requirement in this subject. it's working now. my problem is I want to have an error checking ([I]if it's the right term for that[/I]). if they leave one textbox blank? the flow will be, if …

Web Development php
Member Avatar for rajeevbu
0
2K
Member Avatar for ivan3510

Hi! I want to check if some file on some other server exists. I have this code (but something is wrong with it): [CODE]<?php $notworking=array(); $false=0; $link="http://uploads.mp3songurls.com/"; $files=glob("genre/*.xml"); foreach($files as $file){ $xml=new SimpleXMLElement($file,null,true); foreach($xml as $info){ if(fopen($link.$info->link.".mp3","r")==false){ $false++; $notworking[$false]=$info->name." => ".$info->author; } } } if($false>0){ $file=fopen("notworking.txt","w"); for($i=1;$i<=$false;$i++){ fwrite($file,$notworking[$i]."\r\n"); } fclose($file); …

Web Development file-system php
Member Avatar for ivan3510
0
212
Member Avatar for scorpionz

Hi this is ScorpionZ can anyone have an idea like I have a div box with its 'id' and an Text area When i click on my Div box I get this the ID through Javascript and Print it on Text area Here is a little piece of code [code=html] …

Web Development javascript
Member Avatar for maniac23
1
738
Member Avatar for deraad

I have two functions that work fine individually, but when used together, create the other function not to work for some reason.. :'( My first function submits a form using ajax: [CODE]$(function() { $("#saveList").click(function() { var listname = $("input#listname").val(); if (listname == "") { $('#listnameError').fadeIn("slow"); setTimeout("$('#listnameError').fadeOut('slow')", "1200"); return false; } …

Web Development javascript
Member Avatar for deraad
0
1K
Member Avatar for hirenpatel53

Hi all i am using asp.net uploader in my application when i am using file with size less than 5 mb to upload working fine but while try to upload more than 5 mb it gives some standard error like server may down page may not be available an all …

Web Development asp asp.net
Member Avatar for hirenpatel53
0
118
Member Avatar for ivan3510

Hi! This is my problem. If I write letter č or ć in textarea, and then if I use php to check if there in textarea is letter č or ć, it doesn't work, here's code: [CODE] <?php if($_POST['sub']){ $tekst=$_POST['tekst']; $array=array("&#x010D"); //& # x 010D iz unicode for č, i …

Web Development php
Member Avatar for ivan3510
0
262
Member Avatar for StevenSchaffner

I am working on something for school as a final project before graduation. I am using ASP for the website and VB as the back end to code. I keep getting the error "Object reference not set to an instance of an object" and can't figure out what is wrong. …

Web Development asp asp.net vb.net
Member Avatar for StevenSchaffner
0
234
Member Avatar for ionko

I'm trying to make a price calculator for my friend's car shipping company. It seemed like a simple thing to do but with my skills I'm having some problems. The calculator takes the distance from zipcode 1 to zipcode 2, and mutplies the total miles by .32 to get the …

Web Development api engineering json mathematics php
Member Avatar for ionko
0
253

The End.