39,326 Topics

Member Avatar for
Member Avatar for rajeesh_rsn

hi i am learning how to make a user login script in php. And I wrote a html page and 2 php pages. Visitors will access through html page using their password and username... And when click on submit then the second page will process it .... I make one …

Member Avatar for mschroeder
0
64
Member Avatar for Lensva

hello gents, i have two pages: page1.php takes user input, page2.php should process it and then return page1 either error or success messages. there seem to be an error(s) i cant figure out: when you fill the form with correct data you get: [code]Warning: Invalid argument supplied for foreach() in …

Member Avatar for Lensva
0
228
Member Avatar for php2sheik

hi, i download the zend framework1.7.2 and extracted as folder, in htdocs of apache server. is there any change in php.ini file? i add another include_path in php.ini file. there is already one include_path in php.ini file. is this possible to two include path in php.ini file.. if it is …

Member Avatar for almostbob
0
80
Member Avatar for shah0101

Hi there, I have a problem that I have called a PHP script in IFRAME and I want to release that IFRAME once the tasks are completed. Parts of the scripts are as follows: Process_form.php: [code=php]if($send_back_to_form == "yes") { $redirect_to = $form_page_name."?done=1"; } else { $redirect_to = $success_page; }[/code] ===> …

Member Avatar for shah0101
0
110
Member Avatar for Bakerlayouts

Can you point me in the right direction: I am looking for Instructors/ Tutors in these fields: HTML, CSS, PHP, XML, ASP, JAVA SCRIPT, FLASH, DREAMWEAVER, FIREWORKS, PHOTOSHOP, and more. I need them for online classes and tutorials. I need to populate my [URL="http://bakerlayouts.com/learn/"]Web Design Classes[/URL] section. Where should I …

0
56
Member Avatar for VIeditorlover

Hi, I am looking for a free tool which let me write pure html + user defined special tags, which would be transformed on demand into php file. For example I can define source like this: [code=php]<html><body> <config/> <mysql> <form name="frm" action="nextstep.php"> <select name="xxx"> <query sql="select value, name from table …

Member Avatar for Fest3er
0
119
Member Avatar for rajeesh_rsn

Hi I am working in a shopping database with php. For this I need to create a Id ( automatically) for each product when I add a new item in to the database and I am using php. I want to create that id automatically and without repetition. It can …

Member Avatar for rajeesh_rsn
0
100
Member Avatar for mirainc

Hey all.. Im in desperate need to solve my shopping cart problem. Im doing it for a school project. The situation is my products are listed in a table. Users will select which product they want by selecting the add to cart link. Once they select it, the product information …

Member Avatar for mirainc
0
430
Member Avatar for CasTex

I am getting error at the second line of the code, what is the problem :-/ [ICODE]$content = '<' . '?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?' . '>'; $content .= "<entry xmlns='http://purl.org/atom/ns#'>"; $content .= "<title mode='escaped' type='text/plain'>".$title."</title>"; $content .= "<issued>".$issued."</issued>" $content .= "<generator url='http://www.yoursitesurlhere.com'>client's name</generator>"; $content .= "<content type='application/xhtml+xml'>"; $content .= "<div …

Member Avatar for almostbob
0
2K
Member Avatar for rajeesh_rsn

Hi I am making a online shopping site. In that I want to add online payment option. Paypal will take 5-7 days to process .. I need help in this chapter.. Any one know the solution ?? I am from India and used php code for building the site .... …

Member Avatar for freshfitz
0
74
Member Avatar for sacarias40

i get this error:[quote]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'index, user_id, username, message) VALUES(' ', '4', 'zack', 'jh')' at line 1[/quote] [code]<?php session_start(); $_SESSION['user_id'] = 4; $user_id = $_SESSION['user_id']; $_SESSION['username'] = …

Member Avatar for sacarias40
0
94
Member Avatar for snadboy6371

I have created sandbox account on google but not got merchant id and merchant key

0
49
Member Avatar for samarudge

Hi, Is there any way to retrieve the contents of a DIV from another website, E.G. there is a div on Youtube with the ID description, how would i get the contents of that DIV? Thanx Sam Rudge

Member Avatar for samarudge
0
283
Member Avatar for cakka
Member Avatar for pcmicro

Good evening to all of you! I was wondering if anyone would be willing to assist me in building an HTML feed back form powered by PHP. Quite frankly I don't care what its powered by as long as it work. Any suggestions??? Thanks for your support. C-

Member Avatar for almostbob
0
372
Member Avatar for queenc

hi i am trying to develop a site.i am using php and wml.this is my first program.can any one say why my below code is not woking [CODE] <?php header("Content-type: text/vnd.wap.wml"); echo " xml version=\"1.0\" "; echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"" . " \"http://www.wapforum.org/DTD/wml_1.1.xml\">"; ?> <wml> <card> <? …

Member Avatar for digital-ether
0
329
Member Avatar for theimben

