39,393 Topics
![]() | |
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 … | |
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 | |
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> | |
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 … | |
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 … | |
Does anyone know how to embed google maps into phpbb3? | |
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 … | |
[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 ?? :( | |
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... | |
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" … | |
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 … | |
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 … | |
| |
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? | |
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 … | |
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.... ![]() | |
![]() | 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. ![]() |
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; … | |
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'] … | |
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 … | |
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 … | |
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()); … | |
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! | |
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 … | |
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] | |
hi! i need support on how to view the php files on my computer's HD without uploading them on server.. thanks in advance! | |
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 … | |
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 … | |
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 … ![]() | |
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 … |
The End.