39,393 Topics

Member Avatar for
Member Avatar for Squidge

Hi All, I am using pritaeas found here: http://www.daniweb.com/web-development/php/code/430455/configurable-table-class I am pulling in the data and my brain has taken a vacation. I am using $arr = $dsn->getRecord('memeber', array('user_id' => 2)); But cannot for the life of me pull the data out. I get duplication as well from the data: …

Member Avatar for pritaeas
0
150
Member Avatar for Xufyan

Hello, I am having trouble fetching content from a web-page, actually i wanted to fetch all the inner text from div name 'displaybody' but my code doesn't seems working, it is fetching all the content of the page and after 4 page successfully fetched i get an error, [CODE][B]Fatal error: …

Member Avatar for LastMitch
0
187
Member Avatar for sathishbabu.boopathy

In my app, im using a small form created dynamically by a jquery to upload files to server. This is working perfectly in FF and chrome. the issue is that im getting $_FILES as empty to my upload php. The file im trying to upload is a Zip file which …

Member Avatar for LastMitch
0
351
Member Avatar for OsaMasw

Hello guys today when i checked my script I noticed my sessions are not protected, when user log in his **username** stored in session variable lets call it $_SESSION['user'], and I use this session variable in many function ex. when uploading a file the name of user taken from session …

Member Avatar for LastMitch
0
207
Member Avatar for davy_yg

image_gallery <?php $i=0; while ($data = mysql_fetch_array($result)){ $result2=($i%2)?'#DFA09D':'white'; echo "<tr bgcolor='$result2'>"; echo '<td>'.$data['image'].'</td>'; echo '<td>'.$data['path'].'</td>'; echo '<td>'.<img src="photos/image".$i>.'</td>'; echo '<td><a href="admin.php?mode=delete&id='.$data['id'].'">Hapus</a> |<a href="input_image.php?id='.$data['id'].'">Edit</a></td>'; echo '</tr>'; $i++; } ?> What is this: Parse error: syntax error, unexpected '<' in C:\xampp\htdocs\Bread\administrator\image_gallery.php on line 153 line: 153 echo '<td>'.<img src="photos/image".$i>.'</td>';

Member Avatar for Squidge
0
103
Member Avatar for Angle90

Hello Again, Can you please tell how to create a serverside self extracting zip file. I really need this for my project. Thank you in advance and I am really grateful for all your helps.

Member Avatar for TonyG_cyprus
0
288
Member Avatar for Vijaysurya

