39,320 Topics

Member Avatar for
Member Avatar for JimD C++ Newb

Good morning, all! As the title suggests, I am having a syntax error. I'm using Notepad++, and I don't seem to be missing any curly braces. Is there somthing else I'm missing? Thank you [code] <?php session_start(); include('header.php'); if((isset($_GET['movie_users_id'])) && (is_numeric($_GET['movie_users_id']))) { $movie_users_id = $_GET['movie_users_id']; } elseif ((isset($_POST['movie_users_id'])) && (is_numeric($_POST['movie_users_id']))){ …

Member Avatar for vicky_rawat
0
179
Member Avatar for macfi

Hi All I am a bit of a begginer in PHP. How do I store multiple vales in a cookie? I am going along the lines of: [code=php]$data = array('apple'=>'green', 'orange'=>'orange', 'banana'=>'yellow');[/code] then something like (not sure about the sytax here):: [code=php]$var=implode($data); setcookie('data', $var, time() +3600);[/code] Basically how do I …

Member Avatar for macfi
0
4K
Member Avatar for kssi89

Hello, While putting together a sticky form I got this error: Parse error: parse error in C:\wamp\www\base_ball\insert_player.php on line 175 The problem is that this line of code does not exist. The script ends at line 174. Here are the bits of code I have altered: [CODE] <?php if (isset($_POST['Insert'])){ …

Member Avatar for samarudge
0
100
Member Avatar for Newbie 123

Hi I have some code where the user inputs some stuff and then i would like it to get added to a database. The problem is dont know how to make it so that it only adds to the database when the user has submited it? Any ideas ?

Member Avatar for Newbie 123
0
182
Member Avatar for jakesee

Hi all, ok this is quite general in a sense but there's no other approperiate forum to put this so here goes: When thinking how the langauges resolve IP when given a hostname, am I right to say that client-side languages like javascript uses the local computer's host file and …

Member Avatar for martin5211
0
214
Member Avatar for fitse

I developed a forum in php that works only in English but I wanted to make it work in another language as per the user request can anyone please tell me how. thanx in advance

Member Avatar for cwarn23
0
198
Member Avatar for praveen_dusari

hi all, i want a different views to display my products for users like in this site [URL="http://www.naaptol.com/buy-online/WO-shopping-best-deals-W6O/cameras/digital_cameras.html"]http://www.naaptol.com[/URL] in this site user can see different views like grid view,consise view and list view and also the page displays very quickely in this site,how can i acheive this if i use …

Member Avatar for praveen_dusari
0
112
Member Avatar for Designer_101

Hi I'm doing a project for express and star delivery. I have a varchar field for a week in my database The name is of the field is [B]28-03-09[/B] It then lists how much each customer owes ID ---- Address ----- 28-03-09 ------ will 1 29 Broomy 1.20 1.2 I …

Member Avatar for martin5211
0
80
Member Avatar for weblover

hi all ..i'm working on php application .......and i need to insert data into a filed in my table but in a certain condition ......exp:(insert into users (posts) values(...) where ...) i can't do this .....what should i do ? please help and thnx in advance

Member Avatar for Designer_101
0
339
Member Avatar for csharplearner

Hi all, i have this bbcode for a [URL] which is not working. Please let me know whats wrong with it. [code] // Perform URL Search $post = preg_replace("/\[url\]([$URLSearchString]*)\[\/url\]/", '<a href="javascript:go('$1','new')">$1</a>', $post); $post = preg_replace("(\[url\=([$URLSearchString]*)\](.+?)\[/url\])", '<a href="javascript:go('$1','new')">$2</a>', $post); [/code] Thank you.

Member Avatar for martin5211
0
511
Member Avatar for ahmadjhoney
Member Avatar for Designer_101
0
82
Member Avatar for KJATL

Hello, I do not know if I fully comprehend the use of post. My understanding was that because $_POST was a superglobal, the values set applied to all pages after having been set. Here is the problem I am facing. 1) User enters an id number into field to delete …

Member Avatar for meleo
0
114
Member Avatar for dipakxyz

Hi , i am developing the bidding site in which customers and vendors belongs to different timezones,customer can place an order provided the order should be placed on or before 3pm GMT time at a spcified day like today, tommorow,.........After 3pm of lasting day,customer should not be able to place …

Member Avatar for samarudge
0
77
Member Avatar for alexgv14

I have been trying to format a date that I receive from a value in a mysql database. The format in mysql is as follows. 1986-08-02 I want to convert that to Aug. 2, 1986 I tried the date function in php and it was not working for me. Anyone, …

Member Avatar for Josh Connerty
0
158
Member Avatar for 7arouf

Hi there, i have a quick question. What is a good software that we can use to build php pages??? I heard that netbeans is a good one!! i never used php before, and would like to have my own website using php. It's not a complex website, it's fairly …

Member Avatar for BzzBee
0
310
Member Avatar for hbmarar

Hi to all, I integrated the supercali calendar to my office intranet application using a iframe. I also changed the meta attributes and made sure it is not cached. Still my boss does not find the events or calendar items, instead gets a blank calendar. I tried even the frame …

