39,323 Topics

Member Avatar for
Member Avatar for bennetjosem

This one isnt working! [code]function insertpath($num){ echo " <td colspan=\"3\" align=\"left\"> <br>\n"; echo " <b>Date Published</b>:",$Date_Added[$num] ,"<br>\n"; echo " <b>Sample</b>:",$Sample_Views[$num],"</td>\n"; } insertpath(0); [/code] But this one Works [code] echo " <td colspan=\"3\" align=\"left\"> <br>\n"; echo " <b>Date Published</b>:",$Date_Added[$num] ,"<br>\n"; echo " <b>Sample</b>:",$Sample_Views[$num],"</td>\n";[/code] Well not woking in the sense the values …

Member Avatar for senexom
0
133
Member Avatar for Young Teck 06

Okay, here is the thing, I would like to have BugZilla to run for my site bug tracker, unfortunately I cannot get it going, I have some money in my PayPal and anybody who is willing to help me out on getting it installed and tell me what I have …

0
96
Member Avatar for bennetjosem

well what i want is if my php page generates any error it should automatically redirect to my index.php. please note any error (mysql or sytqax or anything else. )

Member Avatar for senexom
0
147
Member Avatar for moosigal

I'm in need of a PHP tutor/instructor. Does anyone have any recommendations? My background is in front end (HTML, JavaScript, CSS), and I'm having a change in my job at work and need to get up to speed quickly. I'm not even sure what book(s) to pick up. I do …

Member Avatar for Atomical
0
360
Member Avatar for tehbacon

ok, lets say i have: $array = array(1, 2, 3); is there a php command function that i can use that will let me have teh first item in teh array become varible $year, teh second item $mnth, and teh last item be $date?

Member Avatar for aboyd
0
89
Member Avatar for Atomical

I've been coding php for about four years now on and off. I'm attempting to write a script that will replace links on a page with another link. I'm debating whether it's even worth it to try to code something with strpos. I was of the opinion that preg_match would …

Member Avatar for Atomical
0
205
Member Avatar for stevoo

basicly i have a vbulletin forum and i am trying to create a simple web page , now the thing that i do not now is how can i obtain the current Members that are registered in the forum and show it in my web page

Member Avatar for Gary King
0
207
Member Avatar for ashneet

