39,393 Topics

Member Avatar for
Member Avatar for zhou1919

To create the registration account in my homepage, do I need to set up a database to store all usernames and passwords? If I do, how to set up the database on the unix server where my homepage is on?

Member Avatar for Will Gresham
-1
61
Member Avatar for trazan

[B]i am working with PHP i just want to know what is the framework like ZEND or CakePhp Is it Useful or i still devlop from scratch and i need to know which framework is the best & i need any vedio tutorial for it Thanks all[/B]

Member Avatar for trazan
0
72
Member Avatar for rouse

I found the following code in a tutorial on building a RSS feed. I can’t find a reference to the “<<<” on the PHP manual web site. Would someone point me to the documentation on this symbol. [code] <? $content = <<<CONTENT <?xml version="1.0" encoding="UTF-8"?> <rss version="2.0"> <channel> <title>$chan_title</title> <link>$chan_link</link> …

Member Avatar for Froger93
0
121
Member Avatar for web3

My form worked, but when i put lastname(lname) field won't work [CODE]<?php include "connect.php"; echo "<h1>Register</h1>"; ?> <div style="color:#F00"> <?php date_default_timezone_set('Europe/Zagreb'); date_default_timezone_get(); ini_get('timezone.default'); getenv('TZ'); $num = 0; $submit = $_POST['submit']; $fname = $_POST['fname']; $lname = $_POST['lname']; $username = $_POST['username']; $email = $_POST['email']; $password = $_POST['password']; date_default_timezone_get(); $date = date("Y-m-d G:i:s"); …

Member Avatar for Will Gresham
0
146
Member Avatar for phper

Hi! Does anyone know of a good tutorial for installing Ruby with Php, Apache and MySQL. I have tried InstantRails but i want to install it without using the instant option! Thanks.

Member Avatar for tiger86
0
309
Member Avatar for verbob

I am writing a script to add and edit listings in a realestate site. For some reason I can't get the variables from the url to recognize properly. heres the "problem" part of the script: [CODE] <?php require_once "../dbconnect.php"; // include the database information // if the 'mode' is set …

Member Avatar for verbob
0
175
Member Avatar for garcon1986

I have 2 pages right now. One is list.php, the other one is detail.php. The list.php is a table generated by mysql data. i add a column called "detail" at the end of each row. Everytime i click "detail", it redirects to detail.php and display a form according to the …

Member Avatar for garcon1986
0
109
Member Avatar for DemonGal711

Alright, I'm working on my own signature rotator. At the moment the image only updates when the page is refreshed, which I'm fine with for now. However, is it possible to force the script to grab a new image after X minutes if the page hasn't already been reloaded? I'd …

Member Avatar for Airshow
0
137
Member Avatar for Noodles156

This code works fine if I replace the $s variable in the value being assigned to the $query variable with a valid site. The echo at the beginning of the foreach statement works correctly. Looking at the apache error log I see the following: [Mon Oct 26 16:16:36 2009] [error] …

Member Avatar for Noodles156
0
2K
Member Avatar for garcon1986

Now i extract data from mysql database, and echo them in a table. In the last column of each row, i made a link. It link to the corresponding page according to the value of first column in the row. Now i can't get the solution and have some errors. …

Member Avatar for garcon1986
0
204
Member Avatar for itsrahulk

hi all, i am not able to print the message which i taken in session variable $_SESSION['msg'] ="* Property details saved successfully" i am posting all the values on the same page and redirected the header to get all the updated values back. but when i use unset($_SESSION['msg']) after echoing …

Member Avatar for itsrahulk
0
173
Member Avatar for wayz1229

i want to sort qtitle by numbers. anyone can help me with tat.. i tried to modify the code below, but i couldn't find the solution. please help me.. [CODE]<?php $query1 = "SELECT * FROM table1"; $result1 = mysql_query($query1); $i=1; $num_row=mysql_num_rows(result1;) while ($row1 = mysql_fetch_array($result1)) { $qid = $row1['qid']; $qtitle …

Member Avatar for wayz1229
0
102
Member Avatar for garcon1986

Hello everyone, I've searched a lot of time today for a solution, but not succeed! I want to insert value from the radio button and checkbox into mysql database. Here is my code: insert.php [CODE] <div id="form"> <form method="post" action="process.php"> <h1>BESOIN </h1> <br><br> <label>Sujet:</label><input type="text" name="sujet" />&nbsp;&nbsp; <label>Date: </label><input type="text" …

