39,316 Topics

Member Avatar for
Member Avatar for chandervijay

Hi.. i'm basically a novice in php and have been trying to work out on a multiplication tables using textboxes (to arrive at the square of each number using loops). Given below is the code. Herein i'm not sure as to how to define the variable component which needs to …

Member Avatar for chandervijay
0
247
Member Avatar for xuexue

i already have a running code regarding this, however, when i embed the database, it cannot access the next records...help pls..

Member Avatar for diafol
0
112
Member Avatar for nigelsponge

Hi , I am using an explode function to split some comma separated colors into a drop down list. [CODE]<?php // Split the string up into an array of values $dropdown_data = explode(",", $row_rsApparel['Item_Colors']); // Output a dropdown echo '<select name="color" id = "color">'; foreach($dropdown_data as $key => $value) { …

Member Avatar for nigelsponge
0
421
Member Avatar for shahursk

hi friends, i am new to this forum. i got a problem for sending mail to checked values(check box) on the form. i enclosed the file for us. please any one check this and fix my error as soon.

Member Avatar for wilch
0
133
Member Avatar for csharplearner

Hi all, My client wants to host the videos on his site using the embed code and link of the video. What is the best way to protect the videos from downloading or saving it into pcs. Client wants his videos to remain secured and private and users can view …

Member Avatar for edwinhermann
0
124
Member Avatar for Stefano Mtangoo

I need to format PHP to use with one of my date field (DATETIME). I want to get current time and format it. I have checked some googled articles but I cannot get far. Please help me!

Member Avatar for Stefano Mtangoo
0
211
Member Avatar for kristo5747

Hello! I am a newbie who's trying to code in my app a way to send email with file attachments. Here's the code I put together (thanks to Google!). [code=php]<?php $fileatt = "/somedir"; $fileatt_type = "application/zip"; $fileatt_name = "logos.zip"; $email_from = "joe@work_email.com"; $email_subject = "attachment test-subject"; $email_txt = "attachment test-body"; …

Member Avatar for sarithak
0
1K
Member Avatar for jithusdani

Hi folks, I wanted to get the value of the clicked A href links, somebody please help.... i have something like this, [CODE] <a href="javascript: void(0)" onClick=window.open('<?php echo $rows['file_name']?>','welcome') style="border:0 ">View</a> [/CODE] So i want to get the value if user clicks the href button. so please anybody...

Member Avatar for jithusdani
0
158
Member Avatar for Renzokouken_22

 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at D:\xampp\htdocs\plaincart\library\config.php:1) in D:\xampp\htdocs\plaincart\library\config.php on line 7 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at D:\xampp\htdocs\plaincart\library\config.php:1) in D:\xampp\htdocs\plaincart\library\config.php on line 7 Hello guys.. Above are the errors that …

Member Avatar for Renzokouken_22
0
236
Member Avatar for j_limboo

How to get value from Dropdown and text values Please advice [CODE] <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <form action="tst.php" method="GET"> Input Keyword: <input type="text" name="q" style="width:200px;"> <input type="submit" value="Search"> </form> <select> <option value="SC">South Carolina</option> <option value="SD">South Dakota</option> <option value="TN">Tennessee</option> <option value="TX">Texas</option> <option value="Alaska …

Member Avatar for CFROG
0
2K
Member Avatar for lcyew

I have a table displaying some leave information about staff. In the table, the value for "from" date, "to" date and leave entitlement for staff is retrieved from the database and are allowed for update. I'm using onChange function to keep the table updated wherever there is any of the …

Member Avatar for kylegetson
0
93
Member Avatar for super_noobie

Hey everyone, I'm new here and desperate for help. I need to figure out how to send an image created by an SWF and emailed out automatically. I'm super new at PHP trying to teach my self the language. so far I can create the image but I can't do …

0
42
Member Avatar for macross

I am new to php/sql, please forgive what must be a very basic question. I created a simple php form and have it send the data to a 2nd php page which then inputs the form data into a sql DB. I have it working 100%, but a question comes …

Member Avatar for macross
0
156
Member Avatar for dottomm

Hello, Thanks in advance to anyone who can answer this question. Can I record a users ip address without them logging into my site? I have a list of documents that I would like to make available and would like to get an idea of who may be viewing them. …

Member Avatar for dottomm
0
182
Member Avatar for j_limboo

New to javascript please help me create a link after we click on submit button What is happening is when we click on submit button, it directly does the action on query to google But instead need this to create a link I mean when we hit search the javascript …

