39,326 Topics

Member Avatar for
Member Avatar for tcollins412

ok, so i am writing a program for my client. i have a thing where they can view all of their clients. I have it listed where their clients names are listed. How do i make it so when they click on thir clients names, it calls their id from …

Member Avatar for lyrico
0
73
Member Avatar for prithvi.web

Hi Guys, I am trying to make a string from an array.The array structure looks like this [CODE][n3] => Array ( [0] => 2011-01-19 [1] => 2011-01-12 )[/CODE] Now if n3[0] or n3[1] is null i mean if any one value is absent then the string should look like [CODE]$str …

Member Avatar for prithvi.web
0
105
Member Avatar for dragostone

Greetings everyone. i have a number of check box's, a message text area and a submit button. Depending on what box is checked it will send the message to that email address. Here is the code for the form: [CODE] <form method="POST" name="myform" action="checked.php"> <input type="checkbox" name="emails[]" value="user1@domain.com" /> <input …

Member Avatar for dragostone
0
852
Member Avatar for Jwallis

I had someone build forms for me but they didn't put in tags to have those forms do anything, the just made input fields. I have some knowledge on how to do this, but have never written PHP before and was told this is what I need to do to …

Member Avatar for nicholas1981
0
186
Member Avatar for samsons17

Hi,sorry for the title of this thread as I not really know what to give it :) Anyway, I got a problem with my newly created website. My website got the blog section where I write everything onto it.And i when I try to share the link of my recent …

Member Avatar for samsons17
0
190
Member Avatar for Tco03

Allright so.. Im kinda stuck with the project im working on. Im allmost done with it but the remaining is to show each row in a form. I got a form i fill out that save the data to my database, i got a script that shows all my information …

0
59
Member Avatar for Agent Cosmic

What would be the guideline for using a component or module? Is the component where I use to bloat my model with? BTW, I'm using Yii Framework. Thanks.

Member Avatar for Agent Cosmic
0
70
Member Avatar for fouzia Qayyum

hello! i have implemented a signup form in yii framework now i want that after user login user can modify his/her info. help me plz

Member Avatar for halomas
0
33
Member Avatar for PoisonedHeart

Hello everyone, I don't where should I post this thread, but since my project (document tracking system) will be using PHP, maybe I just post it here. Would someone tell what should be the features or modules of my project, here are my listing as of now: -a module for …

Member Avatar for PoisonedHeart
0
215
Member Avatar for shamala

i need javascript code to count the number of div tags in a code with same id and assign same value for div tags with same id

Member Avatar for kurtopia
0
62
Member Avatar for oree

I am trying to use a search script i found online and i am having a problem with the query. I am trying do a query from multi tables. I have 12 tables, all have the same fields: name, phone etc. each table is a different category of items: appliances, …

Member Avatar for codewall
0
128
Member Avatar for Eblahmysuper

What I'm trying to do is take an array that I created and look for key abbreviations in that array, if it finds something it will append a variable until all item in the array have been found, then returns the appended variable. Having trouble with it though... [CODE=php]function check_programs($input) …

Member Avatar for Eblahmysuper
0
300
Member Avatar for mlotis

So I'm creating a website for bar deals... I've tried for hours trying to get the url to take in more than one parameter with no luck, I don't know if my database isn't setup correctly or something but the url would look like this [url]http://www.site.com/?id=1&day=Monday[/url] and when those parameters …

Member Avatar for codewall
0
91
Member Avatar for sjgoodjob

I am have pass Zend PHP 5.3 Certification ,i will list what should you care for about this test (just advise !!!!!!!!!!!!) but i think if you follow it,i think it will be better for you pass Zend PHP 5.3 Certification. HTTP Headers Object Oriented Programming (Reflection,Late Static Binding,SPL) Security(Cross-Site …

0
50
Member Avatar for dos_killer

i need to convert an image to ascii text so that the image is still visible somethigng like [URL="http://asciiconvert.com/"]http://asciiconvert.com/[/URL] any ideas as to how i can go about it ?

Member Avatar for jkon
0
579
Member Avatar for brown23

Hey Guys, So, I've successfully created my own little CMS ... but, I'm stuck on something. I want to be able to manage other users, but more specifically want to know WHEN they are online and WHEN they aren't online. This is the session I'm creating to authenticate the user: …

Member Avatar for chrishea
0
125
Member Avatar for oree

Hello, I am getting this error message on Google chrome but not on fire fox. Warning: mail() [function.mail]: SMTP server response: 503 5.5.2 Need Rcpt command. in \\address....... [CODE] $mail = mail($to,$subject,$body,$headers); if($mail) { session_destroy(); header("location: sendemail.php?verify=ok"); } [/CODE] These are the variables: [CODE] $buyeremail = "email@email.com"; $headers = "From: …

Member Avatar for oree
0
516
Member Avatar for ebookstores

gud day to everyone..im just new in web development..i just want to ask whats the problem if this error occurs: Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /www/zymichost.com/e/p/u/epurchasing/htdocs/index1.php:7) in /www/zymichost.com/e/p/u/epurchasing/htdocs/library/config.php on line 2 Warning: session_start() [function.session-start]: Cannot send session cache limiter - …