Hello, I need some help. Ive got this script which scrapes the [URL="http://www.imdb.com/chart/top"]IMDB top 250 movies[/URL] list. What Im trying to do is add a search link next to the year bit. Ive got it partially working with str_replace but it only adds the link to the first movie. [URL="http://www.theflickzone.com/misc.php?do=page&template=top250"]See …

Member Avatar for digital-ether
0
94
Member Avatar for alipourhadi

hi to all i wana get the Traffic left from rapidshare account i used this work but it doesnt work anyone cans help me? [CODE]ereg("<td>Traffic left:</td><td align=right><b><script>document\.write\(setzeTT\(\"\"\+Math\.ceil\((\d+)/1000\)\)\);</script> MB</b></td>", $pagedata, $traffic); [/CODE] html code of this part is : [CODE]<td>Traffic left:</td><td align=right><b><script>document.write(setzeTT(""+Math.ceil(-123313/1000)));</script> MB</b></td>[/CODE] i need this number : -123313 in html

Member Avatar for digital-ether
0
96
Member Avatar for sleign

I'm finding some information here and there about $PHP_SELF but never specific to the question I have. I'm not sure if I'm going about this right, but I'm using a form for user input, specifically a registration page - and I'd rather only have one page the user has to …

Member Avatar for digital-ether
0
190
Member Avatar for shaneog

I have been racking my brain and can't figure this out??? I'm trying to <b> or <highlight> characters/words in my string and for some reason the <b> tag is getting replaced when the $q includes the character "b". It also does the same for <span class=".... just reacts to different …

Member Avatar for digital-ether
0
2K
Member Avatar for Aamit

I am using this code to display calender This runs on IE but [COLOR="Red"]not on Firefox [/COLOR] [code] <table border="0" cellpadding="0" cellspacing="0" style="height: 150px; border-collapse: collapse" width="100%" class="searchBox"> <form action="index.php?view=search2" method="post" name="SearchForm" onSubmit="Javascript: return checkSearchForm();"> <tr> <td colspan="2" valign="top"> <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" class="normalHeading3"> <tr> <td valign="top" width="13"> …

Member Avatar for almostbob
0
172
Member Avatar for Cellu

Hi, This must be a rather dumb question, but I'll ask it anyway. Me and my friend are making a simple news script for our website, and thus we are not going to use mysql. The idea was to use mod_rewrite for SEO friendly URLs e.g /news/2008/12/25/this-is-the-subject/ (== news.php?y=2008&m=12&d=25&s=this-is-the-subject ) …

Member Avatar for almostbob
0
253
Member Avatar for enim213

hi All, I want to ask if is there any possibility to separate column data in different columns using php code.. really dont know if i have solution in php or here in mysql.. any idea would be really appreciate Thanx enim

Member Avatar for enim213
0
144
Member Avatar for guitarscn

I have a .php web page with these lines: [code]//gather all the comments $commentquery = mysql_query("SELECT * FROM comments WHERE tutorialid='$tutid' ORDER BY date DESC") or die(mysql_error()); //count all the comments for the total $commentNum = mysql_num_rows($commentquery);[/code] I want the value of $commentNum which is going to be a number, …

Member Avatar for diafol
0
164
Member Avatar for Harneet

[url]www.lbnutrition.com[/url] Nothing is showing up. I have revised the index.php code plenty of times. I need help of an expert. Much thanks! ------------------------------------------------------------------------------------ [code=php] <?php /* $Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public …

Member Avatar for almostbob
0
102
Member Avatar for ajhais

Hi... I have the following code... [code=php] case 10: if($uid=$_GET['u'] && $pid=$_GET['p'] && $t=$_GET['ti'] && $type=$_GET['typ']) { print "$uid $pid $t $type "; } $query1="select * from album"; $result1=mysql_query($query1); if(mysql_num_rows($result1)>0) { $i=1; print "<table width='1000px' cellspacing='10px' cellpadding='10px' align='center'><tr><td colspan='4' class='h1'>Click on an image to delete it..</td></tr><tr>"; while($row1=mysql_fetch_array($result1)) { $query3="select * …

Member Avatar for hielo
0
101
Member Avatar for emclinux

Im in the market for a good php reference book. Does anyone have some suggestions on such a book so I waste my money on a book that is not going to help me. Im not really looking for a book to teach me how to code or anything just …

Member Avatar for pclfw
-1
132
Member Avatar for rajeesh_rsn

Hi I am new to php, I had a form in my page to upload image and some data. And that image filed is not mandatory. I had done that script well and working well. But the problem is it always need a image ( that is not mandatory in …

Member Avatar for wilch
0
223
Member Avatar for cali_dotcom

hi, i'm a newbie to php and i'm building a website right now. i giving the users the option to create and send news letters. i also want to give them the option of sending the newsletters at a later date i.e they can create the newsletters, choose a date …

Member Avatar for mschroeder
0
517
Member Avatar for guitarscn

I have forms already made that takes the user's name and input box for their comment, but I cannot figure out how to make it so that when the user clicks on Submit button, it will display on the same page in a certain style that I want (justified left …

Member Avatar for guitarscn
0
171

The End.