473,775 Members | 2,621 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP Forum

PHP web programming language - Ask questions about php scripting, databases, mysql, templates, PEAR, php functions, PHP-GTK, setup and installation, object oriented programming, classes, files, security, sessions, arrays and more.
2
1,760
thread by: rahia307 | last post Dec 18 '07 by: Markus
HI i have this url http://www.domain.com/index.php&TID=1. now i want to convert it into this format http://www.domain.com/index.php/TID/1 if any one have idea about it help me
4
7,156
thread by: MrL8Knight | last post Dec 18 '07 by: henryrao
Hello, I am trying to build a simple php form based shopping cart using a cookie with arrays. I need to use 1 cookie because each order will have over 20 items. With that said, I realize I need to serialize the data to put the array into the cookie. That part of my code is working just fine and displaying fine. The problem I’m having is when I...
5
3,471
thread by: Dave | last post Dec 18 '07 by: Dave
Hi, In awk I can do this: var1="x"; temp = sprintf("Variable 1: %s Variable 2: %%s", var1); # now the value of temp is "Variable 1: x Variable 2: %s" var2="y"; printf(temp,var2);
7
2,205
thread by: amishguy | last post Dec 18 '07 by: The Natural Philosopher
Hello, I am having an issue with a site I'm creating right now. I have had this issue before and I would like to figure out what the solution is instead of using workarounds as I have in the past. A little background: I have a php based site. The layout is a table based layout that was generated by slicing a large image. Most of the...
1
1,390
thread by: RAJ | last post Dec 18 '07 by: The Natural Philosopher
hi there, can anybody suggest me best sites for learning php with nested sql statements. i need sql query for searching from database with lots of options like using AND, OR etc even using multiple tables thanks, raj
2
1,550
thread by: pradeep | last post Dec 18 '07 by: Jerry Stuckle
Hello all, There is system. Users are logging , working and logout. Suppose, 5 users are working and Admin wants to find out no. of users working on system with their name ? How to find this ? Thanks in advance.
1
1,166
thread by: RAJ | last post Dec 18 '07 by: Jerry Stuckle
I have one php form where i will have around 5 text box, 2 dropdown and two select box. now i will post the values from this form may be all values or may be some of these values. i need to search and retrieve from different tables from same database with all these possible combination. this is actually a employee detail project where i...
3
8,123
thread by: Royan | last post Dec 18 '07 by: Captain Paralytic
Difference between quotation and apostrophe in PHP I wonder is there any difference between strings wrapped into quotation marks or into apostrophes and if so is there any situation when one is preferable to the other? -R.
1
2,689
thread by: cheesecaker | last post Dec 18 '07 by: vituko
Let's say I want to echo ".00002". PHP likes to echo "2.0E-5" instead. How would I have it print .00002 instead?
5
1,773
thread by: mukeshrasm | last post Dec 18 '07 by: mukeshrasm
Hi I am facing problem while displaying the images dynamically on the webpage from database. Actually I am saving the path of the Image in database and it is displaying it from there .but it is displaying one image per row in table. and I want to display two image per row in table. for retriving data from data i am using ------...
4
1,310
thread by: Kungen | last post Dec 18 '07 by: AnrDaemon
Hello! I'm a newbie. I have installed PHP 5.2.5, MySQL 5.0.45 and PHPMyAdmin 2.11.3 When trying to start MyAdmin it says: ERROR - cannot load MySQL extension. Please check your PHP configauration I've checked that the extensions are enabled in the PHP.ini file and that the path to them are correct.
1
1,068
Hi,
thread by: sarangbagul171187 | last post Dec 17 '07 by: stepterr
I m using HTML code in php file to make a table and checkboxes in each row of it.But after refreshing the page the initially checked boxes remains as it was.Means if first row is selected and deleted ,it gets deleted from database but on refreshing that page second row comes to first position and it is automatically checked which i dont...
7
1,859
thread by: Ming | last post Dec 17 '07 by: Ivan Marsh
For example, 100,000 records, each record has 10 fields and may belong to one or more categories. How shall I save those records in DB? I think it is a very typical concern for most online shopping mall. Option 1) A table with all 100,000 records, and 10 fields for each record Option 2)
2
1,073
thread by: vozzek | last post Dec 17 '07 by: mwasif
Hi everyone, I have a shopping cart array consisting of the following: $pd_id // Product ID $qty // Quantity $opta // Option A $optb // Option B $optc // Option C
2
1,312
thread by: Matthew Pulis | last post Dec 17 '07 by: ZeldorBlat
hi guys, well basically I am writing a simple routing script. It reads data from an XML and from a PostgreSQL. Some of the data is being randomized, and every now and then some data is echoed in the background. Is there a way to have the script, using XMLHTTPResponse (AJAX), to make this :
9
2,245
thread by: YoLed | last post Dec 17 '07 by: Jonas Werres
Hello. I would like to add PHP and MySQL yo me local Apache server. So, I've seen it exist simple packages like EasyPHP, WAMP and MOV'AMP, but the three seems to install Apache too and I'm afraid to loose my current Apache configuration (several vitual hosts configured). What can I do to preserve my Apache and install PHP + MySQL the...
5
1,167
thread by: jodleren | last post Dec 17 '07 by: Michael Fesser
This line while(!adminok && ($i>=0)) was missing a $-sign, should be while(!$adminok && ($i>=0)) Though, it did not give an error, and I do not have any adminok elsewhere... so how come, that it accepted this, and the programme failed instead...?
2
1,394
thread by: pradeep | last post Dec 17 '07 by: Jonas Werres
Hello All, I have Cake PHP based program. But it gives error ' Your database configuration file is not present ' How can i solve this error ? Thanks in advance.
14
1,588
thread by: Leah | last post Dec 17 '07 by: The Natural Philosopher
I am a student and are required to build a website that provide services (client-server). I need advice in choosing approach or to be exact the methodology that appropriate for such development. I am still new in design and analysis, so any extra informations are greatly appreciated. Right now, it is the initial phase, planning. So I need...
1
2,480
kirubagari
thread by: kirubagari | last post Dec 17 '07 by: Markus
i want to do function that after the user input thier email address.the system will auto generate their password and username.How i can come out in php?any one can give me some hide
2
1,013
AMT India
thread by: AMT India | last post Dec 17 '07 by: AMT India
In my application there is an email sending option.But the email is missing its images are missing,and the content of the mail is displayed in html tags. this is the example code $msg="<table width='800px' > <tr><td colspan='2'><img src='www.siteurl.com/img/head-lug-ora.jpg' /></a></td>Hi good...
0
998
thread by: William Colls | last post Dec 17 '07 by: William Colls
Of a very neat little user managemnt system that I found somewhere on the internet about a year ago. Provides for login, and when the user logins will redirect him/her to a specified page, which may be different for each user. Allows user to modify own profile. Requires that Administrator set up each account. Uses a mySQL database as a...
1
1,591
thread by: Dave | last post Dec 17 '07 by: Jerry Stuckle
Hello, I'm working on a new site and i'd like to have a navigation menu on it. Ideally i'm thinking: home first item second item etc obviously with different names. I could use echo to output each line, but i
16
1,500
thread by: GarryJones | last post Dec 17 '07 by: Jerry Stuckle
I am collecting information from users. In one box they can enter a name, as this can have a pre existing value read in from a MySql database I read in a value and suggest it in the box. The user can accept this name or enter their own. However, as much as I test I can not recreate an error some users are experiencing. It seems some...
3
1,351
thread by: Andrew Koptyaev | last post Dec 17 '07 by: Jerry Stuckle
I want to add some screenshoots to product detail page on my discount shareware site http://www.rebatesoft.com. Can anybody point me to PHP exampe source regarding adding images (I think 3 screenshots is enought) in admin page, conversion to small pictures and uploading to server. I know little bit PHP and I can add link to pictures in detail...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.