39,326 Topics

Member Avatar for
Member Avatar for nyler01

Please help.. i need a script for this problem. i have 2 different departments, one is accounting and the other is payment. it should be the accounting page will create a transaction and when the transaction has been done, the webpage of the payment department will automatically show that there …

Member Avatar for rje7
0
115
Member Avatar for lisaroy1

I am a HTML and Java Programmer and now i want to learn PHP so can you help me with the Basic Knowledge of PHP,I have heared it is quite siimilar to HTML is it True.So can anyone tell me some good books and site from which i will get …

Member Avatar for Shanti C
0
108
Member Avatar for smchauhan

Hi, I m developing a web application for video streming, but my client requires that as the user loging or singin in the site the web cam must be start automatically, and if the hardware is not found than a prompt must be displayed that "Your system doesn't support webcam …

Member Avatar for vicfen2k9
0
111
Member Avatar for owaka

I want to develop a website for a bus online booking system using dream weaver.pls help me guys

Member Avatar for ecmcircle
0
115
Member Avatar for andrewliu

Hello if my page outputs a certain item number from my database, how do i put that item number into my javascript? [CODE] '<div class="update".$item_id.">'; [/CODE] say i have $item_id and it various how do i put it into javascript code? would it be the same thing? I can just …

Member Avatar for andrewliu
0
152
Member Avatar for cristi08
Member Avatar for debayanmitra

I'm stuck in a problem.. I want to use two combo let Country and City, where City list depends on the Country combo, How can I don do it with HTML and PHP only? Thanks.

Member Avatar for Shanti C
0
115
Member Avatar for airick10

I have two separate pages. One page I'm using some UPDATE queries and the second page uses an INSERT query. Neither are updating my database. I can read the database from php, but not update it. Is my syntax correct? I know I can make it more efficiant, but I …

Member Avatar for chrishea
0
138
Member Avatar for ON_Jtharpe

Hi Guys I am new to PHP and slowly learning. I have a piece of code that I need some help with. I am trying to take user input and use it to query data from a table in MYSQL. I know all my connections are working because I can …

Member Avatar for lyrico
0
239
Member Avatar for ello

hey guys I just implemented some AJAX which calls a PHP function and gets random data from a database, and displays it accordingly. Problem is, I had the link which you click the randomly change the information on screen counting how many times it'd been clicked with a session. And …

Member Avatar for lordspace
0
56
Member Avatar for Joe34

My code is suppose to crawl web pages, index the links, then crawl those web pages and on and on again! But it won't work? I get no errors what is wrong? I think it gets into the foreach but doesn't make it to the $DCheck if statement! [CODE]<?php if(empty($_SESSION['page'])) …

Member Avatar for lordspace
0
246
Member Avatar for brown23

Hey Guys, Struggling a bit here trying to get my head around something. I'm not a PHP expert, but I feel I've come a long way in the 6 months or so I've been learning it. Anyway, I thought I would pluck up the courage to build my own custom …

Member Avatar for lordspace
0
143
Member Avatar for schalkl

Hi Guys The following question is related to the following url: [URL="http://www.sheltonwebdevelopment.com/blog/2010/03/01/calculating-totals-with-jquery/"]http://www.sheltonwebdevelopment.com/blog/2010/03/01/calculating-totals-with-jquery/[/URL] I have just a small question now regarding the dropdown. I am sure its related to an 'id'. Here is my script: [CODE] 1. <td><?php echo "<select name=\"field1\" class=\"qty\" onchange=\"calcTotal();\">"; ?> 2. <?php 3. for($i=0;$i<=50;$i++){ 4. echo '<option …

Member Avatar for Airshow
0
139
Member Avatar for Sorcher

Hello! I am trying to make this work. [CODE]//make user folder $userid = $_SESSION['loginid']; $userdir = "./u/".$userid."/"; if (!is_dir($userdir)) { mkdir($userdir,0777); copy("/home/users/web/b681/ipg.xxxx/shack/u/index.php","/home/users/web/b681/ipg.xxxx/shack/u/".$userid."/index.php"); echo "Your directory was created. This is where all your files will be stored.<br>"; } else echo "";[/CODE] This part of the code is Ok but it does …

Member Avatar for lordspace
0
2K
Member Avatar for ben.marks

Hi there, I am having a Javascript problem and any help would be apprecated. I am trying to test the input for if length = 1 then add on a 0 as this would mean if the user wanted £1.20 if would come out as £1.20 and not £1.2 as …

Member Avatar for Airshow
0
284
Member Avatar for priyam1309

