38,023 Topics

Member Avatar for
Member Avatar for grr

Recently, a primary key in my database got messed up somehow. I ran a script to reorder the users, but now every user has the wrong private messages. [CODE] -- -- Table structure for table `fusion_messages` -- CREATE TABLE `fusion_messages` ( `message_id` mediumint(8) unsigned NOT NULL auto_increment, `message_to` mediumint(8) unsigned …

Member Avatar for dickersonka
0
80
Member Avatar for designingamy

Hello all, I feel a little dumb asking this... I'm trying to pass information from one page to another. I have this: [code] <a href="http://www.mysite.com?color=red&shape=round">Apple</a> [/code] Now that I do that, on the next page, what kind of code do I use to gather the color and shape information? Thanks! …

Member Avatar for designingamy
0
104
Member Avatar for gmaster1440

Code: [CODE]<?php define( "DATABASE_SERVER", "blah" ); define( "DATABASE_USERNAME", "blah" ); define( "DATABASE_PASSWORD", "blah" ); define( "DATABASE_NAME", "blah" ); //connect to the database $mysql = mysql_connect(DATABASE_SERVER, DATABASE_USERNAME, DATABASE_PASSWORD) or die(mysql_error()); mysql_select_db( DATABASE_NAME ); $sql = 'SELECT * FROM `users`'; $result = mysql_query($sql) or die ('Error: '.mysql_error ()); while($row = mysql_fetch_array($result)) { …

Member Avatar for somedude3488
0
233
Member Avatar for gordo58

Hi, I'm new to php so I'll probably be posting a few queries along the way. The problem I'm having is I'm trying to print out an address in an HTML table with information taken from a database. The fields are Address1, Address2, Address3, Address4 and Postcode. Everything prints correctly …

Member Avatar for gordo58
0
108
Member Avatar for justinmyoung

I'm trying to implement TableKit with my table. It works fine, except I'm struggling to update it dynamically. When I edit a table, it changes, but when I reload the browser it reverts back to the original data. The updated code goes to this php code: [CODE]<?php header('Content-Type: text/plain; charset=UTF-8'); …

Member Avatar for justinmyoung
0
96
Member Avatar for sarithak

Hi frnds... i dont know anything about OSCOMMERCE.. now i have interested to learn OSCOMMERCE..because of many companies asking about exp in oscommerce... i have been installed successfully in my system... but i didnt get any idea.. what is the usage & procedure to learning from basics.. plz provde some …

Member Avatar for TopDogger
0
129
Member Avatar for gpdrums

Hi All: I'm connecting to a db to populate a table. My code loops through the db without errors. The problem is in Firefox, my rows of data display as individual tables. Everything works perfect in IE. Any ideas what I'm missing? The table population code basically looks like this: …

Member Avatar for TopDogger
0
141
Member Avatar for jk_bscomp

Gud day everyone!!! I hope you could help me with this one, I have a select form that looks like this, <select> <option>AAA</option> <option>BBB</option> <option>CCC</option> <option>DDD</option> <option>EEE</option> </select> my question is, how to transfer to a new page if the select is change coz the page i am working right …

Member Avatar for jk_bscomp
0
96
Member Avatar for yasmena

Hi , i need help with me Joomla site , i need to make the file permission of the images folder set to 777 only during uploading and afterwards make it set to 755 i need to make also a timer that times out after a period i specify and …

Member Avatar for blocblue
0
80
Member Avatar for antwan1986

Hi everyone and thanks for reading. I started a project a while ago and am stuck on how to proceed processing this form. It's a very simple form but I'm still at a mental roadblock regarding how to proceed from this point. The idea is that the form is a …

Member Avatar for antwan1986
0
113
Member Avatar for abhi03

Hi, I have a site, from where any visitor can download file of their interest (all files are office documents files). Currently it is pure HTML file with no server side script. What i want to do now is, i want to charge $1 for every download via paypal. I …

Member Avatar for ithelp
0
53
Member Avatar for iVala

Hi. :-) I'm relatively new to PHP/CSS although I'm figuring it out by trial and error. Uh, mostly error... The problem is that there is a big gap between my CATEGORIES and SUBCATEGORIES on the front page of my directory. I'm guessing the culprit is this line: [CODE]<p class="subcats">[/CODE] which …

Member Avatar for humbug
0
136
Member Avatar for mgn2683

How would I go about creating a recordset with two WHERE clauses in it? Basically, I have a list and detail pages for a team assignment. In the list page, there are two fields that have to be concatenated to show full names. In the user table they have different …

Member Avatar for mgn2683
0
89
Member Avatar for designingamy

Hello everyone. I have really screwed up this code and can't seem to figure out all the things that is wrong with it. Can someone point me in the right direction? Thanks! ~Amy [code] <?php /* Program name: listings.php * Description: This will pull some of the customer's information * …

Member Avatar for designingamy
0
186
Member Avatar for bhavik_thegame