i need help in following query, how to check this email alreadyexist in our db or not. var_dump($email); output: array(2) { [0]=> string(22) "xxxx7@gmail.com" [1]=> string(19) "yyyyy@gmail.com" } foreach($email as $em) { $sql = "SELECT * from sf_guard_user sf,personal pi where pi.user_id = sf.id and sf.email_address = '$em' "; $query …

Member Avatar for jkon
0
280
Member Avatar for LastMitch

Hi I'm not sure what to used to split numbers and letter from words. So far I try **preg_split()** function and also **mb_split()** function both gave me **No ending delimiter ^** There is **^** (**caret**). For example my data is from my database and it's not an array and it …

Member Avatar for LastMitch
1
525
Member Avatar for GlenRogers

Hi, I need help here. I have a for with multiple text inputs. input1 is link, input2 is description. This is repeated a number of time. Each link and description is one record, but I cant igure out how to add them to mysql as such. If I fill in …

Member Avatar for GlenRogers
0
327
Member Avatar for arigo32

Hi, am new in the forum. Please I need help concerning a hotel booking system am developing. The problem is when custumer wants to make room choice it can only allow 1 type of room when the available room information loads. If a customer wants to book 2 or more …

Member Avatar for Webville312
0
224
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way for a string ($string) to be remembered on a form submission? Example: <?php $f = ""; $tS = ""; if (isset($_POST['tSubmit1'])) { if (!empty($_POST['tString1'])) { $tS = $_POST['tString1']; $f = "f2"; } } if (isset($_POST['tSubmit2'])) { if (!empty($_POST['tString2'])) { if …

Member Avatar for Webville312
0
210
Member Avatar for EvolutionFallen

A client of mine wants to implement SSL on their site. They have a number of forms which communicate sensitive/personal information, and want to send the data over a secure channel. I've worked with sites that have SSL certificates already, but never actually implemented one myself. The site runs on …

Member Avatar for EvolutionFallen
0
392
Member Avatar for davy_yg

Hello, I wonder why when you try to when you try to update location (lokasi) to Product1 it always saved as Home ? input_berita_static.php <?php include('../includes/koneksi.php'); $id = isset($_POST['id']) ? $_POST['id'] : ''; $confirmation = isset($_POST['confirmation']) ? $_POST['confirmation'] : ''; $kategori = isset($_POST['kategori']) ? $_POST['kategori'] : ''; $news = isset($_POST['news']) …

Member Avatar for pzuurveen
0
153
Member Avatar for Kmhnz201

Hello, I'm trying to update a database using php. I have to add patient id in the format of 'p99' and if it reaches the highest number it should go to the next alphabet like 'q01'. I have this piece of code but it doesn't seem too be doing the …

Member Avatar for broj1
0
310
Member Avatar for games1124u

Hello i dont know how to echo from one table row ( table row name title ) id | id_publisher | **title** | price |......... so what i want is to echo title and how many games like **Exaple:** surrounded with ( ) is how many i have. Call of …

Member Avatar for pixelsoul
0
173
Member Avatar for shakayu

Hello friends :) I would like to get a help once again.. I need to make reports in php with Codeigniter then be able to print it.. Like *list of people who are hasnt yet settle payment* I know..its just a query...but how to turn that a report and give …

Member Avatar for broj1
0
182
Member Avatar for GlenRogers

I have an html form that has 10 text field for trhe user too enter dates into. When the user clicks the submit button each text field should be added as a new record to a mysql table. The way I have it now if only 2 are filled in, …

Member Avatar for GlenRogers
0
161
Member Avatar for deepak.fugo

Hi All, we have built web site in PHP, Mysql Database and Apache web server. Site is running fine on localhost(Window) but when we try to deploy it on our test environment (ubuntu 12.04.2 platform) .htaccess is not working. I am not getting any error like 500 Internal server error …

Member Avatar for cereal
0
346
Member Avatar for jLamp

Dear Friends, I wants to know something. Imaging there are two Text Boxes call, X & Y(Retrieving data from database). When user select one value in X, i wants to display a values of X in Y according to the database without loading page (using ajax) How to I do …

Member Avatar for jaycob15
0
102
Member Avatar for ivanichi

i want change one word from some of the same words with respect to the position of (the first second or third) example : $string = "He had had to have had it."; echo preg_replace('/had/', 'SSS', $string, 1); output : He SSS had to have had it. i want -->: …

Member Avatar for ivanichi
0
305
Member Avatar for davy_yg

How to create website when you click the product gallery will appears a special url for such product. The problem is the product is customizable.

Member Avatar for davy_yg
0
109
Member Avatar for yy886

This is kinda relate to my other question...but anyway long story short. I am looking into a way that I can insert a well structured paragraph into the mysql and then display it on the web later on. I have the textarea and the text can insert into the mysql …

Member Avatar for broj1
0
2K
Member Avatar for geewebid

my've got problem like this A PHP Error was encountered Severity: Warning Message: escapeshellarg has been disabled for security reasons Filename: libraries/Upload.php Line Number: 1066 I've tried looking for solutions and one of them by adding @ the library upload.php on a tag escapeshellarg @ escapeshellarg, problem solved but the …

Member Avatar for geewebid
0
348
Member Avatar for deepak.fugo

Hi All, How can we set a value to iframe textbox element either in JS/Jquery <head> <script type="text/javascript"> function load() { alert("Frame is loaded"); myframe.document.getElementById("user_email").value = "<?php echo $var ?>"; } </script> </head> <body> <iframe onload="load()" id="myframe" name="myframe" src="http://www.gigpayrr.com/signup" width="700px" height="600px"> <p>Your browser does not support iframes.</p> </iframe> </body>

Member Avatar for deepak.fugo
0
1K
Member Avatar for antwan1986

Hi everyone and thanks for reading! I use JavaScript to create sets of text boxes on the fly. I also have a hidden counter in a text box on the form which I also post to my PHP script. This hidden counter is how I tell PHP how many text …

Member Avatar for com00085
0
3K
Member Avatar for jackparsana

Hello guys, Neeed urgent help. I am working in wordpress. I need to merge commnets of two or more post in a single thread. Please do help. Thanks in advance. Jack

Member Avatar for LastMitch
0
70
Member Avatar for ankit.4aug

Please tell me if Amazon Payment Gateway Module code for Magento is available or not.Like Paypal Module code is available. i want to check its observer and model file etc.

Member Avatar for LastMitch
0
225
Member Avatar for abhi10kumar

I am sending email with attachments.. but I did not getting any extention in the email.. all the attachments having name **noname** without extention, if I attach mutiple files then the attachmment also have only one file named **noname** without extention too.. <?php if(isset($_POST['send'])) { include('db.php'); $strTo = $_POST["email"]; $strSubject …

Member Avatar for LastMitch
0
139
Member Avatar for er.durgeshkumar

hello friend i have two table studentlogin and seconed studentinfo i want that when student login i like to select rollno from student login table in student login there is four field sloginid, rollno, username and password now when rollno fetched succesfully from studentlogin table i like to fetch s_id …

Member Avatar for masterjiraya
0
355
Member Avatar for jethaya

what i am trying to do is permit the user to claim or reserve a spot with coord my table has 4 feilds id ,continent,coord,nom id is primary key what i am trying to do first i check if the coord already exist if they dont i update the database …

Member Avatar for jethaya
0
181

The End.