I am not able to open the ex.php page I created in my local host. I recently installed Apache 2.2 and PHP. I configured httpd, virtualhost etc as mentioned in many tutorials. ([URL="http://webdevcodex.com/screencast-installing-apache2-php5-mysql5-phpmyadmin3-windows-7-vista/"]http://webdevcodex.com/screencast-installing-apache2-php5-mysql5-phpmyadmin3-windows-7-vista/[/URL]) Whenever I tyoe [url]http://localhost[/url], the browser tends to download the indox.php file. the file is nothing but …

Member Avatar for chrishea
0
150
Member Avatar for samsambm

Hello . I'm not sure what is wrong in my code. I'm trying to expand table row to see more details from mysql query . The idea is to click 'show / hide ' link and on that onclick event the row below need to be expanded.Here is my code …

Member Avatar for samsambm
0
768
Member Avatar for coolrj01

I want to make css manager for my site like wordpress's css manager. I want to open css file in textarea so I can edit it than after pressing submit button, changes in css file should be saved. Please help me. Sorry for my bad english.

Member Avatar for whiteyoh
0
74
Member Avatar for Awah Mohamed

hey people . i want to create a a posting system , not the usual one , i want to create a posting system like the wordpress one , it should provide add image and fonts and sizes and it automatically add new lines , i shearched in google for …

Member Avatar for whiteyoh
0
62
Member Avatar for philas

i'm use smarty 3 and write [CODE]$smarty = new Smarty(); $smarty->config_dir='./smarty/sconfigs/'; $smarty->template_dir='./templates/new/'; $smarty->compile_dir='./smarty/stemplates_c/'; $smarty->cache_dir='./smarty/scache/'; if(!$smarty->isCached('index.tpl','default')) { $smarty->assign("u",refresh_user_info(),true); } $smarty->display('index.tpl','default'); [/CODE] but {$u} is missing when i add if($smarty->isCached help please!

0
82
Member Avatar for LiQuid.Ace

So basically what im trying to do is pass a variable from a JS function to PHP variable. Currently the onClick code is: [code] <?php include('onload.php'); ?> <body> <br /><br /><br /><br /> <center><font color="black" size=20><a style="text-decoration:none" href="#" onClick="showpopupshare()"> [/code] ShowpopupShare(): [code] function showpopupshare() { document.getElementById('mmpopup').style.display='block'; document.getElementById('mmpopup1').style.display='block'; window.setTimeout("StartTheTimer()",30000); } [/code] …

Member Avatar for blocblue
0
145
Member Avatar for brothaofdes

Hello all: I have a small script that will present options to a user, and from those options will export data into an Excel spreadsheet. This seems to work correctly, but the problem is that the user interface page does not get updated after the download. Here is an example: …

Member Avatar for jkon
0
881
Member Avatar for kirtan_thakkar

I have created my personal login system. I am kinda newbee here. When user log in it creates cookie as 'user'. I've seen some sites to which creates password cookies too. So i need to verify both the cookies in mysql database every time with the every page loads? And …

Member Avatar for jkon
0
102
Member Avatar for eraucontroller

When I execute the script it returns no info just blanks: First Name : Last Name : Email : What is wrong with my script??? I have tried using the "while" function but I do not need it for what I am doing. [code] <?php require_once('connectvars.php'); $search = $_GET['search']; //connect …

Member Avatar for jkon
0
101
Member Avatar for waveydaveywaves

I've been trying to get this code to work for hours can anyone spot the mistake i made? its a code to edit the contents of a database field calling it by its primary key. my error code is Parse error: syntax error, unexpected T_VARIABLE in E:\xampp\htdocs\php\databaseview\records.php on line 103 …

Member Avatar for pritaeas
0
340
Member Avatar for anita_86

Hi! I am getting message #1052 - Column 'userlevel' in where clause is ambiguous while running following query: [CODE]<?PHP $query=mysql_query("SELECT mssgs.start_date, mssgs.task, mssgs.status, mssgs.timestamp, mssgs.due_on, mssgs.id, users.fname FROM mssgs INNER JOIN users ON mssgs.uid=users.uid AND mssgs.userlevel=users.userlevel WHERE status=0 AND userlevel=1 OR userlevel=3"); if(mysql_num_rows($query) > 0) { while($row=mysql_fetch_array($query)) { if($row!=0) { …

Member Avatar for pritaeas
0
110
Member Avatar for chandaboy

Hi, guys I made a web application and run in local host in Mac, but the problem is that when I copy that folder and paste in my system (xp) then it is not working, I don't know what is the problem ....??? can any buddy know this problem then …

Member Avatar for chandaboy
0
82
Member Avatar for ben.marks

Hello, I am trying to get the MySQL id field to auto update itself when an item is deleted. However the below doesnt work. When a user searches by name, then I need to grab the id of that name before I delete it and minus 1. [CODE]$name = $_POST['name']; …

Member Avatar for waveydaveywaves
0
162
Member Avatar for shg234

The below code works well in my localhost, but gives an error whenever I upload it to my hosting server! :?: Somebody please suggest me what to do ??? [B]Here is the code:[/B] [CODE]<?php error_reporting(E_ALL); ini_set('display_errors',1); require('Connections/cn.php'); if(isset($_POST['modify_m']) && $_POST['modify_m']=="Update") { //Update image $file_name= $_FILES["file_m"]["name"]; $file_type= $_FILES["file_m"]["type"]; $file_size= $_FILES["file_m"]["size"]; $file_temp= …

Member Avatar for blocblue
0
149
Member Avatar for Joe34

For example here is some code..... [CODE] preg_match_all("/<a(?:[^>]*)href=\"([^\"]*)\"(?:[^>]*)>(?:[^<]*)<\/a>/is", $stripped_file, $matches);[/CODE] What I don't get is all of those special characters? (?:[^>]*) How can I do this with the h1 tag, h2 tag, and h3 tag?

Member Avatar for blocblue
0
474

The End.