39,392 Topics

Member Avatar for
Member Avatar for architact

Hello Everyone, The problem I am facing is very simple, I want to add daily news letter subscription for the users on a site. Please tell me how can I do that. Thanks

Member Avatar for langsor
0
55
Member Avatar for ramseswar

i want to create a table in sql database using php code. if i try to use the sql command(given below) in my php source code [code]"CREATE TABLE new_table( id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT, id1 VARCHAR(55) NOT NULL id2 VARCHAR(32) NOT NULL, id3 CHAR, PRIMARY KEY(id));"[/code] i get syntax …

Member Avatar for langsor
0
132
Member Avatar for hassanahmad

Hi everyone ! I am a new to this forum. I have a question to ask: I have developed a php imagehosting script for one of my customer. The demonstartion can be found at : [url]http://picly.com[/url] (I have not uploaded the admin panel there, but you can find it here: …

Member Avatar for Goins
0
197
Member Avatar for maydhyam

Hi All, Could you help/guide me accordingly please...My intentions with this piece of code is for the relevant image to display with the respective user...my problem is that it doesn't work for the second user type (SysAdmin), it only works for 'Admin'... [CODE=php] <tr> <td width="255"> <? if($arr[6] != 'Admin' …

Member Avatar for maydhyam
0
104
Member Avatar for Gabums

I am going to apologize off the bat for posting an email form question when there are sooooo many others... but honestly, i looked at them all before i wrote this. I have a form that contains a place to type in 'name', 'subject', 'message', and 'email'. When ever the …

Member Avatar for Gabums
0
131
Member Avatar for vinnyroundfoot

Hi Everyone, I will soon develop a web application (normally with PHP (cakePHP)) which should allow the users to view their related PDF files. Obviously, I dont' not want that users are able to view other user's PDF files (using for example URL rewriting). I'm looking for a solution for …

Member Avatar for nepeanmedia
0
1K
Member Avatar for queenc

hi i have a page where all the username will be listed.i want to delete them.........before tat i want ask the user whether he wants to delete in a popup.if he clicks yes then his name should be deleted 1st page [CODE]<a href="http://cc.com/icc/delete.php?id=<? echo $value[0];?>"><img src="images/b_drop.png" border="0"/></a>[/CODE] delete.php [CODE]<? $id=$_GET['id']; …

Member Avatar for pabz_sarquilla
0
77
Member Avatar for broady

I have a little knowledge of SQL, however very very little of php, I am wanting to display information from a database in a small area of a php page, I have already created the area on the page etc and "hard coded" the info in there for now, however …

Member Avatar for somedude3488
0
89
Member Avatar for jencinas69

Hello I have a txt file with this content 456510 P115 JANDAY CONURE Very pretty, green/orange/blue, but keeps telling ME to shut up! $250/obo. 928-555-1212. I will like to now if its possible to write ID Category Description in top of the file like this ID Category Description 456510 P115 …

Member Avatar for jencinas69
0
221
Member Avatar for veledrom

