39,323 Topics

Member Avatar for
Member Avatar for sanbhu2105

i will explain the scenario as i don't know how to do it and i don't know if someone ever did it before. I am creating a price comparison website. The customers can add products as their favourites from a list of products. They can also add 4 retailers as …

Member Avatar for sanbhu2105
0
251
Member Avatar for sinopa

Does anyone know how I can get specific content from another website and post it on my website? In this case I want to get the content from [url]http://www.gametracker.com/server_info/213.239.207.85:27960/[/url] What I want is: Name, Game, Address, port, status, clan, Server Manager, members, Current Players. Average and Game Server Rank. I've …

Member Avatar for diafol
0
1K
Member Avatar for bradly.spicer

Hey guys, got this weird error. I have 3 divs. Each with different forms in. Div 1 and Div 2 work fine, they sit next to each other no errors. But div 3 doesn't exist apparently. I'm unsure of where it has moved or why it's deleted. Picture: http://puu.sh/3yDRM.png As …

Member Avatar for bradly.spicer
0
275
Member Avatar for 68thorby68

I have an issue with `$_SESSION` global across a single domian, on my local machine, running PHP 5.1 build 2600 I'm creating a session in the domain root. $first_name='martin'; $second_name='thorburn'; $login_array=array("first_namet"=>$first, "second_name"=>$second); $_SESSION['login']=$login_array; When I run `print_r($_SESSION['login']);` in the root, I get the expected response "Array ( [first_name] => martin …

Member Avatar for 68thorby68
0
391
Member Avatar for Kelvin_1

Please I have a bulk SMS website which I have developed and everything is working fine. The remaining part of the website is the Resellers part where my customers can have their own store where they can sell with their customised name. I am using a VPS Server with a …

Member Avatar for Kelvin_1
0
99
Member Avatar for Fiorentino01^

Hi I need some help please. I am trying to display mysql data on webpage.I got this example from PHPEasyStep but it does not work. I think the code is a few years old and not compatible with my version of Php which is 5.4.Actually I have this problem with …

Member Avatar for Fiorentino01^
0
352
Member Avatar for Sahil_Ar

Hi Guys! I want to know about Forum Software Development,(Vbulletin for Example) i want to Build the Popular Software like Vbulletin,how can i Develop it? Please Help me,what i should know to Build it,Basically i don't even know C,C++. Would it be Difficult and how much and yes i am …

Member Avatar for klaipedos
0
225
Member Avatar for klemme

Hi all, I have a project where I need to improve a search function on a webshop, which is using data from CNet. I am really struggling to find some usefull examples or tuturials explaining the way CNet SKU search is/can be build. The webshop is made in PHP - …

Member Avatar for veedeoo
0
186
Member Avatar for eburlea

Hi. I am using Zend Framework Models. I have 2 tables: 'results' and 'resources'. Table 'results' has the columns: 'results_id', 'resource_id_team1', 'resource_id_team2', 'match_result'. Table 'resources' has the columns: 'resource_id', 'resource_name'. I want to retrieve the results from the table 'results' and I want to join 2 times the table 'resources', …

Member Avatar for eburlea
0
972
Member Avatar for nerdynewf

I have code to upload a image to a folder (storing location and image info in a mysql database) with a separate page to display the images in albums on a website. Can I change this existing code to allow me to upload multiple images at once? here is the …

Member Avatar for nerdynewf
0
247
Member Avatar for kg2989

hi, i need a parser script of php that stores information like name, dob, address, contact no., education from the resume. the resume can be of .doc,.txt format thanks in advance

Member Avatar for pritaeas
0
529
Member Avatar for Syed Nasir ali

Hi when i run php file on local host it directly go to download folder it not come in run condition Please help me i am new in php thank

Member Avatar for pzuurveen
0
258
Member Avatar for aspertrace

<?php $username = $_SESSION['username']; $result = 'sample'; $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } $sql = "Select FirstName from Person Where LoginID = (Select LoginID from UserLogin Where Username = '$username')"; $result = mysql_query($sql,$con); echo $result; ?> I'm kinda new to this server-side scripting …

Member Avatar for aspertrace
0
215
Member Avatar for Rahul47

Hello folks, I am completely new to php. I wish to develop php programs and execute them. What should I do to run php programs using Apache Web Server Under Windows ?

Member Avatar for Rahul47
0
257
Member Avatar for turpentyne

I've just run into a problem, when pulling location data using a link table. There can be two entries in the link table, like so: item_id | contentent | country | state ------------------------------------- 123 | 1 | 2 | 20 123 | 1 | 2 | 21 When I echo …

Member Avatar for diafol
0
173
Member Avatar for sanbhu2105

hey guys, i have created a page called prod_det.php. the page displays the details of the product. below is the code. but it is not working. error message being received when i click the details button is Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean <?php session_start(); ?> <!DOCTYPE …

Member Avatar for sanbhu2105
0
3K
Member Avatar for eburlea

