52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for TLCJohn

Hi all, I am looking for some help, can anyone point me in the right direction. I am looking for a Events Calendar for a community website I am building in WordPress. I am looking for it to a UK flavour but easy for people to fill in. If anyone …

Web Development wordpress
Member Avatar for epicrevolt
0
325
Member Avatar for welkam

I am beginner and this is my [B]first project[/B] (happy face). I am trying to make log in systen to learn php and mySQL. At first everything was working so and then i decided to rewrite everything in [B]Object oriented[/B] code and then it is not working. Since it is …

Web Development mysql php sql
Member Avatar for welkam
0
137
Member Avatar for AnkurThakur

Hello Guyz, I wish that the Title of the thread explains itself a lot. I would like to Save an image from an HTTP URL which actually redirects to another URL. Actually, I am trying to Save the Profile picture of Facebook. [B]Example : [/B][URL="https://graph.facebook.com/thakurbhai/picture"]https://graph.facebook.com/thakurbhai/picture[/URL] Now when you will open …

Web Development http-protocol image php
Member Avatar for AnkurThakur
0
273
Member Avatar for ayub05

My website's performance has decreased. My website needs 13 secs to download. So [COLOR="Green"]i want to combine js scripts to one script.[/COLOR] But i don't know how to do it. Please tell me very easy ways to combine js scripts to one.

Web Development javascript
Member Avatar for ayub05
0
222
Member Avatar for swissknife007

I am completely new to PHP. I would like to know which are the good online resources where I can learn PHP. What are the basic things in PHP one needs to know?

Web Development php
Member Avatar for rotten69
0
415
Member Avatar for tnguru

How 1000 10,000 1,00,000 number converting in php? i mean splitting numbers like 100 1000 10000 100000 [B]to [/B] 100 1,000 10,000 1,00,000 with ' , ' thousand, lack, crores...

Web Development php
Member Avatar for rotten69
0
2K
Member Avatar for naveedqadri

Dear Experts, Your Help is always Appriciated Scenario: OS.server 2003, VB +ASP.NET VS2005 My application is developed in 2003 on vs2003, now validation error while checking in design mode. This application is using two classes with if condition. Error 36 Cannot switch views: Validation (Internet Explorer 6): Attribute 'class' can …

Web Development asp.net vb.net
Member Avatar for naveedqadri
0
239
Member Avatar for swissknife007

[CODE] <?php //email(to,subject,message,headers,parameters) $to="swissknife@gmail.com>"; $subject="Hi"; $message="Hello my friend"; $from="swissknife007@gmail.com"; $headers="from:".$from; mail($to,$subject,$message,$headers); echo" mail sent"; ?>[/CODE] This is a very simple php script to send an email. However ,it is not working for me and I am getting the error. [CODE] Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" …

Web Development email php
Member Avatar for pro_learner
0
258
Member Avatar for shailu.thakre

anybody can solve my problem?????Access denied for user 'ODBC'@'localhost' (using password: NO)[ICODE]Access denied for user 'ODBC'@'localhost' (using password: NO)[/ICODE]

Web Development php
Member Avatar for pro_learner
0
87
Member Avatar for hlamster

I don't know javascript very well... I have a form with the name register_group and a radio button for pc_parade_float with yes/no options. I want to display a different comment depending on if they clicked yes or no in the radio button. The code I have is as follows: [CODE]<script …

Web Development gui javascript pay-per-click
Member Avatar for Fest3er
0
145
Member Avatar for kfmnla

I am having some difficulty finding good, current information about how to correctly install FFMPEG-PHP in XAMPP on a Windows 7 machine. If anybody knows where to find such information, please post the URL here and I would be very grateful. Thank you very much. Happy Holidays!

Web Development laptop php windows-vista-7-8
Member Avatar for cereal
0
354
Member Avatar for phpDave

Hello, Anyone know how to get a session var. from a while loop. Here is some code: [CODE]<form id="form1" name="form1" method="post" action=""> <p>Age: <select name="age" id="age"> <option value="0">Select Age</option> <?php $i=1; while($i<=100) { echo '<option value="1">'.$i.'</option>'; $i++; } ?>[/CODE] It's from a drop down menu. Here is the code for …

Web Development php session
Member Avatar for phpDave
0
184
Member Avatar for aaloo

i m making a blog using my own code .. i m not using wordpress or any sort of thing .. i m doing it manually. i want to show related posts section which would contain at least 4 links of another posts which are related to that particular post. …

Web Development php wordpress
Member Avatar for diafol
0
3K
Member Avatar for aaloo

