39,388 Topics

Member Avatar for
Member Avatar for fousieke

I got a T_string error on line 3 of my PhP script. Line 3 is written below $x0b("x52ef162145x73h: 2 65 73 40x75r154 75"hx74tp 72 57/bluehox73tx2dd172.cx6f155x2fx62157rd""); What seems to be the error? Your help is very much appreciated. Thanks. Fousieke

Member Avatar for diafol
0
139
Member Avatar for waseemrulez

I m working on project in which i have to store member automatically in binary tree form like 1 is root 2 is child of 1 3 is child of 1 Then 4 is child of 2 5 is child of 2 6 is child of 3 7 is child …

Member Avatar for prakash.ravi.1004
0
136
Member Avatar for davy_yg

Hello, Is it possible to share part of existing yahoo news or other news type in another websites? If it is how to code it? Thanks.

Member Avatar for pritaeas
0
52
Member Avatar for ngonix

Hello, I have a php script with 3 textboxes that is supposed to search for and retrieve records using the following criteria: Policy Number, First Name and Last Name. The code is as follows: search_page.php <table width="1076" align="center" bgcolor="#eee"> <tr> <td height="10" valign="top"> <p> <div align="center"> <form id="form1" name="form1" method="post" …

Member Avatar for broj1
0
1K
Member Avatar for Prov1

I have a php script that imports a csv into a sql db, seems to be work fine with the exception if the value of the cell is greater than 999, I assume that when the value is 1000, an extra "," is being inserted (1,000) and making my number …

Member Avatar for broj1
0
95
Member Avatar for foxwizzy

