52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for chr.s

Hi there, I'm currently working on a site using [Big Cartel](http://bigcartel.com/) - an e-commerce online CMS. This means I'm limited to using their own proprietary language for grabbing data content (no PHP support etc...). I'm also using the [Supersized](http://www.buildinternet.com/project/supersized/) jQuery plugin to try and present present data to the user. …

Member Avatar for blocblue
0
199
Member Avatar for dbalas

Hi! I have a problem with getting error on update... What i have is - one table where i store my orders, and one table where i keep stock records. I managed to update the stock in my table with this piece of code but when i have for example …

Web Development php
Member Avatar for dbalas
0
158
Member Avatar for jkon

I knew that I can use variable variables instead of reflection in PHP but I have never gone that way because my OOP background stated that this is not a clean way. Recently I made a test using both methods and the results made me rethink it. Using variable variables …

Web Development oop php
Member Avatar for bato3
0
459
Member Avatar for tiekwebstar

Hy, i am a new here. this is my first post.check this website http://www.abswheels.se/ below slider there is an 3 colunms Marke(Main category) , Modell (Sub Category) and Motor(Sub Category). You can see the default selected menu below slider. When you select other main category than sub category and 2nd …

Member Avatar for bato3
0
2K
Member Avatar for MarkieJye

I'm doing a delete page, and this part is the part where all the data were supposed to be echoed. but, the problem is I don't really know how to print the checkbox within the php. The line 6 is wrong. Kind men, do show me how to write it …

Web Development mysql php
Member Avatar for MarkieJye
0
161
Member Avatar for roheath_1

Hi, so I'm trying to make a basic registration and everything shows up in the database (phpMyAdmin) except the password <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("sportcourt", $con); $sql="INSERT INTO user (firstname, lastname, password, …

Web Development php
Member Avatar for cigoL..:)
0
148
Member Avatar for Riu 2009

hi everyone :) i dont know where i am doing it wrong...but cant upload my file...there is no error but its not saving the whole path in DB and not uploading anything in the directroy as well... please point me to riht direction tahnx :) <?php include("../includes/config.php");?> <?php $mediafile = …

Web Development audio file-system pdf php qt
Member Avatar for Riu 2009
0
741
Member Avatar for flynismo

Hey all, What I am trying to do is create a search by zip code form. When the form is submitted, it will search for members in nearby cities within the given radius. For example, I submit a form saying find me all members within a 20 mile radius of …

Web Development php
Member Avatar for flynismo
0
124
Member Avatar for james19862012

Hello all, First time poster here. I'm creating a website for class that essentially lets people register with a user name and password. Whenever they're logged in they will have the opportunity to go to a page called SubmitStory.aspx where there will be a textbox, lets say it's just called …

Web Development asp asp.net vb.net
Member Avatar for JorgeM
0
268
Member Avatar for AMADH

This is my php code, I was wondering if you could help me, <link rel="stylesheet" href="style.css" /> <script type="text/javascript" src="script.js"></script> <?php $cat = mysql_real_escape_string($_GET['category']); include '../includes/db-conns.php'; //The file is being accessed on the staging site $hostname = $hostname3; $username = $username2; $password = $password2; $databasename = $databasename3; $link = mysql_connect($hostname, …

Web Development mysql php
Member Avatar for AMADH
0
124
Member Avatar for tscina

I'm developing a website wherein the user searches for a name and results will be in a list. Then there is a link where in the user will preview an email format, like a confirmation page and at the bottom is a send button. After the button is clicked, it …

Web Development email html-css php
Member Avatar for tscina
0
221
Member Avatar for andyy121

im traying to create a contact form (email). im using xampp. so i need something like HmailServer or something like this to send email to myself. can everybody told me how i can configure HmailServer.

Web Development client-server php
Member Avatar for LastMitch
0
155
Member Avatar for Peek@u

