39,393 Topics
![]() | |
hi!! me i have a problem in PHP/MYSL database i dont know how send/store a data and receiving that data from the database by use codes ,i tried to do it so many times but i didnt get it. | |
I'm developing a ecommerce solution in PHP. The ADMIN is stored on one DNA while the stores are hosted on their own unique domains. My problem is that I need the images that are uploaded on the admin domain be available to the client domains without hot linking from the … | |
1st page .html [code=html]window.opener.top.location.href="2nd page.php?vars=" + temp + "&varr=" +temp1; self.close();[/code] 2nd page.php [code=html]if(mysql_num_rows($result) > 0) { print "<script>"; print " window.opener.top.location.href='3rd page.php'"; print "</script>"; } else { print "<script>"; print " window.location='1st page.html'"; print "</script>"; }[/CODE] in this code i'm passing javascript variable to 2nd page.php.when i execute it's … | |
hi frens I hav windows server with XP os . I need to make a contact us form for a website for which i want to use PHP. Will it run in windows server having IIS or it requires unix os TNX | |
Hi All, I am new to PHP, I have tried to look for similar error but could not find anwers that helped me. I am getting the following error: Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in C:\ ... register.php on line 109 Here is my … | |
Hello I'm building a factory for my DAO's and want it to return the correct DAO based on the class of the ValueObject passed to the factory. Now, if this was java I would use something like this: [code=java] if (valueObject instanceof User) { return new UserDAO(); } else if … | |
Hi all i need to recieve comment on my page and i need the message to go to my mail address can any one help me how to do it? thanx | |
Hi All, I Have a PHP Searching Code it have some problem it only connet to database but does not show any result.......... PHP Code is :- Search.php [code=php]<HTML> <BODY> <FORM Action="/Search.php" Method="POST"> <div align="center"> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td bordercolor="#000000"> <p align="center"> <select name="metode" size="1"> <option value="name">Name</option> <option … | |
hi In my mail attachment i am able to recieve the attachment but the file size is 0kb. it is showing the below warnings please do tell the error in my code [QUOTE] home/wesite/public_html/profiles/resumes/153/ Warning: fopen(home/website/public_html/simple.txt) [function.fopen]: failed to open stream: No such file or directory in /home/website/public_html/mail_attachment.php on line … | |
I'm searching for a php script featuring real-time currency exchange rates. Does anyone know of a working script that [U]automatically [/U]updates 24/7? 1st preference is a scroller. 2nd preference is a chart like the one at bloomberg: [url]http://www.bloomberg.com/markets/currencies/fxc.html[/url] Any help or ideas would be much appreciated. | |
Hi, I'm interested in writing a PHP script that will allow a customer with a job number (ticket number) & a login password the ability to access their account within my database, and therefore have information on the status of their order. I'm only learning PHP, and any help or … | |
I had exported a table containing jpeg images in a ms access database to mysql using myodbc. The images were stored as mediumblob type in mysql. I now want to display the images stored in mysql as mediumblobs using php but am unable to do it. can anyone suggest the … | |
hello, i have aproblem in database, i dont know the code, how you can output my data from my database using php | |
Hi, I am very new to php still trying to find my way around it, i got this code which will pull everything off my database and display in one endless table across the page is there a way i can split it and display. [CODE=html]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML … | |
Hi all, I am using paypal for payment gate way integration .After successfull transaction i have to capture that transaction id.For sandbox account it was working fine.But for live transaction i am not getting that transaction id.Anybody can help me for doing this? With regards, Rajeev | |
Alright, I am currently working on a new project called Shaise (shaise.com) where I am working on redesigning the forums header. However, I will need to replace all of the forums links (ie. Board Index, Login, Register, and all of the other links that appear when signed in. If you … | |
I'm getting the following error on run Parse error: syntax error, unexpected T_VARIABLE in /www/99k.org/g/a/t/gatewayarcanum/htdocs/process.php on line 2 the code i'm using is [code=php]<? php $name = $_POST['name']; $email = $_POST['email']; $how_found = $_POST['how_found']; $comments = $_POST['comments']; mail("psidonwav@gmail.com", "Contact Form Submission", "Name: $name /n E-mail: $email /n How Found: $how_found … | |
Hi! I'AM A PROBLEM ON HOW TO UPDATE DATA IN THE DATABASE MYSQL CAN YOU GIVE A CODE PLSE? | |
When trying to resize photographs I am getting the following error on my test server. Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 11520 bytes) in C:\wamp\www\phototest\reqfiles\submit_photo.req.php on line 70 here is my code from line 67 to 74 [CODE]$src = ImageCreateFromJpeg($image); $dst = ImageCreate($tn_width,$tn_height); ImageCopyResized($dst, … | |
I was converting old asp files to php. But I'm stuck at this point. I'm looking for a triple combo listboxes where one has "book" the other "chapter" and the third "verse". The book is populated by a database table. Once book is selected then chapter is populated and then … | |
sometime I see pepole use @ with variables ex: @$cat=$_GET['cat']; is this something like pass by reference? can you direct me to a good tutorial in this matter Thank you | |
HI, I paid a web development company many thousands of dollars to develop a photo community site using PHP. After many months of delays the project was delivered, however much of the code is sloppy and nothing was commented. But that's not the problem I need help with today. This … | |
Hi! I'm kinda new in this field. However i badly need someone to overcome my dillema. I would like to create a simple way of free sms using email scripts. Lets say a mobile has its own email like [email]12345@mobilenetwork1.com[/email], and another [email]12345@mobilenetwork2.com[/email]! I want some one to be able … | |
If i have, for example, a marquee that displays time when i push a button,like this: [code=php] if($_POST['time']) echo "<marquee direction=right behavior=alternate scrolldelay=500 scrollamount=30>".date('d-m-Y').' GMT'.date('P').' '.date('H:i:s')."</marquee>"; [/code] ,it will display the time at the moment that i pushed the button. How could i make it to display the time continously? … | |
i have looked at many regex charts and tutorials but i still cant get preg_match_all do what i need it to do. i need to return this example: [INDENT]param1,$config{}[/INDENT] from this string [INDENT] $new_config{param1,$config{}} [/INDENT] note: none of the data in the string has anything to do with php the … | |
hello ive got a sign in page it works and sends data to database but soon as i had validation code for an email address using java, and then when i click submit it comes up with this error below for every textbox even though all the textboxes have data … | |
hello there..i just want to ask how to connect database written using MS Access to interfaces created using Dreamweaver... having headache since i need to build an online system and i don't know how to connect the database to the interface...thank you... | |
[code]=php<?php if(!$dbconnect = mysql_connect('localhost', 'root', '')) { echo "Connection failed to the host 'localhost'."; exit; } // if if (!mysql_select_db('test')) { echo "Cannot connect to database 'test'"; exit; } // if $table_id = 'student'; $query = "SELECT * FROM $table_id"; $dbresult = mysql_query($query, $dbconnect); // create a new XML document … | |
ok so i want to create a URL like this: [url]www.blah.com/section.php?=news[/url] except i only see how to do it the other way using mod_rewrite. So is there a way to do this using mod_rewrite? |
The End.