39,316 Topics

Member Avatar for
Member Avatar for DanF

Hi, this is my first post here, just wanted a place to post some PHP code for a Savant2 plugin I created. I hope that's ok. If you've never heard of Savant/Savant2, you should definitely visit its website. Savant is a very elegant template solution for PHP that stands out …

Member Avatar for Dani
0
145
Member Avatar for AdventDeo

Well you see, I'm not really sure how but I'm guessing I can cut the code below by about 70% of its length if I can turn the "mandatory fields" into an array. Anyone care to help? Thank you so much in advance! [CODE]<?php session_start(); if (isset($_POST['submit'])) { if (empty($_POST['cliname'])){ …

Member Avatar for AdventDeo
0
107
Member Avatar for severman

hi this is must be an easy question but i didnt find the answer to it anywere. could someone pls tell me how do i send an array from macromedia flash 8 to a php file? i have an array in flash which looks like this: [code] outboard[][] [/code] which …

Member Avatar for severman
0
104
Member Avatar for SYST3M4T1C

OK I'm trying to help my friend out with this template he has but the contact form is not working. Here is the XML document contactFormConfiguration.xml [CODE] <?xml version="1.0" encoding="utf-8"?> <!-- -- Please read this information to learn how to set up the contact form integrated -- into the template. …

Member Avatar for cwarn23
0
159
Member Avatar for ronny22

hi everyone please is the anyone who can show me how to make a add, edit and a delete forms my database is called gamelist on my database i have products table which has id` int(11) NOT NULL AUTO_INCREMENT, `title` varchar(100) NOT NULL, `body` text NOT NULL, `price` decimal(8,0) NOT …

Member Avatar for pritaeas
0
93
Member Avatar for veledrom

Hi, I use this code in Windows (wamp), it works fine. When i use it in Ubuntu it generates this error "Warning: Cannot modify header information - headers already sent by (output started at /var/www/toycar/header.php:9) in /var/www/toycar/classes/class.basket.php on line 17" There is no blank space anywhere. What do i do? …

Member Avatar for EvolutionFallen
0
70
Member Avatar for grr

For each individual row of an array, I would like it to sort by a function that I perform on each value. For example: Array { 1 => "great", 2 => "bad", 3 => "awesome", } and I have a function that would make great a 2, bad a 1, …

Member Avatar for grr
0
74
Member Avatar for Barman007

Im having trouble centering the content of this PHP code (please find code down the bottom fo this post) on my joomla site. I added [code]#google_map{margin-left:140px;}[/code] to the CSS in the hopes of centering it all but it only centered the map itself. Since then I have added the "google1" …

Member Avatar for Airshow
0
107
Member Avatar for valonesal

I have pages written in html that use javascript and css, what I would like to do is use php to change how the url comes out. So I would like the url to look like mywebsite.com/index.php?xx1122 or something like that without disclosing the location of the html files or …

Member Avatar for EvolutionFallen
0
146
Member Avatar for mark2326l

I'm trying to upgrade my server from Mac 10.4.11 Server, running Apache 1.3; PHP 4.4.9; and mysql 5.0.45 (all pages work fine) to Mac 10.6 server with the latest (default) Apache, php, and mysql. Any page with a mysql connection is blank I can connect to mysql through mysql admin. …

Member Avatar for mark2326l
0
209
Member Avatar for Enthused

Hi all, Ive created a pretty simple user system its all working well users can sign up and so on. Though i wanted to add extra security to this system so when the user wants to modify their password it asks for their old password otherwise they cant sign up …

Member Avatar for Enthused
0
264
Member Avatar for Devendra1

I have worked on Java but new to PHP. I want to know the scope of PHP. Where PHP works ? like JAVA ban be used to create desktop applications and on J2EE platform for developing WEB APPLICTIONS and JAVA has many API to work with. Q1. Can PHP be …

Member Avatar for ryuslash
0
112
Member Avatar for empoor

I'll start by publishing my code: [CODE]// query article $query1 = "SELECT page_title,author_id FROM articles WHERE category = 'fiction'"; $mysql_result1 = mysql_query ($query1) or die ("Query '$query1' failed with error message: \"" . mysql_error () . '"'); $fiction_articles = mysql_fetch_assoc($mysql_result1); // query author $auth_result = &$fiction_articles['author_id']; $query2 = "SELECT author …

Member Avatar for empoor
0
150
Member Avatar for Designer_101

Hi I know this topic isnt directly related to PHP however I understand many users in this forum may understand something further about this question. I have a webcam in a nightclub and I want to stream this live onto a webpage. This is probably very easy however i'd like …

Member Avatar for almostbob
0
142
Member Avatar for mynameis

Hello, I need to make an script that displays word "admin" or "regular member" etc below an username.e.g.If a member is admin it displays "admin" below his username every time he posts. like here in [URL="http://daniweb.com"]daniweb.com[/URL] whenever i post a thread it displays "Newbie poster" below my username. I don't …

Member Avatar for Designer_101
0
81
Member Avatar for Susan.LK

Hi, I think i am missing something obvious. The popup should bring up a page passing an id. Currently nothing happens but i can see the id is being passed into the varaiable when hovering over Link, how can this be chnaged. Below is part of the code [code=php]while($row = …

Member Avatar for Susan.LK
0
91
Member Avatar for diafol

Don't know if this is the best place to ask (possibly networking - no prob if you move me). Here goes: 1. A website has its admin area and email hosted externally. The domain name belongs there. Called the 'website' from here on in. 2. A front-end (Joomla) has been …

Member Avatar for diafol
0
87
Member Avatar for Kfd

I have a form which the user enter info. I have 2 buttons - 1 takes data to next page to save data. The other button recalculates and re displays the same page. The problem is I cant read the data in the second form. It is blank. How can …

Member Avatar for Kfd
0
88
Member Avatar for Auch

Hi guys! I'm still fresh on php and from time to time I hang on simple things. Well, this time I was trying to make an include with an onclick action but now I'm not even sure its possible the way I'm trying. Here's the code (problem on line 18) …

Member Avatar for codejoust
0
89
Member Avatar for just asif

hi.i am intersted to build a database and want to link it with other data base in sach a way that any entery in other database also appear in my database automaticaly.i hv knowledge of php and my sql.bt i dont know where to start any body there who can …

Member Avatar for slyme
0
100
Member Avatar for sam023

i was wondering how to how seprate php from html while fetching rows from database.. . . [code] <?while($row=mysql_fetch_array($result)) {?> <td><?$row['firstname']?></td> <td><?$row['lastname']?></td> <?}?> [/code] can i separate php and html in above case.>? . . thank u

Member Avatar for somedude3488
0
95
Member Avatar for napsternapster

Morning people, I'm trying to embid php in javascript function and pass the information php read to a separate javascript page using js function [CODE]<script type="text/javascript" language="javascript"> function alerting() { //var getinformation = new Array(40); var information += <?php $sql = $conn->query("select valgroup_id,valgroup_desc from validating_group LIMIT 1"); if(mysql_num_rows($sql) > 0) …

Member Avatar for Airshow
0
132
Member Avatar for pradeeprs

Can some one help me to create a form & send the results to my e mail address?? and cc as well to another one ? Field Names : Name , Telephone No (should get validated to c the user enters more than 10 numbers) , E Mail address (should …

Member Avatar for cwarn23
0
103
Member Avatar for servis

hi friends, my code is as follow, [ICODE] ------sql query here------------ $result = mysql_query($sql): while ($row = mysql_fetch_array($res)) { $row[tableLegends]; $link[]=$row; } [/ICODE] when i use foreach loop in template, it give the inavlid argument "Invalid argument supplied for foreach() error" [ICODE] foreach($link AS %links){ --------code here------- } [/ICODE] i …

Member Avatar for servis
0
159
Member Avatar for arul25538

any body have binary Tree programming coding in PHP na send me give blow id., id : [email removed] or if u know the concepts na explain me

Member Avatar for pritaeas
0
39
Member Avatar for AdventDeo

Hello, I've read on how to insert properly into two linked tables using mysql_insert_id() function from: [url]http://www.webproworld.com/web-programming-discussion-forum/87197-php-insert-different-records-into-multiple-mysql-tables-same-unique-id.html[/url] now how about if i want it to be from 4 linked tables? can I still use the function? and I want some to be a dropdown lists. My tables are: Client(clientID, Name, …

Member Avatar for AdventDeo
0
3K
Member Avatar for aarya

i have gone throught many crm package lik sugur,tiger ext. but still i dint get clear idea.what is CRM. in many job portal they expect us to know CRM knowledge.any body help how it helps thanks

Member Avatar for lil_Is
0
188
Member Avatar for jonow

Hello, I have a PHP RSS Reader that is supposed to read a XML file and show it on my website. In the XML file are Hebrew characters. They show up fine in the XML file but show up as random symbols in my document. For example when it has …

0
65
Member Avatar for daneuchar

hi guys, this is danny and i need a little help frm u guys i have a piece of code which i need to explode [code] EXP=482900\_1SKILL=4294967295;4294967295;4294967295\_1PK=0\_1RTM=0\_1SINFO=655391\_1WEAR=17408;2145;4294967295;19666;3105;4294967295;19656;4129;4294967295;19661;5153;4294967295;19676;6177;4294967295;19671;7201;4294967295\_1INVEN=\_1 explode("\_1",$charstring); explode("SKILL=",$temp[0]); [/code] i just want to edit 4294967295;4294967295;4294967295 after skill can u guys pls guide me how do i implode after editing …

Member Avatar for daneuchar
0
132
Member Avatar for mmrhl

This has puzzled me for more than a week now. I have been trying to develop a web site for managing a sports league. On of the pages I have is used for changing things like scores and dates and times for games. It is very simple stuff. I have …

Member Avatar for agrarian
0
175

The End.