39,326 Topics

Member Avatar for
Member Avatar for laura301019

ive got a webpage that has a login page, it displays the 3 users name and then gives the fields to login. When the user logs in they get to vote for 3 people to be 1st 2nd and 3rd. I have to change the following code so that on …

0
60
Member Avatar for guidely

Hi, This is part hotel managment system but we want to create new feature where we can edit room type but this is not my code but it my program because I cant contact programmer so end up need to do my self, so got problem where cant update Here …

Member Avatar for Biiim
0
755
Member Avatar for AirmanTheGreat

Hi, I'm writing a simple page for University. I need it to basically just echo user input from a text box back onto the screen. Here is the code I have so far: Code blocks are created by indenting at least 4 spaces ... and can span multiple lines <!DOCTYPE …

Member Avatar for AirmanTheGreat
0
132
Member Avatar for cr7489

hi, i am trying to write a method that looks for the word 'not' before another word and these words i.e being positive or negative are stored in my database so for example this is not good, the problem im having is getting the word from my DB to be …

Member Avatar for cr7489
0
180
Member Avatar for jpadgett230

Hello! What I am trying to do is assign the values from a mysql query and store them in an array. I have some code that queries the DB by using SHOW COLUMNS. I then loop through dynamically assigning the name of the DB field to input fields of a …

Member Avatar for jpadgett230
1
219
Member Avatar for eltonpiko

hi im trying to accomplish something is there a php script that already do this that i can buy or downloap for free. were user can login and get a personal calader they enter detail in the calander for each day and in the back admin the administrator can view …

Member Avatar for Biiim
0
187
Member Avatar for javedsai

Hi everyone, I recently transferred my host from other host provider to blue host. In my code there is logic, when user updates property (Basically, its a real estate website) then, it creates/write xml file in media/xmlfeeds folder. Earlier, on previous host it was working absolutely fine but, after transfer …

Member Avatar for javedsai
0
145
Member Avatar for ask,dziner

hello all, i m new in php, i try to get text text box value in checkbox when i insert the data in the field if when check box is checked and then that checbox value store in database and i also need to show that if that checkbox value …

Member Avatar for Biiim
0
188
Member Avatar for breakzzzz20

Hey Guy's,anyone has a working codes of my problem? moving row data table to another table using php/mysql sorry guy's for this cause i'm very noob on this php/mysql language any help would be appreciated(i'm reallly badly need your help)

Member Avatar for vibhaJ
0
2K
Member Avatar for mohamedasif18

Hi all, i have a table like below Id Names 1 Sanjay, Anu, Rock 2 Mohamed, Asif, Selva, Manoj, Booker T 3 Jerrico, Cena 4 Amala How do i select MAX LENGTH OF STRING from column in the table, I need the result like, 2 Mohamed, Asif, Selva, Manoj, Booker …

Member Avatar for mohamedasif18
0
205
Member Avatar for antonioazevedo

Hi, I have this nice function to truncate a string with HTML. It's very good only now I ran into a problem. There are cases where for example The input will be this: `<a href="some url">this is a link</a>` and what I want to output is exactly the same, even …

Member Avatar for diafol
0
2K
Member Avatar for bjeffries

I am having a bit of an issue with centering images within an image rotator. The rotator is a php/jquery rotator, its very simple. the issue I am having is getting the images to be absolute middle. I have tried what seems to be everything I know, but I am …

Member Avatar for bjeffries
0
168
Member Avatar for jacksantho

Hi, In my windows machine, just i have installed xampp and the drupal 7. I need of debugging tool, so am going for the Eclipse PHP Development Tool (PDE). I don't know, how to install on my windows machine. Can anybody give me a step by step installation to carry …

Member Avatar for veedeoo
0
231
Member Avatar for joshmac