Well, i am making a blog in which i have to show images and links in my every post.So i have to use <a> & <img> tags in my post. but I m also using htmlentities function for "post" string variable ( like this -- <?php echo htmlentities($post); ?> ) …

Web Development html-css mysql php
Member Avatar for diafol
0
460
Member Avatar for Swiftle

I have several strings that I want to split using different delimiters such as ",{}() [CODE]$ppl[0] = "Balko, Vlado \"Panelбk\" (2008) {Byt na tretom (#1.55)}"; $ppl[1] = "'Abd Al-Hamid, Ja'far A Two Hour Delay (2001)"; $ppl[2] = "'t Hoen, Frans De reÑŒnie (1963) (TV)"; $ppl[3] = "1, Todd \"5 Deadly …

Web Development php regex
Member Avatar for Swiftle
0
119
Member Avatar for kdogg556

Im doing a Contact form for a client and my php is limited. I need to make everything in this required. Here is the code: [CODE] <?php ob_start(); if(empty($_POST)) { $status = ''; $display_form = true; } else { $fname = $_POST['fname']; $lname = $_POST['lname']; $pname = $_POST['pname']; $email = …

Web Development php
Member Avatar for qazplm114477
0
178
Member Avatar for accra

[CODE]<?php $current_date = strtotime('now'); $due_end_date = 60*60*24*7; // Number of seconds for 7 days $sql = "SELECT * FROM sre_log WHERE current_date >== '$due_end_date-$current_date' ORDER by vtype"; $due_end_date = mysql_query($sql); //echo "$current_date"; while($a < $sre_log_num) { $id = mysql_result($sre_log_result,$a,"id"); $vtype = mysql_result($sre_log_result,$a,"vtype"); $due_end_date = mysql_result($sre_log_result,$a,"due_end_date"); $current_date = mysql_result($sre_log_result,$a,"current_date"); } echo …

Web Development php
Member Avatar for reco21
0
392
Member Avatar for meabed

This is CURL Ready function , to use it just call do post if the page you are calling has post variables , or get if it has get variables :)

Web Development php
Member Avatar for cereal
0
418
Member Avatar for jkulp4

Hi All, I am very new to PHP and still learning lots... :) I am using the below code to populate a drop down list from my database. But I am not sure how to display/send the results back to the same page. The fields in my Database are: Base, …

Web Development php
Member Avatar for jkulp4
0
108
Member Avatar for swissknife007

I have been trying to send email for 2 days. using php I have tried different methods but to no avail . I am sure I am making some small mistake. Please can someone give step by step procedure of sending mail using Xampp?

Web Development email php
Member Avatar for pritaeas
0
227
Member Avatar for labise