Member Avatar for BzzBee
0
104
Member Avatar for alexgv14

I wrote this php birthday script to send emails to people whos birthday is today. I know there is a more efficient way to do this, but because i did not use the standard unix timestamp in my mysql database. I had to do it this way which was a …

Member Avatar for BzzBee
0
155
Member Avatar for PsyberMind

Hey everyone, first post, but I've browsed here enough to know I'm in the right place (of course, if its in the correct FORUM is another story) Ok, first, the breakdown.. I have a PHPmotion script running as a BACKEND. My users will ony see the videos via a "popup" …

Member Avatar for PsyberMind
0
254
Member Avatar for jameswoodhouse

Hi there i'm trying to display an image on a webpage. The image's URL is stored in a mysql database. i just want to output the image to the display via PHP. Any ideas? Thanks

Member Avatar for Designer_101
0
103
Member Avatar for jyotiu

[CODE]<div style="float: left; font-variant: small-caps;">movie link ([COLOR="Red"]zshare[/COLOR]) :</div><div style="float: left; margin-left: 10px;">Link <a rel="nofollow" style="color: rgb(0, 0, 221); text-decoration: underline;" target="_blank" href="[COLOR="Red"]http://www.zshare.net/video/58502819262e0ecc/[/COLOR]">[COLOR="Red"]1[/COLOR]</a> </div><div style="float: right;"><a href="javascript:DeadLink('http://www.movies-on-demand.tv/report.php?id=2845')"><img title="Report Dead Link" src="http://img.movies-on-demand.tv/templates/mod/images/broken.gif"></a></div></div><div style="margin-top: 2px; width: 550px; height: 20px; background-color: rgb(255, 255, 255); font-size: 13px;"><div style="float: left; font-variant: small-caps;">movie link ([COLOR="Red"]zshare[/COLOR]) :</div><div style="float: …

Member Avatar for martin5211
0
131
Member Avatar for The Midnighter

I'm trying to create a form that updates a MySQL record when the user clicks a LINK, not a button. I don't want to open another page for this. There really isn't a need for me to post my code right now, as I'm trying to figure out how to …

Member Avatar for Designer_101
0
127
Member Avatar for cyberbaffled

The dll is in the directory specified in the apache2.2 configuration file. Yet restarting the apache server generates this error message: "httpd.exe : syntax error on line 128 of C:/Program Files/Apache Software Foundation/Apache2.2…/conf/httpd.conf : Cannot load c:/php5/php5apache2.dll into server. The specified module cannot be found." Any thoughts on why it …

Member Avatar for Designer_101
0
204
Member Avatar for hemlii

I basically need an ajax function which helps me by fetching a next record in the form which pops up dynamically on every edit click.. plz plz do help out guyss... Thanks and Regards, Hemlii...

0
47
Member Avatar for szita1

hi I started using NuSphere but when the php code runs, I keep getting messages "Strict Standards: blabla...". What should I set to get rid of the messages? Thanks

Member Avatar for pritaeas
0
32
Member Avatar for Vai

Using this code: [code] $query = "select * from `music` WHERE `music`.`catid` = '" . $catid . "'"; I cannot seem to add "ORDER BY artist so that it would be in alphabetical order. [/code] Second issue: What do I need to do to have Display X amount of records, …

Member Avatar for somedude3488
0
108
Member Avatar for rajeesh_rsn

Hai I had a search script in my web page. There are two inputs 1. Type 2. Location ( list with values --> Any,India,China) And location is not mandatory for search. When user submit search in database and show results. my query is like this [code]"SELECT * from dbname where …

Member Avatar for JRSofty
0
73
Member Avatar for shadiadiph

how do i find out the row size in kb? is it possible to automatically insert the size I have a mail table and have the field is there a way of automatically creating the value on insert by resetting the values of the field?? [code]`messagesize` int(255) NOT NULL default …

Member Avatar for shadiadiph
0
135
Member Avatar for justinmyoung

I'm working on implementing a php registration/login script. When a user registers and then login - they are directed to a page that I would like to display a form, such as you would see in a contest. The person would fill out the form, entering the information into the …

Member Avatar for rm_daniweb
0
3K
Member Avatar for Tekkno

I am new to PHP. I have a MySQL database with a column of URL's. I have a PHP script that randomizes the URL's and echoes the result to the browser. I just need a need a way to turn the randomized URL into a clickable link. I would imagine …

Member Avatar for Tekkno
0
2K
Member Avatar for nschessnerd

Hey, I want to integrate a phpbb login with my site so i added the following code: [code]<?php define('IN_PHPBB', true); $phpbb_root_path = "../forum/"; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($phpbb_root_path . 'common.' . $phpEx); include($phpbb_root_path . 'includes/functions_display.' . $phpEx); include($phpbb_root_path . 'includes/bbcode.' . $phpEx); // Start session management $user->session_begin(); $auth->acl($user->data); ?>[/code] …

0
57

The End.