Hii All, I am working on Drupal right now, well, the problem I am facing is that I am not being able to track the flow bcoz I am not familiar with the urls, for. e.g in the <form> tag the action attribute says "action=user/manage/books/add" What does this mean? On …

Member Avatar for bhavik_thegame
0
123
Member Avatar for benjamindemers

Hey folks, Anyone know how to take the code below and make sure that all the stuff that gets sent to the email wordwraps at 400 pixels? Please HELP! [code] <?php $where_form_is="http://".$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),"/")); session_start(); if( ($_SESSION['security_code']==$_POST['security_code']) && (!empty($_POST['security_code'])) ) { $message = wordwrap($message, 70); mail("rbeale@bealeinc.com,iam1az@cox.net","Membership Application","Form data: First Name: " . …

Member Avatar for benjamindemers
0
165
Member Avatar for websurfer

Hello, all; I am practising on this blog setup, and I am trying to echo each blog entry's headline appear as the page's Title tag... somehow the way I have it doesnt do it. So that you have an idea of what I am doing, I have an "if" statement …

Member Avatar for Will Gresham
0
190
Member Avatar for yusufmiko

I am about to start my final year project, my project is about "Online Appointment Booking System". I started by displaying calendar, but i have a problem displaying the calendar "WEEKLY". i want to calendar to show current week, if possible a button that allow user to view next week …

Member Avatar for yusufmiko
0
89
Member Avatar for enzogoy

Hi all I have a few page of PHP just for internal use. Its function only obtain the data from the users enter and write it to an .csv file. Everything works fine til this morning I do a check again and I found out that It didn't write to …

Member Avatar for enzogoy
0
101
Member Avatar for lotpb

Please help I am stuck on how to click checkbox and put area code in textfield <?php $array1 = array("(516)","(631)","(718)"); ?> <?php $AreaCode = $array1; ?> <td><input name="Phone" type="text" value="<?php echo $array1[0] ?>" size="15" /> <input name="RadioGroup1" type="radio" id="RadioGroup1_0" value="<?php echo $array[0]; ?>" checked="checked" /> <label>(516)</label> <input type="radio" name="RadioGroup1" id="RadioGroup1_1" …

Member Avatar for lotpb
0
72
Member Avatar for AnjX

I get this error: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/pixogeni/public_html/arcade/admin/commandcenter.php on line 46 Well this is line 46, I can't seem to figure out a fix for it... if (isset($_GET['p']) && $_GET['p'] == "login") { Any suggestions? :S Thanks in advance :)

Member Avatar for AnjX
0
141
Member Avatar for danielpataki

Hi everyone! I'd like to ask a simple question to which I can't really find a definitive answer. If I condense my code a lot, will this mean an increase in loading times which is significant enough? I like having my code spaced out, readable, but I would also like …

Member Avatar for danielpataki
0
208
Member Avatar for danishbacker

can anyone tell me how to upload a file iis server I use the following code now but it doesn't work in iis server. [code] $fileName = basename( $_FILES['fileName']['name']);//filename from post $currentdir=getcwd();//get current directory $target_path = $currentdir."\\snaps\\" . $fileName ; if([COLOR="Red"]move_uploaded_file($_FILES['fileName']['tmp_name'], $target_path)[/COLOR]) { echo "Success"; } [/code] can I get …

Member Avatar for danishbacker
0
139
Member Avatar for suredurga

I am bigginer in php. i want create a small admin section for an institute. i have admin table and students details table in my sql. i know , how to insert and update the data. but in my application there is one dropdown list for student courses.what ever i …

Member Avatar for sDJh
0
86
Member Avatar for yasmena

im new to Joomla..and i need somebody help me where the joomla scripts are ??? i mean i want to edit the JCE uploading script and i dont know where the scripts are

0
79
Member Avatar for cali_dotcom

hi, i have the wamp server installed on my pc and now i just downloaded the latest version of the zend frame work and need learn to use the zend framework. Does anybody know what steps i need to take to get the zend framework going?

0
75
Member Avatar for jt1

Hi there, I am writing a free php extension and am wondering if I'll need to compile it for each operating system (FreeBSD, Sun, etc...). I have compiled a separate dll for windows. Cheers

Member Avatar for daFool
0
62
Member Avatar for suredurga

hi friends and seniores, i have a registration form, i can inseted data into database. its working no problem. when retrieve the data it will displayed in the text boxes format.please send me the code . use one "dropdownlist" also.please............

Member Avatar for Shanti C
0
60
Member Avatar for maadri

HI everybody, i'm a final year student, doing an SMS shopping system, and i intend to make it as open source so that everyone can benifit from that. the system should allow the users to buy products from a vendor, by sending sms, currently i am working on php, but …

Member Avatar for maadri
0
94
Member Avatar for queenc

hi i want to upload photos. i have a upload button when the upload button is clicked a window will pop out and uploading image option are there. when the close window buttton is clicked in the pop up,i want to close the pop up and the path should be …

Member Avatar for BrettH
0
64

The End.