39,320 Topics

Member Avatar for
Member Avatar for joshisumitnet

Dear Friends, Please help me out to display a Collage page same link in [url]http://bestuff.com[/url] The images are generated in random size through CSS. I am confused how to display images like in varying size? Please help me out. I am on deadline. I thought lot but could not succeeded. …

Member Avatar for joshisumitnet
0
261
Member Avatar for vingan

Hi, I am pulling data from a text file onto a drop down. I am to calculate the amount of quantity with the price (that is pulled from the text file). How would I go about that?

0
70
Member Avatar for lili.edryana

Hello fellows. I need some help regarding my script. I have a simple php script contains form to insert [B]First Name[/B] and [B]Last Name[/B]. This works successfully. But my problem is when i try to display the posted data to ASP page, the ASP page doesnt come out. What should …

Member Avatar for lili.edryana
0
2K
Member Avatar for mbarandao

Good day all: I've been experiencing a great difficulty resolving a problem concerning replacing [CODE]<br/>[/CODE] to an actual newline inside a textarea box. Much of the problem has been because the data in the textarea is populated via a php script in this manner: [PHP] echo "formObj.servicedesc.value = '".toSafeString($inf["servicedesc"])."';\n"; [/PHP] …

Member Avatar for mbarandao
0
121
Member Avatar for markaman

I have 3 text fields named "month, day, and year" And 1 hidden field named "Date2" My goal is to have the 3 fields combine to enter as date in Mysql. I've tried this many different ways, the latest having the value of Date2 as [ICODE]<?php echo $year,'-', $month,'-', $day; …

Member Avatar for luespi
0
174
Member Avatar for itisnot_me
Member Avatar for itisnot_me
1
174
Member Avatar for zlloyd1

I have a very simple PHP script which doesn't work correctly for no reason at all, except that I am cursed:scared:!! This is my code and then I will give you the retarded error message I am getting!! [CODE]<html> <form action="get.php" method="GET"> <input type="text" name="myname"><br> <input type="submit" value="click here"> </form> …

Member Avatar for diafol
0
245
Member Avatar for nika201

Hey, anybody know if there is a DLL available for Image Magick that I can put in the /ext directory and use Image Magick without having to install the Image Magick software? Thanks.

Member Avatar for nika201
0
141
Member Avatar for lse123

cookies set by cfm may retrieved by php? if iframe have or not (other page)? In a cfm page may insert: <iframe src="country.php" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" width="120" height="14" style=" border:none"></iframe> where country.php: // to get ip I used $_COOKIE['countNumVisitor'] set by cfm, get by php, well seems default NULL …

0
55
Member Avatar for lse123

how detect that a visit to my site is done by a search engine and not by human? the referenceUrl (visitor come from) is always null if search engine auto visit or...? I know to get server params like ip, reURL, etc

Member Avatar for Will Gresham
0
81
Member Avatar for Russ_Kauk

Hi! This is my first post in this forum. Thanks in advance to anyone who can help with this! I hope this makes sense. I'm also relatively new to PHP, so I hope I have used terminology correctly in describing the problem. I am not sure how to accomplish what …

Member Avatar for Russ_Kauk
0
192
Member Avatar for BaSk

Ii have been working on a shopping cart, the way my cart works is that for each item in a users cart the data is stored in a database. So if the users has a hat and a glove there are 2 rows in my table, the rows are joined …

Member Avatar for whiteyoh
0
129
Member Avatar for happygeek

How do you create a mission-critical website providing exceptional performance yet at the same time being flexible, reliable and scalable? That's the question that Kyle Loudon, a software developer and manager of a user interface development group at Yahoo!, sets out to provide the answers to in his book: Developing …

Member Avatar for Devendra_WIPRO
0
489
Member Avatar for mtvaran

Hi guys, could you please check this code for me. basically displaying data from two table. i get error massage like... Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\dis_take.php on line 91 [CODE]<?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } …

Member Avatar for mtvaran
0
119
Member Avatar for alexia_net

Hi. I have created a form with 4 textboxes and one listbox. What I want to do is for every record which i select from the list to populate the boxes with information from a MySql database. I have managed to do this for one textbox, but i have a …

Member Avatar for alexia_net
0
114
Member Avatar for terrymold

Hi everyone I need a bit of help with a problem involving HTML, JavaScript and PHP which I'm hoping someone here can help me with. I have a working PHP script which uses a FORM section to get data input, which actions itself to do some PHP and JavaScript calculations …

Member Avatar for terrymold
0
141
Member Avatar for dinoboy