Member Avatar for garcon1986
0
2K
Member Avatar for niche1

Please, what does "(!$var)" mean? I think it might mean "is $var null". Also, what's the PHP reference? Thanks.

Member Avatar for edwinhermann
0
115
Member Avatar for sha09

i am new in this thread..i like to know all of yours.. i am really need help to use chekbox with retrieved data from database..i dont know how...like inbox in our mail..

Member Avatar for network18
0
1K
Member Avatar for ukumar

Hi, I would like some search result to appear on each of my blog page (below my post article) based on certain pre-specified keywords. Say for example, I have a pre-specified keyword "term" for a particular post in my blog. Now when anyone load this post, I would like to …

Member Avatar for network18
0
53
Member Avatar for zhou1919

Hi, I got the syntax error in my following php code: unexpected T_STRING in /net/home/z6zhou/public_html/signup.php on line 1. Who can help it out? my php code is as follows: <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head><title>Publication DB</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta …

Member Avatar for zhou1919
-3
391
Member Avatar for lcyew

Hi. I am developing a system by using php. Problem I'm facing is that when the resolution of computer is changed, the interfaces of my system is effected. The resolution used while developing the system is 1440X900 while I just being told that resolution used for computers in the company …

Member Avatar for Will Gresham
0
78
Member Avatar for itsrahulk

hi all, i am creating a session variable on the property_detail.php page where after updating all the values i redirected the use to the same page with the value in the session to be printed on the same page as "Property details saved successfully". but the problem is when i …

Member Avatar for itsrahulk
0
104
Member Avatar for weeon

name database : db_shop table_user : uid_user, name_user table_shop : uid_user, date table_question :uid_user, date Help me.... if user wants to accessing to page question, script php will check formerly will what him buy or not yet in certain, has user answered what not yet in certain? if buy so …

Member Avatar for Atli
0
129
Member Avatar for cjay175

Hey, I was wondering how to obtain a hash value and pass it to php. URL: [CODE]http://www.mydomain.com/#id=110[/CODE] All I want to grab is just the "110". This is my javascript code: [CODE] <script> function getUrlVars() { var vars = [], hash; var hashes = window.location.href.slice(window.location.href.indexOf('#') + 1).split('&'); for(var i = …

Member Avatar for Airshow
0
2K
Member Avatar for masocha
Member Avatar for sethm

Recently I found a way to upload an image path into a MySQL db while uploading the actual image to the server. This works fine, except sometimes I don't have an image to upload with the story. So - my question: If I don't have an image how do I …

Member Avatar for Atli
0
244
Member Avatar for DemonGal711

Alright, I found this code online which basically solved my issues. [code]<?php header ('Content-type:image/gif'); include('GIFEncoder.class.php'); $text = "Hello World"; // Open the first source image and add the text. $image = imagecreatefrompng('source01.png'); $text_color = imagecolorallocate($image, 200, 200, 200); imagestring($image, 5, 5, 5, $text, $text_color); // Generate GIF from the $image …

0
123
Member Avatar for masocha
Member Avatar for LindaLou

Hi, I have 4 menus with a submit button posting to a results page with 4 recordsets getting correct data from data base and displaying it with an if, elseif, else clause. It works - well almost! If a row exists that has all the criteria a user has selected …

Member Avatar for LindaLou
0
79
Member Avatar for garcon1986

Hello Everyone. I want to make query with php combo box items. When the user click on the items of combo box, the following table will generate correspondent data. Now i can display data in one table, but i don't know how to use it with combo box. Does there …

Member Avatar for garcon1986
0
126
Member Avatar for LindaLou

Hi, I have created a statement using IF, ELSE IFs, ELSE, and it brings up PARSE ERROR UNEXPECTED T_ELSEIF in line... On checking for the solution to this error it often seems that a } has been included or missed, i´ve doubled checked my code and don´t think that this …

Member Avatar for LindaLou
0
118
Member Avatar for stuckinmud

Hi all ive had some syntax errors and have managed to correct 2 lines using advice on this forum but now it has came up with this error Parse error: syntax error, unexpected T_STRING in /home/nebbmhc1/public_html/send_form_email.php on line 18 ive corrected lines 15 and 16 and wonder how many more …

Member Avatar for stuckinmud
0
126
Member Avatar for nika201

PHP scripts can be run using the php-cgi.exe command line interface. However, a web server is a must if you want to have full functionality of the script. "Viewer for PHP" is an open source app that can be used to run scripts in an embedded browser control. It makes …

0
57

The End.