Member Avatar for phper
0
115
Member Avatar for POPUP

Hi guys , I am new here. I am facing some error in ma vbulletin forum. my php memmory limit is set to 32MB . while trying to upload a file to forum(URL UPLOAD) i am getting a error Fatal error :out of memmory(tryied to allocate 123334bytes of 682111 byts) …

Member Avatar for phper
0
183
Member Avatar for lostdrifter0001

I'm an amature programmer that has recently started to work with php and I think i got it down for the most part. But im currently attempting to develop a custom web administration page. One of the features I would like to add is the ability to see what programs/services …

0
47
Member Avatar for om1d_h

Hi, I need to generate a PDF report from my MySql. The problem appears when we want to write in Persian. The PDFlib appearently doesn't support UTF-8. I also checed UFPDF. It neither work well. Any advice? I use: PHP Version 4.3.7 mysql: Client API version 3.23.49

Member Avatar for haggis-man
0
237
Member Avatar for click here

Overview this is a fast way to delete Records from your mysql datebase without loading the page . this jquery code can Delete a Record with animation fade-out effect using jQuery and Ajax. <FAKE SIGNATURE>

0
166
Member Avatar for GavinHolt

Hi All, I have coded a function to work out all the possible combinations givien a list of properties and options. If the script was working out all the possible ways people would like toast, it might look like this. [CODE] Array ( [Bread] => Array ( [0] => White …

Member Avatar for gate7cy
0
655
Member Avatar for guyshahaf

i need to use a php script to recieve an email body text from flash and send that email to a fix address with a fix subject. i was able to do so but i got stuck with 2 problems: 1. why does a multiline text data get sended as …

Member Avatar for veetee
0
1K
Member Avatar for terry54661
Member Avatar for Stefano Mtangoo

Hi, its me again! I have faced this error trying to redirect from one page. Here is the error: [COLOR="Red"]Warning: Cannot modify header information - headers already sent by (output started at I:\xampplite\htdocs\site\insert.php:3) in I:\xampplite\htdocs\site\insert.php on line 28 Illegal action or other errors![/COLOR] here is insert.php [CODE=php] <!DOCTYPE html PUBLIC …

Member Avatar for almostbob
0
161
Member Avatar for viiids

[code=php]$matches=array(); preg_match_all($regex, $fragment, $matches, PREG_PATTERN_ORDER); [/code] I get the following error for the input $regex = [\]world[\] and $fragment = hello world: Severity: Warning Message: preg_match_all() [function.preg-match-all]: Compilation failed: missing terminating ] for character class at offset 11 Filename: controllers/admin.php Line Number: 499 can someone please help ?? :(

Member Avatar for pritaeas
0
116
Member Avatar for xuexue

now, i already have a running pagination using php, but i want it to be more eye-catchy, instead of using words or links, i want to use images, like the one's here in daniweb, wherein numbers are enclosed in a box, how will i do that? thanks in advance...

Member Avatar for pritaeas
0
181
Member Avatar for tarunkhatri

Hi In my postgres databse, I have a table named grid_data. I want to insert a new row in that table whn someone enters values in the html form.. But dnt knw why its not working. below is the code. [CODE]<html> <head></head><body> <form action="test_insert.php" method="POST"> <table><tr> <td><input type="text" name="employee_id" value="0" …

Member Avatar for edwinhermann
0
128
Member Avatar for Stefano Mtangoo

Help me inspect this code. I cannot see error by myself. here are the codes for inc.database.php I'm learning OOP with PHP (I extensively using it with python but I'm noob to PHPiing) [CODE=php] <?php class Connectdb{ private $DATABASE = "site_contents"; private $HOST = "localhost"; private $USER = "root"; private …

Member Avatar for Stefano Mtangoo
0
147
Member Avatar for innocent.boys

i m new to php.. i have seen in many php sites...!! if jump from one page to another... it does shows the page name..!! URL remains at Index page..!! Only page changes..!! as i work..!! if i jump from one page to another..! Url also changes from page to …

Member Avatar for edwinhermann
0
3K
Member Avatar for innocent.boys
Member Avatar for hemgoyal_1990
0
320
Member Avatar for ablitz

Greetings to all PHP gurus out there! Since I'm fairly new to php programming I have a question for you all. I have an array of objects, each object has a unique id property. What is the best way to alter some properties of that particular object?

Member Avatar for mick_sp
0
235

The End.