Hello I am having an issue assigning a variable to a select box selection so that i can feed the variable back into future queries. Please see code below: <select name="room" id="msg-room"> <?php $query = mysql_query("SELECT * FROM rooms ORDER BY ROOM asc"); while($data = mysql_fetch_assoc($query)) { ?> <option value="<?php …

Web Development javascript-jquery php
Member Avatar for LastMitch
0
143
Member Avatar for bradly.spicer

Hey all. I FINALLY GOT MY PLUGIN TO *WORK*. Apart from one element... <?php /* Plugin Name: Minepress Minecraft Dynmap Plugin Plugin URI: http://minepress.co.uk Description: Minepress Minecraft Dynmap Plugin Author: Bradly spicer Version: 0.0.1 Author URI: http://minepress.co.uk */ /*Installation of Plugin */ /* What to do when the plugin is …

Web Development php
Member Avatar for LastMitch
0
173
Member Avatar for sunrise2008

Hi, At first I'm really sorry for my bad English :icon_redface: I really want to simulate a ImageButton click for an ASP.NET (.aspx) file via [B]curl[/B] (or simplate HTML file, but I very tries for it and finally I didn't get it! [B]More explain...[/B] I have this snippet code on …

Web Development asp.net html-css php web-server
Member Avatar for dirtfox
0
2K
Member Avatar for Avicii

final public function result($sql) { return $this->mysql['result']($this->mysql['query']($sql, $this->connection), 0); } Anyone got any idea how to best fix this error ?

Web Development mysql php
Member Avatar for diafol
0
271
Member Avatar for samiyahg

This is a sample of the string of data that i need to extract the price of. "Price Rs 475 000 - CHEVROLET AVEO LS // SEP 11 6,000 kms - Red.. full options.. MANUAL 5 door // hatchback Contact me on 786 8394" I have many such strings after …

Web Development html-css php xml
Member Avatar for samiyahg
0
567
Member Avatar for coder91

I have a drop down list with various options. When the user has selected an option and hit submit the data is stored in a database column relating to that drop down. however one of the options is 'other' and if they user chooses this the drop down list disappears …

Web Development asp.net
Member Avatar for coder91
0
97
Member Avatar for Avicii

<?php if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); } ?> <?php $vouch = mysql_query("SELECT * FROM cms_vouchers"); while ($voucher = mysql_fetch_assoc($vouch)) { $username = $voucher['user_id']; if(($_SESSION['user']['username']) == "$username") { ?> <div id="page-content-text" class="left"> <div id="contentTitle" class="red">%hotel_name% Alert: Enter the voucher code <?php echo $voucher['code'] ?> to receive <?php echo …

Web Development php
Member Avatar for Avicii
0
109
Member Avatar for jackbauer24-2

My friend and I want to test a page which I am creating. He is going to suggest the design bits. But I am not willing to put it online yet. How can we share it? It will require HTML, CSS, PHP and MySQL. These are all the problems, in …

Web Development html-css
Member Avatar for AleMonteiro
0
90
Member Avatar for Eggstraordinary

I can't seem to hide my paragraph the way i wanted it to be. I checked my code a lot of times and it seems correct. I don't know why it's not running. <!DOCTYPE html> <html lang="en"> <html> <head> <script type="text/javascript" src="jquery/jquery.js"></script> <script type="text/javascript" src="jquery/toggle.js"></script> </head> <body> <input type="button" value="hide" …

Web Development javascript javascript-jquery
Member Avatar for Eggstraordinary
0
206
Member Avatar for amith_ami

hi all,.... plz help me..... hi guyz... i just know how to insert a file into database, but i dont know how to update that file.... here is my code.... <?php $resume=$_FILES['resume']['name']; $file=$_FILES['resume']['tmp_name']; $ext=strstr($resume,"."); //echo "file".$file; //echo "<br>"; //echo "resume".$resume; $sql = "SELECT MAX(cnd_id) FROM tbl_candidate"; $res = mysql_query($sql); $data= …

Web Development file-system php
Member Avatar for amith_ami
0
133
Member Avatar for giturman810

Heello, I was having problems with this php script. I am trying to echo a statement on a contact form depending on the data entered, but when I hit submit, I get a blank page. I belive the error is something small, but I can;t put my finger on it. …

Web Development php
Member Avatar for simplypixie
0
305
Member Avatar for navi18

How to search for a filename in Php?? Even if i put a substring of a file,it display the full file name?Is there a direct function in PHP?

Web Development php
Member Avatar for DarkMonarch
0
104
Member Avatar for andyy121

hi all i cant see my erron in the code i have followed the tutorial but i cant see it i wont some help. here is my code. $to = 'andi_138el@hotmail.com'; $subject = 'Contact from submitted'; $body = $contact_name."\n".$contact_text; $headers = 'From: '.$contact_email; if (mail($to,$subject, $body, $headers)){ echo 'Thanks for …

Web Development email php
Member Avatar for Squidge
0
349
Member Avatar for tscina

I'm new to phpmailer and I tried to follow their example. I'm using php mail() function to send emails and I'm getting an error: "Invalid address: $toYou must provide at least one recipient email address. Mailer Error: You must provide at least one recipient email address." What email address is …

Web Development email php
Member Avatar for tscina
0
975
Member Avatar for tpickett

I am developing a script that takes an article, searches the article for a "keyword" and then randomly replaces that keyword with an anchor link. I have the script working as it should, however I need to be able to have an array of "replacements" for the function to loop …

Web Development php regex
Member Avatar for tpickett
0
213
Member Avatar for MarkieJye

So, I've been trying this multiple delete thing with a checkbox and I did look on the internet for some code snippets and up to now, I have this: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Intrious Website</title> <link rel="stylesheet" href="tablestyle.css" type="text/css" /> </head> <body> <?php include('includes/header.php'); ?> <div id="main"> <h1>Hardware Delete<h1> …

Web Development html-css mysql php
Member Avatar for MarkieJye
0
237
Member Avatar for codechrysalis

Hi everyone, I need some help with Homework I have to create this rudimentary Minesweeper game where I have a HTML page with 100 buttons in a 10 x 10 Table with a value of '1' . My Question is , is there a more efficient method of generating a …

Web Development javascript
Member Avatar for AleMonteiro
0
145
Member Avatar for klemme

Hi all, Im almost there, just need to get the videojs to work in IE9. I can see the player, but the video is not being played, like nothing happens when I press the play btn.. It works just fine in all other browsers, FF, Opera, Chrome, Safari. This is …

Web Development javascript
Member Avatar for klemme
0
134
Member Avatar for <M/>

So, I installed the recaptcha into my site... and I don't know why it doesn't verify... You can submit the form with out worrying about the code you have to type in so that recaptcha verifies the form. So... I have a form that shows recaptcha, but it doesn't verify... …

Web Development php seo
Member Avatar for <M/>
0
596
Member Avatar for apanimesh061

How can I extract the main classname of a java file ? I am doing this in php! I will read the whole java program as a string! Please help! <any_type/public/private/static> class **MainClass** { //Could be anything over here! public static void main(String[] args) { System.out.println("Hello World!"); } }

Web Development java php
Member Avatar for AleMonteiro
0
113
Member Avatar for SQLpower

Hello. I am trying to connect my MYSQL Database to my JpGraph but it is not working. Any help is appriciated. Here is my conde. <?php include ("c:/wamp/www/Charts/jpgraph-3.5.0b1/src/jpgraph.php"); include ("c:/wamp/www/Charts/jpgraph-3.5.0b1/src/jpgraph_bar.php"); include ("c:/wamp/www/Charts/jpgraph-3.5.0b1/src/jpgraph_line.php"); include ("c:/wamp/www/Charts/jpgraph-3.5.0b1/src/jpgraph_pie.php"); include ("c:/wamp/www/Charts/jpgraph-3.5.0b1/src/jpgraph_pie3d.php"); include ("c:/wamp/www/Charts/jpgraph-3.5.0b1/db.inc"); $host = "localhost"; $username = "root"; $password = ""; $database = "test"; …

Web Development encryption mysql php
Member Avatar for LastMitch
0
2K
Member Avatar for jcreate4

PHP: Display Image from Database I'll Keep It Short Because I Need Help Immediately. Im Trying To Do Exactly What On This Tutorial But Don't Know Where To Start. I've Recently Posted Two Post About This But Have Yet To Find Anyone Completely Helpful! If Knows ANYTHINg About This, Fell …

Web Development display image php
Member Avatar for jcreate4
0
294
Member Avatar for andyy121

i wont to know why we have to equal this variabel what is theri meaning $contact_name = $_POST['contact_name']; $contact_email = $_POST['contact_email']; $contact_text = $_POST['contact_text'];

Web Development php
Member Avatar for EvolutionFallen
0
227
Member Avatar for rustydust

need help finding whats wrong syntax error in line 265 <?php function pay_upline( $refered, $level, $oamount ) { global $Db1; global $username; global $settings; global $today_date; $return = 0; $sql = query( "SELECT user.membership, memberships.downline_earns FROM user JOIN memberships ON memberships.id=user.membership WHERE user.username='{$refered}' and type='1'" ); if ( 0 < …

Web Development javascript-jquery php
Member Avatar for diafol
0
414
Member Avatar for gahhon

as the title above.. what should i do in order to add a image into my .aspx by using silverlight?

Web Development asp.net image
Member Avatar for gahhon
0
185
Member Avatar for Violet_82

Hi, I am having some funny problems with hiding and showing the navigation and I am not entirely sure why. Here's the demo: http://antobbo.webspace.virginmedia.com/various_tests/worktest/hidingnavigation/test.htm and here's the code: html: ... <!-- NAVIGATION --> <div id="navBox"> <ul> <li class="mainList"><a href="#">Item 1</a> <ul class="subList"> <li><a href="#">sub item1.1</a></li> <li><a href="#">sub item1.2</a></li> <li><a href="#">sub …

Web Development html-css javascript
Member Avatar for AleMonteiro
0
92
Member Avatar for pink_05

Please help me with this... I cannot insert pictures into the folder and it is not saving in the database But it creates album folder. Thanks $albumname = addslashes($_POST['albumname']); $target_path = "Gallery/images/".$albumname."/"; @$imagename = basename($_FILES['image']['name']); @$target_path = $target_path . $imagename; $file = $_FILES['image']['tmp_name']; //@$image = addslashes(file_get_contents($file)); $album_target = "Gallery/images/".$albumname; @$image_size …

Web Development php
Member Avatar for pritaeas
0
619
Member Avatar for showman13

OK, hopefully this question makes sense... I have a select that I have been to randomly select a record within a table The Table was simply a list of member IDs 'mem_id' BUT Now I've added a couple more fields to the table, one of which allows the member to …

Web Development php
Member Avatar for showman13
0
153
Member Avatar for HunainHafeez

i filled a gridview with tblUser, now gridview has a checkbox file (status), which is used to activate newly registered users, so i want to inform user via mail when admins activates him, mean when i (admin) checks checkbox field true, in edit mode of girdview then at that moment …

Web Development asp.net mssql
Member Avatar for HunainHafeez
0
807
Member Avatar for HunainHafeez

am near to cry bcz solving this problem took my whole day , simply, i am trying to get status of checkbox from grid view, so i converted it into tempaltefield and in .cs code i used findcontrol property but still getting error: Object reference not set to an instance …

Web Development asp.net mssql
Member Avatar for HunainHafeez
0
951
Member Avatar for coder91

Had validation on 4 drop down lists and they worked grand. But now someone else has made them databound and my validation is no longer working. Anyone know how to fix this?

Web Development asp.net
Member Avatar for coder91
0
94
Member Avatar for coder91

So have a drop down list with various values, one of them being "other". I have written code so that when "other" is selected a panel which has text boxes in it is made visible. if (ddlOption.SelectedItem.Text == "Other") { panelNext.Visible = true; } else { panelNext.Visible = false; } …

Web Development asp.net
Member Avatar for coder91
0
1K
Member Avatar for gahhon

Assume that i am creating 2 Panel which depends on which buttons ( 2 buttons ) user clicked.. if the user click button 1, panel 1 will visible and panel 2 will not be visible.. same to the button 2.. but it can't be work don't know due to what, …

Web Development asp.net
Member Avatar for gahhon
0
116
Member Avatar for lifeworks

Hi Im getting into a php mvc framework, available here ([url]http://www.phpro.org/tutorials/Model-View-Controller-MVC.html#8[/url]), but they only explain their code, and dont offer much other advice on the basics of working inside a framework... how would i go about posting a form? working outside of any framework i usually just post the form …

Web Development php
Member Avatar for speedovic
0
3K
Member Avatar for jackbauer24-2

Go here: http://www.tizag.com/phpT/fileupload.php Under the heading "**php - file upload: uploader.php**" there are these sentences:- ----$_FILES['uploadedfile']['name'] - name contains the original path of the user uploaded file. ----$_FILES['uploadedfile']['tmp_name'] - tmp_name contains the path to the temporary file that resides on the server. The file should exist on the server in …

Web Development file-system php
Member Avatar for urtrivedi
0
194
Member Avatar for vizz

How to stop websites going out of frame. for example:- I got website Which goes out of **iframe** tag <iframe src="http://muscleasylum.com" height="100%" width="100%" ></iframe>

Web Development javascript
Member Avatar for AleMonteiro
0
200
Member Avatar for safgom

I have a database and want to display data in rows then create a link to show the whole data when selected. Kindly guide me how to get the right php script for creating the link to display the whole row from database.

Web Development display php
Member Avatar for LastMitch
0
208
Member Avatar for Djmann1013

// set timeout period in seconds $inactive = 1; // Testing. Change back to 600 when done // check to see if $_SESSION['timeout'] is set if(isset($_SESSION['timeout']) ) { $session_life = time() - $_SESSION['timeout']; if($session_life > $inactive) { session_destroy(); header("Location: index.php"); } } $_SESSION['timeout'] = time(); The code above works fine. …

Web Development php
Member Avatar for LastMitch
0
391

The End.