Hi All I need help and i am new to php so bare wih me :confused: what i m tryin 2 do is that add poduct shipping handeling togther to get an avraged rate so this is the part of code Troubling me: [CODE] $nrow = mysql_num_rows($result); if ($Vh4 == …

Member Avatar for ashneet
0
283
Member Avatar for sharp_edges

Example : [url]http://rpol.net[/url] I am trying to create a site of the same nature and trying to avoid "Cgi". A Few questions: The example above allows users to create threads in allowed areas only. Further in some areas user can only post.. In others they can Admin thier threads.. I …

Member Avatar for Troy
0
253
Member Avatar for Gnome_101

I have the following code, which tries to see if someone selected a drop down menu item that is already part of the database. If it is, then the error message should show up. [PHP]$size_of_user_array = count($user_selects); $size_of_db_array = count($already_in_db); for($y=0;$y<$size_of_user_array;$y++) { $input = $user_selects[$y]; for($r=0;$r<$size_of_db_array;$r++) { //echo "Already in …

Member Avatar for Gnome_101
0
118
Member Avatar for MartyMcFly

I would like to install phpBB 2.0 on a windows 2000 server on my network, so that network users can access this locally as a method of communicating over the network in addition to email. This needs to be available to about 200 people on site, which is managed by …

Member Avatar for Zachery
0
187
Member Avatar for 4BoredomDotCom

I am trying to make a joke site..... I havent dont the rating system yet but have one previous issue to deal with and cant find it in any of my books. I want to have a password protected admin page, addjoke.php where I can add by category like "Blonde …

Member Avatar for Troy
0
104
Member Avatar for symoore22

Im getting an error with my website when i try using sessions. Im new to it so im probably doing something stupid [url]http://www.bluetipdvd.co.uk/cart.php[/url] [B]error message:[/B] Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/bluetip/public_html/cart.php:4) in /home/bluetip/public_html/cart.php on line 4 Warning: Cannot modify header information …

Member Avatar for Troy
0
147
Member Avatar for ashneet

Hi all First of all i m still new 2 php so please help me out. I am makin an small shipping system using php and i want to make it so that when people submit zipcode the form should only submit the first two digits instead of whole thing …

Member Avatar for ashneet
0
105
Member Avatar for dafabe

I am currently re desigining a web site and would like to make things easyer by using php. I have the basic design done in html tables and want to change the content of cells depending on what links are clicked on, or at least i think this is the …

Member Avatar for Troy
0
113
Member Avatar for forgotteneagle

I have some questions pertaining to php and I need help! [B]1)[/B]I want to display random art in my signature but I want it behind a frame and with the artists's name written on a "nameplate" [B]2)[/B]I want to have a guest book in my signature that you can post …

Member Avatar for darklordsatan
0
138
Member Avatar for luny

I'm still a newb with php, and i've been messing with this for hours with no success. First, heres the sql dump for the three tables I'm using here they are: DROP TABLE IF EXISTS news; CREATE TABLE news ( id int(10) unsigned NOT NULL auto_increment, postdate timestamp(14) NOT NULL, …

Member Avatar for zippee
0
104
Member Avatar for Dani

I'm currently using phpMyAdmin with Plesk 7.5. Well first of all there's the known problem with the CSS not working, but that's besides the point. My question is actually whether it's possible to access phpMyAdmin directly through some URL instead of first logging into Plesk and then navigating all the …

Member Avatar for Dani
0
252
Member Avatar for jpt62089

I am looking for an experienced PHP Programmer to help me with a website I am building. This will be strictly volunteer but that programmer will earn a spot as a staff member on my new site. I do not want to give out any details right now but if …

Member Avatar for jpt62089
0
105
Member Avatar for symoore22

hi i am trying to turn this code: strOutput += "<input type=hidden name=\"amount\" value=\""+ moneyFormat((fTotal + fShipping + fTax)) + "\">"; into a html form line: <input type=hidden name="amount" value="??????????"> im not sure what i shud be putting in the value bit. can anybody help thanks simon

Member Avatar for darklordsatan
0
137
Member Avatar for michael123

Once php has been installed on apache server, why I cannot run php program on it, any idea?

Member Avatar for wakOrang3
0
98
Member Avatar for seemajanardhan

Hi! I hope someone can help me out on this one. I have been trying to get it work since last night. I am making an application where I can add a quiz. The quiz has questions. Each question has a certain number of choices and out of those choices …

Member Avatar for ravi_be
0
284
Member Avatar for Stick

Hello All, I have a form that I created for user login. It has three fields. username Password Date I want the date field to default to the current date when users login. Can anyone help me with setting a default value for the date field? Thanks in Advance! Stick

Member Avatar for Stick
0
172
Member Avatar for sm00nie

Hi all, Is there a way I can delete or expire a cookie that's been left in the users browser cache with php ? The reason I ask is, I'm setting up a paypal store, and if users already have a paypal cookie in their cache when they checkout from …

Member Avatar for sm00nie
0
88
Member Avatar for sm00nie

Hi all, Would anyone know how to search an external html file for a work or phrase ? I was thinking something like - [code]<?php $fp = fopen('http://www.google.ca', 'r'); if (preg_match('/Google.ca/', print fgets($fp))) { echo "match"; } else { echo "no match"; } ?>[/code] Unfortunently, that doesn't work, but you …

Member Avatar for sm00nie
0
234
Member Avatar for thei2k

hey i just did this script for my phpbb forum. its a cash mod (for anyone familiar with) this is what came up Parse error: parse error, unexpected T_STRING in /home/thei2k9/public_html/includes/functions_post.php on line 359 here is line 359 $message = $lang['Stored']. '<br />' . $cash_message sprintf($lang['Click_view_message'], '<a href="' . append_sid("viewtopic.$phpEx?" …

Member Avatar for Troy
0
146
Member Avatar for Yuki H.

I have a bit of a problem with my newsletter here is the error I get: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/happy/public_html/newsletter/subscribe.php on line 64 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/happy/public_html/newsletter/sindex.php on line 244 Warning: extract(): …

Member Avatar for Yuki H.
0
167
Member Avatar for hanpedro

I have a problem on mysql_query on using 2 dbs on 1 mysql server. Please help, and code is;; <? $db1[host] = "localhost"; $db1[user] = "abc"; $db1[pass] = "1234"; $db1[db] = "db1"; $db1[dir] = "a/ab"; $db2[host] = "localhost"; $db2[user] = "abc"; $db2[pass] = "1234"; $db2[db] = "db2"; $db2[dir] = "a/cd"; …

Member Avatar for Troy
0
107
Member Avatar for demetri007

I installed Apache2, PHP5, openssl, Mysql4.1 all from src(except MySql=>RPM). The problem I am having is with PHP ( well I think anyway ). When I start Apache it loads php without error, but when I point Firefox to localhost/test.php which contains CODE: <?php phpinfo(); ?> ,its displayed rather than …

Member Avatar for demetri007
0
252
Member Avatar for ae1

I have a Moveable Type hosting account that seems to come with all sorts of bells and whistles that are not related or even compatible with Moveable Type. I am extremely ignorant about what I'm doing here and I got the MT account because I already had an MT blog, …

0
134

The End.