39,393 Topics

Member Avatar for
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
49
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
241
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
167
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
664
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
164
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
117
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
184
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
130
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
148
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
322
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
280
Member Avatar for Gearspro

Well with my forums, it is a "fluid" style which basically means the forums can stretch to fit any resolution. I was wondering if there was a way i could "set" a width for my forums or give it a minimum with that it could be while in the fluid …

Member Avatar for Gearspro
0
84
Member Avatar for xuexue

please could you give me a code the simplest code possible for a pagination, i have one however, it does not display the next item in the database....

Member Avatar for diafol
0
101
Member Avatar for JayGeePee

I was wondering if someone could tell me how I can set a default image to auto increment, when one of my members sign up. I cant figure out how to set this in phpmyadmin. I could do it manually, but I'd rather it be automatically.

Member Avatar for diafol
0
213
Member Avatar for mcatominey

Can anyone explain why this isnt working? I have two files index.php and include.php, the code for both are below, index includes the include.php but it doesnt output anything. Include.php [CODE]<?php class test { var $two; $this->two = 'variable 2'; function test1() { $one = 'variable 1'; $testvar1 = $this->two; …

Member Avatar for kylegetson
0
128
Member Avatar for karthikanov24

hi the following funtion to create thumbnail is called: [CODE]function copyImage($srcFile, $destFile, $w, $h, $quality = 75) { $tmpSrc = pathinfo(strtolower($srcFile)); $tmpDest = pathinfo(strtolower($destFile)); $size = getimagesize($srcFile); if ($tmpDest['extension'] == "gif" || $tmpDest['extension'] == "jpg") { $destFile = substr_replace($destFile, 'jpg', -3); $dest = imagecreatetruecolor($w, $h); imageantialias($dest, TRUE); } elseif ($tmpDest['extension'] …

Member Avatar for karthikanov24
0
82
Member Avatar for surf

Im trying to get this simple page to do three drop down boxes, the boxes for date and year are fine, but month, the only drop down option you get is "$value" so i would assume that the array is at fault or the way it has been typed in …

Member Avatar for edwinhermann
0
126
Member Avatar for debuitls

Hello all, Having a bit of a problem and not sure where to start with. Maybe someone here could point me in the correct direction. I have the following code. [CODE] $result = mysql_query("SELECT proposal.*, count(bid.proposalid) AS bids,SYSDATE(), TIME_FORMAT(TIMEDIFF(tomorrowtime, SYSDATE()), '%H hours, %i minutes') AS timeleft FROM proposal LEFT JOIN …

Member Avatar for debuitls
0
308
Member Avatar for xuexue

this is the code for search button [code] if ($go == 'Go') { if ($searchText == '') { $buttonPress = 2; echo "<script>alert('Please complete the information!')</script>"; } else if ($searchText != '') { $result2 = mysql_query("SELECT * FROM sec_ph WHERE phType LIKE '%$searchText%' OR phCustomer LIKE '%$searchText%' ") or die(mysql_error()); …

1
236
Member Avatar for debuitls

Hi I was just wondering if anyone knew how to deal with the window.open js function when you want to echo it. Can somebody tell me how to fix the syntax error the below. [CODE] onClick="window.open('viewhotel.php?id='$row['id']','mywindow','width=400,height=200')">' [/CODE] Any suggestions would be great!

Member Avatar for dasatti
0
293
Member Avatar for Stefano Mtangoo

Don't get me wrong, I don't ignore the power behind CMSes. I want to make a Database driven contents. Here is the approach I want to take, correct me/Add opinion as you it! 1. Integrate TinyMCE editor for wariting contents (WYSIWYG) 2. Have database with table contents and three columns …

Member Avatar for Stefano Mtangoo
0
86
Member Avatar for Andrieux

I want take all the usernames from this webpage and output them on my site. How would I go about that? [url]http://runehead.com/clans/ml.php?clan=gotskills[/url]

Member Avatar for kylegetson
0
78
Member Avatar for amritsharma

hi! i need support on how to view the php files on my computer's HD without uploading them on server.. thanks in advance!

Member Avatar for almostbob
0
101
Member Avatar for dwdata

For some reason this function OMITS this very first row of my vType query. The $vType is the name of my List The $FieldValue is the value in the field associated record I am building the options for. It can contain a single or MULTIPLE values. I appreciate any help …

Member Avatar for ShawnCplus
0
77
Member Avatar for justted

Hello everyone, I paid for this script which is a community that offers its members the chance to get a club and joijn other members clubs! However, when people try to join a club they getb this error: Parse error: syntax error, unexpected T_PRIVATE, expecting ']' in /home/cyberpet/public_html/club_join.pro.php on line …

Member Avatar for nasado
0
940
Member Avatar for mcatominey

I have been searching the web for this but cant find it anywhere, i want to search my mysql database with php but i want it to find records if just one of the search term word are met. eg. Search term from form = "one two three" My database …

Member Avatar for diafol
0
151
Member Avatar for alumbagreenz

Hi good day. i am designing a little project for school. This project is to register the MAC address of the laptops of every student in the school. My problem is, when i put in the student's MAC address in the textbox, i would like the little search algorithm i …

Member Avatar for kylegetson
0
105

The End.