Hi, I have checked several examples but, i couldn't do the pagination. Please help me because i simply can't do it. I am stuck with my assignment because of this. Table is shown below. Thanks [code] CREATE TABLE `country` ( `code` varchar(255) default NULL, `rank` int(11) default NULL, `name` varchar(255) …

Member Avatar for veledrom
0
81
Member Avatar for rati

HI All, I am using doctrine in my project... now i am trying to update an already existing query.I am getting some DB exception..can anyone tell me what ia wrong in my code [code] $q = Doctrine_Query::create(); $campaign->update('TableName') ->set('name' , $args['name']) ->set ('credit' ,$args['credits']) ->set('comments' ,$args['comments']) ->where ('id = 2') …

Member Avatar for ShawnCplus
0
59
Member Avatar for kamaster

Hallo. I am working on a listing site ([URL="http://www.togoenvogue.com"]www.togoenvogue.com[/URL]) and need to set an auto deletion feature. What I want is this. When the user wants to add a listing (job offer for example), he will need to select from a SELECT drop down how long he wants his message …

Member Avatar for R0bb0b
0
123
Member Avatar for kwesiaryee

:S Hi I need help urgently.. I want to insert data into two mysql tables using just one form. Tried to do it through the following code below, but keep on getting horible errors when i submit. The essence is that the client has to fill all data without moving …

Member Avatar for R0bb0b
0
96
Member Avatar for PomonaGrange

Hi, I was wondering, if it is possoble (or how to) include a php file with a get form value passed. For Example: states.php?state=NY. This file would be incuded into another php file so that it would display only the items that would be in NY state. Anyone know how …

Member Avatar for PomonaGrange
0
135
Member Avatar for zegames

[CODE=php]<? $url = 'http://www.gamespot.com/pages/search/search_ajax.php?q=grid&type=game&offset=0&tags_only=false&sort=rank'; # regular page: #url = '://www.gamespot.com/search.html?type=11&stype=all&qs=grid'; function disguise_curl($url) { $curl = curl_init(); $header[0] = "Accept: text/xml,application/xml,application/xhtml+xml"; $header[0] .= "text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"; $header[] = "Cache-Control: max-age=0"; $header[] = "Connection: keep-alive"; $header[] = "Keep-Alive: 300"; $header[] = "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7"; $header[] = "Accept-Language: en-us,en;q=0.5"; $header[] = "Pragma: "; curl_setopt($curl, CURLOPT_URL, $url); …

Member Avatar for zegames
0
187
Member Avatar for veledrom

Hi, How can store [inlinecode]$_SESSION['id']="myId";[/inlinecode] for 5 hours? I tried cache thing but, when i closed IE it expired. When i echo $_SESSION['id'], it doesn't return any value. Thanks [code] session_cache_expire(150); session_start(); $_SESSION['id']="myId"; [/code]

Member Avatar for digital-ether
0
107
Member Avatar for ditty

Pls help me to add two times which is in mysql database table....Very urgent...Thank you

Member Avatar for Shanti C
0
116
Member Avatar for wertz33

im trying to do a button that will be able to add automatically textboxes,radiobutton or other forms. [B]for example of this is that i have 1 row that consist of a textbox and radiobuttons, then below there is a button named add. when i click add same row will be …

Member Avatar for Shanti C
0
68
Member Avatar for it2051229

I have created a simple php application that resizes pics.. so this is how the program goes, the server will provide the client an interface where to browse a picture, then after the client chose the pic to be resized it hits on the "RESIZE BUTTON" then the image goes …

Member Avatar for langsor
0
95
Member Avatar for nimbus8

Hi! I'm on the lookout for a script that enables visitors to my site to trade their stuff. If one person post that he wants to trade his c++ litterature in exchange for the Godfather collection anyone who has either posted that they have the godfather collection or want the …

0
42
Member Avatar for tiger86

Hi I am trying to use nucleus a GNU blogging program. I used a php debugger to check it for any errors and it ran across a bunch but I don't understand them because they don't look like errors to me. I am just a beginner in PHP so I …

Member Avatar for tiger86
0
89
Member Avatar for Stefano Mtangoo

Hi All, I need to center Suckerfish dropdown menu in my drupal site. How can I do that? I use roople theme Lite Jazz and Drupal 6. Thanks alot Steve:)

Member Avatar for marigold2
0
265
Member Avatar for auk_fairy

i tried installing apache 2.0.48 and php4.3.2. apache works fine but when i click the "PHP info" link from the php page after installation, 1.in Internet Explorer- the File Download dialog box appears asking if to "save" or "open". 2.in mozilla- the script is displayed on the browser instead of …

Member Avatar for khess
0
133
Member Avatar for pauldavis

Hi, im making the website for a local youth club, and the leader there, wants to have comments posted automatically, under the contact box. I'm fine with the contact form, that works fine. Its the same one used on my website, its been tested by 3 other people to. The …

Member Avatar for digital-ether
1
113
Member Avatar for fortiz147

i have passed multiple identical id values, and now i want to retrieve those corresponding id values in mysql. how do i retrieve them? the table that the ids were inserted is a join table named hrm1_employees with field names hrmemp1Id, empId, and hrm1Id. the field hrm1Id came from the …

Member Avatar for fortiz147
0
98
Member Avatar for antihero

Please, estimate the operation of [url=http://design.antigov.org]engine for site[/url] All the pages are made only in HTML, and there is only the text of central column material; building of menu and of other things, display of CSS styles are performed with Java Script, it should be put at the beginning of …

Member Avatar for langsor
0
95
Member Avatar for scorpionz

Hi this is scorpionz here I am working on some exams stuff... Now the thing i want to mention here is that: a text boxes created by php code, means a text boxes shaped in this way: [code] <input type="text" name="total_points<?=$i?>" style="width:50px;" > [/code] Now these are created severals. I …

Member Avatar for langsor
0
85
Member Avatar for justted

Hello everyone, Ive been having trouble trying to incorporate the code for an image Map into a PHP global.inc.php document of my community. The image map code is: [code]<img name="headerbanner0" src="headerbanner.gif" width="950" height="125" border="0" usemap="#headerbanner" alt="" /> <map name="headerbanner"> <area shape="rect" coords="224,93,385,125" alt="newsroom"> <area shape="rect" coords="585,90,793,2081874365" href="http://cyberpetcity.com/view_page.php?page=1363&game=1" alt="cybertown"> <area shape="rect" …

Member Avatar for mgwalk
0
149
Member Avatar for axelwu

We setup a new email account via CPanel, and we tested that we can log into the webmail to send and receive emails of that account. We use this email account to send mails to our visitors to comlete the registration & activate their membership. However, on our website, we …

Member Avatar for langsor
0
92
Member Avatar for Diode

For me the big problem is action='foo.php' Unless I am mistaken, any submit button would send the form to foo.php by POST, so I would need a second form to have an alternate action page. I made a table to show the user's contents in the shopping cart, with a …

Member Avatar for digital-ether
0
188

The End.