Hello folks I am trying to get a PHP variable to pass values to a sample javascript but nothing shows up if I tried to echo the result. I tried passing regular strings as arguments and those worked fine. It just doesn't seem to be working if I tried to …

Member Avatar for Dragonbaki
0
192
Member Avatar for gdsm

hello guys i hav db as to store firstname,lastname,email,addr,city. if i select any id i want that particular row and also at that same page i click next button next row want to preview. please help for this by send code as possible soon

Member Avatar for Dragonbaki
0
70
Member Avatar for puvi

Hi, Its been couple of month i started learning php. I am using xampp, php version 5.3.1, notepad++ to edit. I wanted to use a debugger, so downloaded xdebug5.3vc6 32bit version and DBGp plugin, did the changes as mentioned [URL="http://amiworks.co.in/talk/debugging-php-using-xdebug-and-notepad-part-i/"]here[/URL]. Problem is php is not recognising xdebug. when i run …

Member Avatar for puvi
0
146
Member Avatar for itisnot_me

i know i should know this but for the life of me i forgot it. what i want to do is within my loop. I want a single variable that has multiple info in it that can be separated by a , ex: loop one { $store = "fieldone='$fieldone'"; } …

Member Avatar for itisnot_me
0
87
Member Avatar for NutanGadakh

[CODE] $_SESSION["srch"] = trim($_GET["search"]); $var = $_SESSION["srch"]; $searchinfo = array(); //////Home $viewQuery1=mysql_query("select * from home_content where hc like \"%$var%\" ") or die(mysql_error()); if(mysql_num_rows($viewQuery1) > 0) { while($Res1 = mysql_fetch_array($viewQuery1)) { $searchinfo[0] .= '<a href="home.php?pk='.$Res1['parent_key'].'">'. substr($Res1['hc'],0, 25).'</a>'; }//while $num = mysql_num_rows($viewQuery1); }//if //////END Home //////HIGHLIGHTS $viewQuery2=mysql_query("select * from highlights where hl_c …

Member Avatar for NutanGadakh
0
83
Member Avatar for BaSk

I have a search where I want to be able to search a string of words. The search is going to be looking in 2 different table joined by a left outer join. The tables are "quotes" and "categories". <?php $sql="SELECT q.id, q.username, q.quote, q.by, q.voteup, q.votedown, q.servtime, c.label FROM …

Member Avatar for BaSk
0
117
Member Avatar for muralibobby2015

hello... in my site i want to do search images from google and put a link to each image "upload this image". when i click this link automatically upload this image in to my site. i searched a lot after i found this script. but how to add link and …

Member Avatar for Jamesapoe
0
101
Member Avatar for zlloyd1

I have a problem that I cannot for the life of me find a solution to and since I have received assistance on this forum before I thought I would give it a try here again. I posted this question earlier but I did not have time to finish it …

Member Avatar for sudeepjd
0
163
Member Avatar for lit108

I am trying to display the number of rows I have in my database, but instead of the number being displayed on my page I just get the word 'array' My code is below [CODE] $productCountSql = "SELECT COUNT(*) FROM products WHERE `user_id` = '" . $_SESSION['user_id'] . "'"; $productCountResult …

Member Avatar for lit108
0
92
Member Avatar for shoucate

I bought the book "PHP 5/mySQL Programming for the Absolute Beginner." So far I have been pleased with the book, but am stuck on a lesson and can't get past it, because the code given is either not correct(I did find an error in another lesson) or my webserver won't …

Member Avatar for shoucate
0
104
Member Avatar for lit108

I have an update statement which should update a product using information the user has submitted from a form The error being that nothing gets updated, the sql code does nothing, and changes nothing in the database Can anyone see an error in the code? [CODE] $user_id = ($_SESSION['user_id']); $product_id …

Member Avatar for lit108
0
97
Member Avatar for feoperro

Hi, Say for example I have a page with 100 includes. How would I reload just one of them? Say I ran an ajax script that did certain tasks on the server side, but I didn't want to display the information by setting it in the ajax script - Instead …

Member Avatar for diafol
0
4K
Member Avatar for GrahamLawton

I'm sure this is stupidly simple, but I havent been able to figure it out with lots of Google searching and pouring through tutorials. I'm building a simple computer trade-in value calculator PHP app. Using a form to select the type of computer and the various specs, I need it …

Member Avatar for diafol
0
154
Member Avatar for tcollins412

I am trying to write a script that you input a phone number, and it outputs the address and name the number is listed under. How do i do this? Please help me. I will be very grateful.

Member Avatar for Kieran Y5
0
171

The End.