Hello. I need to create an array dynamically from a string value. Please advise how is it possible to retrieve the array values by keys. $mystring = 'myarray'; $myarray = ['a','b','c']; echo '<pre>'; print_r($$mystring); // it works properly echo '</pre>'; echo $$mystring[0]; // returns error

Member Avatar for eburlea
0
114
Member Avatar for kiLLer.zoh_1

Warning: Invalid argument supplied for foreach() in /opt/lampp/htdocs/pbook/inc/login.in.php on line 12 <?php include 'contacts.php'; if($_SERVER['REQUEST_METHOD']=='POST'&& $_POST['submit']=='Login') { $lname = isset($_POST['lname']) ? trim($_POST['lname']):NULL; $lpwd = isset($_POST['lpwd']) ? trim($_POST['lpwd']):NULL; if(($lname!=NULL)&&($lpwd!=NULL)) { $lobj=new DB_Action(); $l=$lobj->disp("Select * From members where memname= '$lname'and mempass='$lpwd'"); foreach ($l as $result) { $aid =$result['memid']; $_SESSION['_ENTER'] =1; header("location:address-book.php?l=$aid"); exit; …

Member Avatar for diafol
0
357
Member Avatar for L-D

Hi, I'm getting errors on http://www.universal-abundance.com Deprecated: Function session_register() is deprecated in /home/content/13/11394913/html/login.php on line 3 Dark bg so highlight top of page. (Still got images to work on) Thanks L-D

Member Avatar for L-D
0
116
Member Avatar for erik216

I need to expend the coding developed by another programmer. The original script only can show five page with no extra notice pdf. So I need to base on his coding to extend. Now I am facing a problem about how can I put line break in multicell. I try …

Member Avatar for LastMitch
0
1K
Member Avatar for Rizi004

hi there i have a website develop in codeigniter framework i have upload the website in subdomain but the the problem with url rewrite. the website home page works fine oes.techpawer.com but when i open the login page or any other page it will not work like to open login …

Member Avatar for LastMitch
0
3K
Member Avatar for snadboy6371

I have got wamp server installed i was running perfectly but now suddenly it is nt starting it is showing loading process. I have uninstalled it and again installed still same problem... plz help me

Member Avatar for veedeoo
0
243
Member Avatar for showman13

Good Morning, I am trying to create a dealer order form for products which occasionally have a sub selection for color available. It is always limited to 2 colors if there is an option, and the number of items is very limited (max of 8) What I would like to …

Member Avatar for showman13
0
187
Member Avatar for jovstudios

Hello Guys. i need ur help. I want to compute the grades in php. This is My code. <?php mysql_connect("localhost","root","")or die(mysql_error()); mysql_select_db("collegestudent") or die(mysql_error()); $id = $_POST['id']; $prelim = $_POST['prelim']; $midterm = $_POST['midterm']; $prefinal = $_POST['prefinal']; $final = $_POST['final']; $a = (int) $prelim + 50 * .20; $b=(int) $midterm + …

Member Avatar for diafol
0
225
Member Avatar for sharma.chiragfaith

I have created an online PHP code executor at http://web.guru99.com Though I have checked all security aspects … do you experts see any major flaw that I need to care of?

Member Avatar for cereal
0
215
Member Avatar for PriteshP23

I want to do in French (By default) & seconadry option is English. I have a *two image flag* on login.php page. It should **ALWAYS** visible in the site. I created two files lang_FR.php and lang_EN.php. *How one set French as default language and translate it according user choice ?* …

Member Avatar for diafol
0
3K
Member Avatar for kantigniter

Hi all, I'm new to codeigniter, and i want to know how to approach or a small example as to how to get the following: 1) If I have a form, and it has fields say asking for number of some category for example: first in a drop down we …

Member Avatar for diafol
0
252
Member Avatar for OsaMasw

I want to create a login system with "**remember me**" option, but am afraid to use cookies because I don't know how to handle the security for it, so I prefer to use session instead, but all session will be destroyed after 30 minutes or when user close the browser, …

Member Avatar for OsaMasw
0
136
Member Avatar for highlite

I need to pass a js variable to a php variable. I know this can't be done directly and I have been trying to do it with ajax but I just can't figure it out. <form name="menu"> <div> <select name="list1" size="1" onchange="setOptions(document.menu.list1.options [document.menu.list1.selectedIndex].value,document.menu.list2,document.menu.list3);"> <option value=" " selected></option> <option value="one">item1</option> <option …

Member Avatar for highlite
0
342
Member Avatar for shelexelex

This code doesnt get into the if statements to check the conditions. Please help me find what is wrong with it. <?php $info=""; if (isset($_POST['RegButton'])) { $FirstName= $_POST['Fname']; $LastName= $_POST['Lname']; $Email= $_POST['Email']; $Phone= $_POST['Phone']; $userPass= $_POST['password']; $repass= $_POST['repassword']; //For password encryption $slt= time(); $salt= $slt; $harshed= sha1($userPass.$salt); if (empty($_POST['Fname'])){ $info= …

Member Avatar for shelexelex
0
270

The End.