<?php require_once('Connections/site.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; …

Member Avatar for foxwizzy
0
192
Member Avatar for minimee120

Hello all, I'm fairly new to using PHP, and for my assignment I've coded it all but I'm trying to go the extra step, and code something that if the item amount = 0 it doesn't print it out on the order form The items are $LAPTOP $MONITOR $KEYBOARD $PRINTER …

Member Avatar for diafol
0
204
Member Avatar for GlenRogers

Hi, I have a web page(admin page) and using some JQuery I have it so that when you click the 'Add News' link a form appears in another div. This bit works ok. The form data gets sent to another php file which the either adds the data to a …

Member Avatar for broj1
0
253
Member Avatar for harshedh

Hai everybody, I need help in the following value store in database double quotes "$plan['plantitle'] " for example has commented on your plan "test " anybody plz help public function notifyCommentOnPlan($me, $comment,$plan,$section) { //var_dump($comment['personal_id']);exit; //notify Plan owner if($plan['personal_id']!=$me->getId()) { $commentPlan = new Notification(); $commentPlan->setPersonalId($plan['personal_id']); $commentPlan->setSenderId($me->getId()); $commentPlan->setTypeId(3); $commentPlan->setMessage(ucfirst($me->getFullName()) . " has …

Member Avatar for IIM
0
204
Member Avatar for asaidi

HI i have this script that insert values to 2 tables .. when i use only 2 insert it works but more than 2 does not please find my code <?php error_reporting(E_ALL); $db=mysql_pconnect("localhost:3306","root","root"); mysql_select_db("campion",$db); $d='DELETE FROM net'; $m=mysql_query($d); $d1='DELETE FROM net_lib'; $m1=mysql_query($d1); $q2="SELECT serial_no,UnitName,pulser1_name,pulser2_name,pulser3_name,pulser4_name,pulser1_input_type, pulser2_input_type,pulser3_input_type,pulser4_input_type FROM net_watch_units"; $res2=mysql_query($q2); while($r2 = …

Member Avatar for broj1
0
145
Member Avatar for Tinnin

I'm trying to hide the excel grid on the screen view by making all borders in the worksheet white. I can't figure out how to get it working though. My attempts so far: $objPHPExcel->getDefaultStyle()->applyFromArray(array( 'borders' => array( 'allborders' => array('style' => PHPExcel_Style_Border::BORDER_THIN, 'color' => array('rgb' => PHPExcel_Style_Color::COLOR_WHITE) ) ) )); …

Member Avatar for Tinnin
0
6K
Member Avatar for matanc244

the page show Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'test2','test3')' at line 3 my php code <?php require 'config.php'; // Insert data into mysql $sql="INSERT INTO content (title , discription, …

Member Avatar for broj1
0
90
Member Avatar for lps

Good day, I wish to print out the content of the files uploaded by the user from a input file type. It is passed to backend using post method. I have done some research but unforturnately I still haven't found a solution that satisfy me. The answer that are close …

Member Avatar for lps
0
159
Member Avatar for Cravver

I have a videos protal system that I just udated and I am getting this error: [24-Feb-2013 02:48:44] PHP Fatal error: Call to a member function portalIndex() on a non-object in /home/user/public_html/admin/applications_addon/other/videos/modules_public/display/index.php on line 152 The line that is on contains ths: $this->output .= $this->registry->output->getTemplate('videos')->portalIndex( $categories, $memberVideos, $featuredVideos ); This …

Member Avatar for diafol
0
313
Member Avatar for Angel78

Been trying this for a while and even searched the net but didn't get what I am doing wrong, I got the function but it's just that it won't print the two first digits that is supposed to be 0 and 1 followed by what's get printed by my code. …

Member Avatar for Angel78
0
150
Member Avatar for fheppell

I've got this htacces code RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.html -f RewriteRule ^(.*)$ $1.html I can load html files without the extension (test.html becomes test) but a php file in the same directory gives a 404 error …

Member Avatar for cereal
0
2K
Member Avatar for hunterious.latham

So Heres The problem code i get a Parse error: syntax error, unexpected $end in /home/crysta21/public_html/4dM1n1STr4+10nB4nk.php on line 149 from <?php /* MCCodes FREE cyberbank.php Rev 1.1.0c Copyright (C) 2005-2012 Dabomstew This program is free software; you can redistribute it and/or modify it under the terms of the GNU General …

Member Avatar for broj1
0
468
Member Avatar for blaaam

Hi! I have my page who need upload images with some other fields in database, so i try search in google for image upload script have found few scripts, yes with them i can upload images, but can't figurate how to add the image destination point in my database, so …

Member Avatar for LastMitch
0
229
Member Avatar for OsaMasw

Hello there, today I noticed there are two operation in PhpMyAdmin, Replication and Synchronization. and now I want to use these operation as the following scenario. I have local db, I want to copy its content to remotly db so when I connect to any db I see the same …

Member Avatar for OsaMasw
0
270
Member Avatar for ffej2ffej

I am working on a series of web pages and I would like to be 100% certain that users cannot jump around to any page they like by typing a URL into their browser. I have used $_SERVER['HTTP_REFERER'] to check at the top of most pages and if the referer …

Member Avatar for diafol
0
288
Member Avatar for Angel78

I am trying to make a movie list for myself, I got everything working like add and delete but the edit gives me some headace. I get all the values fine, id, movie title, director and year are all filled in, well not what category I added using radio buttons …

Member Avatar for broj1
0
259
Member Avatar for jrotunda85

I have a javascript login box on my site ([url]www.cigardig.com[/url]) that a user can click on and login on any page. The way I would like it to work is that once a user hits submit, they are redirected back to the page they logged in on. So, for example, …

Member Avatar for bakhtn
0
2K
Member Avatar for luke.belleghem

Hi, I have a script that sends uploaded images to my images folder on my web server. Im not sure but I think it also renames the images (which is what I want to happen). Could someone please take a look at this script for me and tell me if …

Member Avatar for luke.belleghem
0
225
Member Avatar for sgnark

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\trail\index.php:1) in C:\xampp\htdocs\trail\index.php on line 2 whenever i run this file.... i will get a warning like this... i will attach the login page... after i will logged in i will get this same warning.... …

Member Avatar for broj1
0
3K
Member Avatar for tomato.pgn

i want to make a photo uploader page...that uploads photo and display it in the same page...but i also have one more problem...i don't want page to be refreshed...because i have other controls in that page....can u give an idea how to do so???

Member Avatar for kaore
0
2K
Member Avatar for himvj1

Hi, I am new to php. I have copied one php application from one linux server to other linux server after copy application is working fine but the applet to view image in that application is showing two error messages. error is : java.lang.NullPointerException at com.primeleaf.viewer.manager.DocumentManager.setDocument(DocumentManager.java:123) at com.primeleaf.viewer.manager.CommunicationManager.init(CommunicationManager.java:76) at com.primeleaf.viewer.DocumentViewer.init(DocumentViewer.java:67) …

Member Avatar for cereal
0
309
Member Avatar for neha05

Hello everyone here I am making project on bids and offer ,in which payment gateway i need to use is bitcoin ,so any one help me to guide from where i start Thanks

Member Avatar for neha05
0
200
Member Avatar for OsaMasw

I have single input to be enterded into database I want to use ajax to do this The problem that I already have form to do something else so I can't put from inside form how can I achive somthing like this without touching the original form ![ssss](/attachments/large/3/ssss.jpg "ssss") when …

Member Avatar for OsaMasw
0
208
Member Avatar for Dani

Currently, to check if something is serialized, I do this: function is_serialized($data) { return (@unserialize($data) !== false); } But it issues an E_NOTICE. The @ is great to suppress output, but it's still clogging up every other line of my error log (which is purposefully enabled for notices). Are there …

Member Avatar for IIM
0
4K
Member Avatar for AARTI SHRIVAS

give all of the movie name you have watched and lets who have long list of movies so the game is start logn list win the game

Member Avatar for neha05
-1
219

The End.