[CODE] <html> <head> <title>search</title> </head> <body> <form name="frmSearch" method="get" action="<?=$_SERVER['SCRIPT_NAME'];?>"> <table width="599" border="1"> <tr> <th>Keyword <input name="txtKeyword" type="text" id="txtKeyword" value="<?=$_GET["txtKeyword"];?>"> <input type="submit" value="Search"></th> </tr> </table> </form> <? if($_GET["txtKeyword"] != "") { $objConnect = mysql_connect("localhost","lafamosa_kermis","lafamosa1980") or die(mysql_error()); $objDB = mysql_select_db("lafamosa_mystore"); // Search By Name or Email $strSQL = "SELECT * FROM …

Web Development php
Member Avatar for pritaeas
0
215
Member Avatar for vijaykavin10

Hi everyone I am using IMAP to retrive msg from the mail.I need to know about how can we split up the readed and unreaded mail regardingly.For example we need to fetch only the unread mails how can we do this... Thanks

Web Development php
Member Avatar for pritaeas
0
74
Member Avatar for atikah8890

Hi all. It's been a while since I last worked with PHP. Hope someone can help me with this, because a few things aren't working :( First thing first. I'm doing an expense tracking system. User will be able to track their spendings according to month and year. Since it's …

Web Development php user-interface
Member Avatar for atikah8890
0
107
Member Avatar for RMelnikas

Hi, Don't know if this is the right part of the forum. (please move if incorrect) My Question is about E-Commerce, I am experienced in web development but have been recently asked to make a client a E-Commerce website where they could sell their goods. They are wanting something customisable …

Web Development ecommerce php
Member Avatar for rotten69
0
164
Member Avatar for qball_irl

Hello Everyone, This is my first post and im sure this community can help. [B]Issue:[/B]I'm trying to create an authentication script for the first time, I am inserting Data into a table and trying to retrieve it again on the same page but instead of retrieving the latest id it …

Web Development php
Member Avatar for qball_irl
0
116
Member Avatar for solomon_13000

I attempted to add new row but it does not seem too work. Did I do something wrong? [B][U]Pricing.html[/U][/B] [CODE] <HTML> <HEAD> <TITLE></TITLE> <SCRIPT SRC="jquery-1.7.1.js" LANGUAGE="text/javascript"></SCRIPT> <SCRIPT SRC="addRow.js" LANGUAGE="text/javascript"></SCRIPT> </HEAD> <BODY> <TABLE> <THEAD> <TR> <TH bgcolor="#33CC00">Select</TH> <TH bgcolor="#33CC00">Quantity</TH> <TH bgcolor="#33CC00">Inner Packaging</TH> <TH bgcolor="#33CC00">Quantity</TH> <TH bgcolor="#33CC00">Outer Packaging</TH> <TH bgcolor="#33CC00">Price</TH> <TH bgcolor="#33CC00">Minimum …

Web Development javascript javascript-jquery
Member Avatar for solomon_13000
0
227
Member Avatar for ddellostritto

Hi all - I'm starting out as a designer and have some knowledge in php development. I've designed a registration system for my company and we've had 3 people that have had problems out of 73 successes - 4.1% (Problems meaning that they registered but the data just didn't get …

Web Development php
Member Avatar for pritaeas
0
201
Member Avatar for riahc3

Hey Is it possible to run a Java Servlet that loads a .html page that has a bunch of JS scripts in it? I know how to load a normal .html page (I believe it is correct) but not sure if it works if it has Javascript as well. Thanks.

Web Development html-css java-jsp javascript
Member Avatar for riahc3
0
636
Member Avatar for karthik_ppts

How to do site search in a website? for example if we search a keyword in search box of the daniweb it will give the result from daniweb site only. like that i want to do in my website.

Web Development php seo
Member Avatar for karthik_ppts
0
123
Member Avatar for trektrak

Anyone tried this before ? [URL="http://http://smssync.ushahidi.com/"]http://smssync.ushahidi.com/[/URL] I've tried the given php sample...but it's not working ... False payload something....

Web Development php
Member Avatar for rotten69
0
78
Member Avatar for BKoehler

I am having an issue. I keep getting the following error: [B]Parse error: syntax error, unexpected T_STRING in C:\xampp\htdocs\test\banners\banner1.jpg on line 1[/B]. What I am trying to do is dynamically not only change content, but change a banner in the header section of code to correspond with the content. My …

Web Development php
Member Avatar for qazplm114477
0
307
Member Avatar for tgr0ss83

Not the prettiest edits, but does the job, and it's fast :) Sorry Cereal, i know it's like taking crayon to a Picasso :) [CODE]<?php $file = "http://mis.nyiso.com/public/realtime/realtime_gen_lbmp.csv"; $f = fopen($file, "r"); $ln= 0; $theData=array(); $nyc = array(); $millwood = array(); $hudvl = array(); $dunwood = array(); $nycLmp = array(); …

Web Development php
0
78
Member Avatar for geaclaesson

Hi guys, Used this forum a bit today to find answers for a bit of scripting that I'm attempting. It's been 5-6 years since I last did anything like this, so bear with me. My question is; why does this generate results from Dec 12 2011 and not from Dec …

Web Development mysql php
Member Avatar for geaclaesson
0
576
Member Avatar for stranger_on_way

I want to open up a link (of another site) on new page in iframe. For example when the link on page A is clicked, it opens a new window(Page b) of same website and make the link of another site to open in iframe.. Please help....

Web Development php
Member Avatar for diafol
0
191
Member Avatar for Buppy

Hi, I have data like this - [CODE] Someting Object ( [_values:protected] => Array ( [key1] => something, [key2] => something else, etc... [/CODE] How do i access that _values:protected part? I tried $name->_values:protected['key1'], but it gives me an error. Thanks

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

Hey all, I am trying to figure out how to enable images to be saved as an image file when i display them in php. Right now when i right click on the image, it says save image as.. but then it wont save it as anything other than the …

Web Development image php
Member Avatar for qazplm114477
0
172
Member Avatar for maxxxx

Hello all. I'm trying to figure out the javascript so that when I hit the total up order button, it will fill in the subtotal, PST, GST and give me my total in the box above the total up order button. Can some help me out? Thanks in advance. [CODE]<!DOCTYPE …

Web Development javascript
Member Avatar for qazplm114477
0
155
Member Avatar for tgr0ss83

I have a CSV that i can parse no problem at 10am.. But by 5pm it does grow to over 100,000 lines that cuases the script to hang. I have to parse the CSV into an array that i can then shape. If anyone has any idea how i can …

Web Development php
Member Avatar for cereal
0
4K
Member Avatar for maxxxx

I have this function that seems not to be working. If I click on the send order button and the first name field is not filled, it should say first name not entered. But it's not. I put comment in the javascript where I'm tring to fix. Thanks in advance. …

Web Development javascript pay-per-click
0
73
Member Avatar for aaloo

this is my code in which i am getting $_POST['name'] from a html form.i am using mysql_real_escape_string function that should escape characters like these [ICODE]\x00 \n \r \ ' " \x1a[/ICODE] but when i enter these special characters in the form .it is going in the database. it should be …

Web Development mysql php
Member Avatar for pritaeas
0
193
Member Avatar for aaloo

this is a part of my code and i m getting this error somewhere in this part[ICODE] Parse error: syntax error, unexpected T_ECHO[/ICODE] [CODE] $data = mysql_query("SELECT * FROM $title") or die(mysql_error()); while($info = mysql_fetch_array( $data )) { ?> <div id="username"><? php echo $info['name'] ?></div> <div id="statement"> <? php echo …

Web Development php
Member Avatar for aaloo
0
3K
Member Avatar for towerrounder

Hi all. Im new to JS and would like to note the following case: Ive run the following test numerous times ie: [CODE]<html> <body> <script type="text/javascript"> var s = 0, o = 0; for (a=0;a<=10;a++) { var start = new Date().getTime(); var res = 0; for (b=0;b<=100000000;b++) { res = …

Web Development javascript
Member Avatar for towerrounder
0
160
Member Avatar for epicrevolt

So I am at the fork in the road. Do I use a ready made script like Drupal or WordPress, or build my own system. I have a client in need of a website to store object information (we will call it an object). All the conceivable specifications and then …

Web Development wordpress
0
101
Member Avatar for Charles.m

Hello, I am getting the contents on my website from database using SQL Stored Procedure (C#). Now, I want to change the output look with XML / XSLT. How can I do this? Something like this http://forums.asp.net/t/1230093.aspx/1 but am not sure how to go about it, am new to C# …

Web Development asp.net c# sql xml
Member Avatar for Charles.m
0
694
Member Avatar for harsha.netpem

Hello, I am using this code and getting this error given below:- [B]Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\database login new\buyers_substance_view.php on line 46[/B] [B]Please check the code is given below:-[/B] [CODE][/CODE] <?php $title="Buyers Substance Report"; $page_name="Buyers Substance Report"; include("includes/header.php"); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD …

Web Development mysql php
Member Avatar for Fest3er
0
749
Member Avatar for ppetree

I need a little help architecting a process that is a little beyond my skill set so if I could get a little help in how to approach this, I would appreciate it. Basically: BigBox Corporation has 15,000 employees in multiple countries. They want to build a communications system consisting …

Web Development php software-architecture
Member Avatar for Fest3er
0
153
Member Avatar for dunktap

Hey everyone! I am working on a project that involves querying a mysql database using php, and I am running into some issues. html form is in list_files.php and the query is in query.php .. i also attached my mySQL database which has 2 tables: only the file table is …

Web Development mysql php sql
Member Avatar for dunktap
0
177
Member Avatar for joban.ali

Hi I am creating an basic online menu ordering system, what i want to do is display the typical chilli level, vegetarian and nut icons/symbols along side a dish name. I have a product table which has all the required field which will be called out. spice level, veg and …

Web Development php
Member Avatar for joban.ali
0
86
Member Avatar for minghags

Can anyone please help me do this with javascript [URL="http://uss.feri.uni-mb.si/images/Vaje/vaja10/slika08.png"]Screenshote[/URL]? It must be written like this. User inputs rgb color for first column (green,red,blue) and inputs number of columns. Then this must be in linear fading and every column has to have popup window with that rgb color. If anyone …

Web Development javascript
Member Avatar for minghags
0
217
Member Avatar for elbeato

I'm having trouble making the following code work. I'm trying to change text in "columnleft" with the showMess function, when I hover on the paragraph with the class "title." The really frustrating part is that this code has worked elsewhere for me. What am I missing? [code] <!DOCTYPE html PUBLIC …

Web Development html-css javascript
Member Avatar for elbeato
0
286

The End.