Member Avatar for rififi
0
104
Member Avatar for patharianidhi

Hi All, I need some advise, pointers or ideas how I can tackle this problem of mine. I am running a front end php and backend mysql db. I could import my csv file from php to mysql db. However I was wondering if I could upload the csv file …

Member Avatar for jkon
0
61
Member Avatar for andrewliu

I'm trying to create a shopping cart but I need help with arrays. [CODE]if(!isset($_SESSION["cart_array"])||count($_SESSION["cart_array"])<1){ // RUN IF THE CART EMPTY OR NOT SET $_SESSION["cart_array"]=array(1=>array("item_id"=>$pid,"quantity"=>1, "item_size" => $size, "item_color" => $color)); //quantity => $quantity (can be applied) }else{ // RUN IF THE CART HAS AT LEAST ONE ITEM IN IT foreach($_SESSION["cart_array"] …

Member Avatar for andrewliu
0
147
Member Avatar for tape enterprise

I am building a simple CMS for a website, Instead of having a simple texarea box I want it to have different buttons on it for the users to edit the code without knowing html or css. I would like it to be like Daniweb's Toolbar above the textbox on …

Member Avatar for jkon
0
95
Member Avatar for ans2007kumar

My java script of validation is not working don't know why here is the code Header php file [code]<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <link rel="stylesheet" type="text/css" href="c.css" /> <title>simple document</title> <script src="validate.js;cart.js"> </script> <script type=" text/javascript"> <?php session_start(); ?> </script> …

Member Avatar for diafol
0
145
Member Avatar for johnbo100

Hi All I have creating a database table that will store configuration values so that php knows whether to show a field within a html form or not. I know that the PHP code connects to the table within the database as there are now errors when the webpage is …

Member Avatar for johnbo100
0
134
Member Avatar for AndrewSD

Well what this code is supposed to do is create a session when you log in successfully. Then direct you to the member page. Which it does ok. Then when you click logout it destroys the session. My code should, if you are not logged in and go to the …

Member Avatar for madCoder
0
102
Member Avatar for ello

Hey, just got this contact form working, but had an email from the guy with the server, and he says he got the emails as well...which I thought was quite odd. Now I have no idea why it'd do this so I was wondering if one of you guys could …

Member Avatar for ello
0
378
Member Avatar for dietdew12z

I'm editing someone else's code and I have a vague idea of what it does, but if anyone has seen this kind of thing and can explain it to me. [CODE] function mkdir_recursive($pathname, $mode) { is_dir(dirname($pathname)) | mkdir_recursive(dirname($pathname), $mode); return is_dir($pathname) || @mkdir($pathname, $mode); } [/CODE] I don't understand why …

Member Avatar for dietdew12z
0
109
Member Avatar for atutor

Hello All, I need your input on how I can get an HTML form that uses PHP to submit via email, to be able to print the results to be formatted exactly like the original form including font spacing and graphics. I am willing to redo the form. Even use …

Member Avatar for mschroeder
0
101
Member Avatar for crazycat503

i am really tired of Joomla...it is not complicated but very unflexible for me. I have an already functional database that is working just fine. 1. registration field: i have a custom registration field that works excellent and meets my requirements. Its hard to edit and expand with Joomla's registration …

Member Avatar for chrishea
0
115
Member Avatar for chandaboy

My code is this: <?php //Start session session_start(); //Check whether the session variable SESS_MEMBER_ID is present or not if(!isset($_SESSION['SESS_MEMBER_ID']) || (trim($_SESSION['SESS_MEMBER_ID']) == '')) { header("location: access-denied.php"); exit(); } ?> and I am facing this warning, when I login succcessfully: Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already …

Member Avatar for Plyswthsqurles
0
104
Member Avatar for litchi

Hi, Is MD5 still secure enough to use for the storing of passwords in MySQL? Or is there a better/more secure way? I did google quite a bit, but all the posts I found were old (2004-2008)

Member Avatar for Plyswthsqurles
0
90

The End.