I have a singleton class that I am revamping and need a little help with. I want to use the following syntax for my queries without having to declare a global object. Below is my current code: /** * The db database object * * @access private * @var object …

0
186
Member Avatar for dany12

I trried to add on line 48 on the asset library this paths but that didn't help me ` $asset_location = $base_url.‘system/assets' $asset_location = $base_url.‘system/application/assets/’;' I made a controller for my site and uploaded my library like this '$this->load->helper(asset);' In my view file I used css_asset('my.css'); The css is not …

Member Avatar for diafol
0
85
Member Avatar for mtho

Hi Guys Im kind of new to this and i hope you will be able to understand my question. I have a little dynamic news website. I have a form (called add_post.php)i use to insert my articles (blog_enrty). Unfortunately i get an error saying "you do not have permission to …

Member Avatar for pritaeas
0
91
Member Avatar for saadi06

Hi, I am trying to integrate phpbbforum in my website. I have been successfull in adding the data of the user in the table of my website as well as my form user table.Now I am trying to make a single sign in for the user. It means that if …

Member Avatar for pritaeas
0
224
Member Avatar for A_S!

I have this code is about delete rows in table with confirm. everything is correct and work but in confirm when I click cancel not working it delete row I want to konw wate is the problem when clicking cancel here is my code <script type="text/javascript"> function show_confirm() { var …

Member Avatar for veedeoo
0
351
Member Avatar for cjohnweb

I've considered myself somewhat of a procedural PHP expert, there is nothing I can't solve...Except this. You know when you try to declare a function that already exists and in the error you get a reference to where the function is located, the file and line number? Well, I am …

Member Avatar for veedeoo
0
178
Member Avatar for afidah

hello....anybody can help me? acctually,now i'm doing some php system... i create Sistem Kehadiran... but it can record one time only... can anybody help me? This is coding of my system... rekod2.php: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> …

Member Avatar for afidah
0
339
Member Avatar for ashhadiqbal

I m having this problem while executing search > Notice: Undefined variable: i in D:\xampp\htdocs\search.php on line 23 > > Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\search.php on line 35 . here is my source code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html …

Member Avatar for |-|x
0
233
Member Avatar for basketmen

I can showing month and day in php, from this documentation http://php.net/manual/en/function.date.php for example Wednesday, 03 March 2012 i want to change it into my language Rabu, 03 Maret 2012 or it is best if can like this Rabu, 3 Maret 2012 i am using whm and cpanel, cant found …

Member Avatar for cereal
0
152
Member Avatar for don't give up

hello i want display ( topic and author and date ) if user choose then click "save " how can do that ? this is my code: <?php $con=mysql_connect("localhost","root",""); if(!$con) { die('can not connect'.mysql_error()); } mysql_select_db("scms", $con ); $result = mysql_query("select * from others"); $num = mysql_num_rows($result); $row = mysql_fetch_array($result); …

Member Avatar for broj1
0
310
Member Avatar for jemz

Hi to all, I need to know how to use the cookie in php,my problem is that when i clicked the log-out.and then i will go to my browser and click the back button.it will go back to the user where it is still logging in.but what i want is …

Member Avatar for jemz
0
135
Member Avatar for tubesnube

Hi, I was wondering could anyone help me here. In my program, the user selects a document and fill's it out, submits it and receives an email with the information they filled out in. What I am trying to do now is that when the user selects document and submits …

Member Avatar for cereal
0
141
Member Avatar for ashiiiish

i am unable to store data in database <?php include ("db_connect.php"); $res = mysql_query("SELECT * FROM posts"); while($data = mysql_fetch_array($res)) { $pid=$data['pid']; } echo $pid; $pid=$pid+1; //Get data in local variable $ptitle=$_POST['ptitle']; $uname=$_POST['uname']; $email=$_POST['email']; $pcont=$_POST['pcont']; if ($uname=="" or $ptitle=="" or $pcont=="" or $email=="") echo "All fields must be entered, hit …

Member Avatar for Biiim
0
90
Member Avatar for eburlea

Hello, all. Please advise how to use $_POST in cycle. I have the following code: 1. <?php 2. if (isset($_POST['id1'])) {$id1 = $_POST['id1']} 3. if (isset($_POST['id2'])) {$id2 = $_POST['id2']} 4. if (isset($_POST['id3'])) {$id3 = $_POST['id3']} 5. ?> I have tried: 1. <?php 2. for ($x=1, $x<=3, $x++) 3. { 4. …

Member Avatar for pritaeas
0
97
Member Avatar for collinskawere

hello! am trying to do a simple search engine, but whenever the user types a search term, the script returns the error: unidentified variable: name. name was the input name in the html code. ie (input name="name"). thanks. <?php $db = mysql_connect("localhost", "root", ""); mysql_select_db("room_p7", $db); $query = "select name, …

Member Avatar for collinskawere
0
149
Member Avatar for adit_kr

I am using firefox 9.0.1 under ubuntu 11.10. Suppose I am lying that I am using internet explorer 8 under windows vista. (by manipulating http request headers). Is there any way for the server to find this out? (at least the fact that I am using Ubuntu not Microsoft Windows) …

Member Avatar for cereal
0
140
Member Avatar for Behseini

Hi, I am trying to creat a very simple session between 3 php pages as:index.php ,validate.php and target.php index.php <?php session_start(); $_SESSION['uid'] = 'test'; ?> <!DOCTYPE HTML> <html> <head> <title>Start A Session</title> </head> <body> <h1>Welcome to Heaven</h1> <form method="POST" action="validate.php"> Your Name: <input type="text" name="name" value="" /> <input type="submit" value="Submit" …

Member Avatar for Biiim
0
142

The End.