39,326 Topics

Member Avatar for
Member Avatar for ehpratah

hi anybody can help me analyze this code..im not getting the correct output.. if(($origin=="NAIA 1" && $vehicle=="Small Car" && $zone=="Paranaque 2") && ($destination=="BACLARAN" || $destination=="SAN DIONISIO" || $destination=="BICUTAN INTERCHANGE" || $destination=="MULTINATIONAL VILLAGE" || $destination=="MOONWALK" || $destination=="SM SUCAT" || $destination=="DON BOSCO" || $destination=="SUN VALLEY" || $destination=="BETTER LIVING" || $destination=="MERVILLE" || $destination=="MARCELO …

Member Avatar for cereal
0
165
Member Avatar for vijayram

Hi,everybody, i created fileuploader,fileupload display one image.select another image first one is disapper.i want to same time user select more than 10 images display all the images one by one. anybody, plz help me. This is my code. public function executeUpload(sfWebRequest $request) { $fileName = $request->getParameter('qqfile'); $newpath = $this->_uploadProgress($fileName,'uploads'); $obj …

Member Avatar for pritaeas
0
142
Member Avatar for awslc

Hi everybody, Wondering if you could give me some help with an error I have with NuSoap and my C# .NET project. I am trying to return an array of arrays from my PHP NuSoap Web Service to my .NET application. My PHP Code: $server->wsdl->addComplexType( 'GraphData', 'complexType', 'struct', 'all', '', …

Member Avatar for pritaeas
0
172
Member Avatar for HasNor

Dear experties, I have a problem with windows back key. It's still able to click when session expired and go to previous page. How can I disable that key?? Means user cannot go to the previous page? Anybody can help me? Here my session expired script :- <?php session_start(); $timeout …

Member Avatar for vibhaJ
0
94
Member Avatar for lilfairy

Hi I am new to php and been following various youtube tutorials and boought a few books, I am now however clueless with my latest error and really need some help. This is my error **Parse error: syntax error, unexpected T_STRING in C:\xampp\htdocs\lilfairy\admin\library\config.php on line 17** Please have a look …

Member Avatar for karthik_ppts
0
2K
Member Avatar for danielsikes

Hi, I have a simple project that I would like help with. I think the open-source community would love to have something like this. The popular search/spider program "Sphider" is great software. I would like to give it a face lift and create something that I call "Spitter". It is …

Member Avatar for danielsikes
0
106
Member Avatar for HasNor

Dear experties, I'm facing the problem which is system not catch data enter by user. It's happen sometimes. Means my system is not stable. So how can I solve this problem even user access thru IE8 or IE 9 and so on. Is it caused by IE version or what?

Member Avatar for HasNor
0
233
Member Avatar for BadManSam

How do you edit from php like I have a form and from another php file I can edit that form but just like click it and type something like name : (then login text box) and save it. I want that for register and login .

Member Avatar for diafol
0
126
Member Avatar for Szabi Zsoldos

Hi guys, I've made a class with a lot of functions, and for the 99% of the time i need the __construct functi. How can i call the class without the __construct ? class Test { public function __construct() { echo "bla"; } } $test = new Test(); What I …

Member Avatar for Szabi Zsoldos
0
139
Member Avatar for aneeqtariq_143

Hi everyone, i am building book store, i am thinking about to create a single page who fetch a record from MYSQL on the basis of Book_ID instead of create each product detail page. when some click on detail button it passes book_id to another page where i write a …

Member Avatar for aneeqtariq_143
0
152
Member Avatar for meriyas

Hi, I would know how can I validate the following php form fields Need for my student project. Please help me Fields requied are **Mobile Number**: `(10 digits number field)` **Gender **:` (Radio button or drop down box)` **Email **: `(valid email field)` **Date of Birth:**`( YYYY/MM/DD)` Please help me..Urgent.. …

Member Avatar for heavyman
0
315
Member Avatar for HiWorld

Hi, I am trying to make my search results table sortable. The content is obviously dynamic, so how would I do this? *Tablesorter.js does not work…* I am using CodeIgniter... Any help would be fantastic! Thanks

Member Avatar for HiWorld
0
173
Member Avatar for leoblanc

Hi all, Need help from all of you... I am still a newbie, and wanna ask code to display mysql data based on username login. I try many time to change on this code : $result=mysql_query('SELECT tb_hitung.Keterangan, tb_hitung.Debit, tb_hitung.Kredit FROM tb_hitung INNER JOIN tb_bulan ON tb_hitung.id_bulan=tb_bulan.id_bulan ORDER BY tb_hitung.id_hitung'); but …

Member Avatar for SummerNight
0
101
Member Avatar for sway1101

Hey all, I have created a mail script in PHP for a contact form on my website. I have a message that displays when the message has been sent. I would like this message to display below my form but am having some trouble with this. The message is currently …

Member Avatar for cereal
0
206
Member Avatar for cse.avinash

I am a newbie to php and learning now, can you please help me telling how can I take inputs from users in pHp instead of using forms (i.e., a replacement of scanf() in php. I am solving a question to take number as a input and print that number …

Member Avatar for cse.avinash
0
228
Member Avatar for karthik_ppts
Member Avatar for diafol
0
119
Member Avatar for dualzNZ

Hi all i am creating a web application and i would like to generate a md5 checksum on an uploaded file while uploading can i just add md5($file); or is there another way to add a checksum thanks

Member Avatar for veedeoo
0
63
Member Avatar for cjohnweb

So I am trying to do a neat little script in a wordpress plugin that replaces matching keywords with links to other articles on the site. I think I'm done all except one little thing down here below. I need to fix the preg replace function. It should match anything …

Member Avatar for cjohnweb
0
399
Member Avatar for hwoarang69

i am storeing image in database type long blob. //STORE IMAGE IN $IMAGE $image = chunk_split(base64_encode(file_get_contents($_FILES['fileupload']['tmp_name']))); //store image name in $image_full_name(.jpeg) $image_full_name = $_FILES['fileupload']['name']; //store image size in $image_size than conver to 100x100 $image_width_height = getimagesize($_FILES['fileupload']['tmp_name']); $image_resolution = $image_width_height[0] . "X" . $image_width_height[1]; //size of image 100x100 //get size in …

Member Avatar for veedeoo
0
253
Member Avatar for BadManSam

Hi , I edited my webpage and this occured **Parse error: syntax error, unexpected $end in /home/techgeek/public_html/FrF/test.php on line 59** I have checked all the tags and they are closed and here is the code. <?php include("include/session.php"); global $database; $config = $database->getConfigs(); ?> <html> <head> <title><?php echo $config['SITE_NAME']; ?> - …

Member Avatar for diafol
0
195
Member Avatar for tim_ver

I have an issue when I add "" around text in the statement below. With out it works fine but when I add it the whole page is blank. Can someone please help me out on this one. I need to have the quotes in the verbiage. **This works:** $lang["t_tech_v26_content"]="We …

Member Avatar for tim_ver
0
209
Member Avatar for mangel.murti

hi i am working on a mobile verification code wher user can enter his email and his mobile number.then code has to be send to his mobile number,by that code user can login to site. how to achive this target. thanx in advance.......

Member Avatar for jewel205
0
201
Member Avatar for garyrichard

I want to load three list boxes where 2nd list box is loaded on the basis of selection of 1st list box and 3rd list box is loaded on the basis of selection of 2nd list box.. .

Member Avatar for veedeoo
0
572
Member Avatar for rfrapp

Hello, I am trying to upload music files to a database for use on my website. However, the file doesn't seem to actually be going into the folder. I get the name of the file in phpmyadmin, but I don't see the file anywhere. Here's my script (I do have …

Member Avatar for veedeoo
0
731
Member Avatar for SummerNight

Hi, I have a file called reports.php which has several php and database functions. Upon viewing it in a browser it displays a nicely formatted report. Is there a way I can save the HTML(only) output from this reports.php into a **new file** (probably html) in a web server ? …

Member Avatar for veedeoo
0
2K
Member Avatar for wonderland

Hi, I don't know much about php, since I didn't need it. Now though I need to make one small change in .php file - change some text that gets displayed. This text is in UTF-8 Format with letters like ā š ķ , etc I've changed text inside of …

Member Avatar for motke
0
284
Member Avatar for veledrom

Hi, I've written my own pagination but one last bit left and need help. I have the array wbelow: Array ( [First] => First [<] => < [1] => 1 [2] => 2 [3] => 3 [4] => 4 [5] => 5 [6] => 6 [7] => 7 [8] => …

Member Avatar for veledrom
0
151
Member Avatar for johndohmen1963

i have the folowing code that gives me the first letter of each word. $string = $rowec['doopnamen']; $punt ="."; $words = explode(" ", $string); $doopnamen = " "; foreach ($words as $value) { $doopnamen .= substr($value, 0, 1); } But how can i get a dot after each letter ? …

Member Avatar for johndohmen1963
0
759
Member Avatar for devindamenuka

Hi all, I just started joomla module writing (1.5 version). I have some knoweledge about this module writing now. problem is I want to select country name from a one module and load country flag in another module.which second module is in another region(or div). I know only to handle …

Member Avatar for devindamenuka
0
165
Member Avatar for hwoarang69

so i have a page where where is a link <a href=\"editimage.php?img=".$image_id."\">asdf</a> an another page i have to get the image_id that i am passing $image_id_g = isset($_GET['img']) ? $_GET['img'] : 0; echo"$image_id_g"; but the problem is that it prints 0 here. but i wan tto print image_id

Member Avatar for hwoarang69
0
235

The End.