Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
87% Quality Score
Upvotes Received
7
Posts with Upvotes
7
Upvoting Members
7
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
4 Commented Posts
4 Endorsements
Ranked #402
Ranked #779
~18.2K People Reached
About Me

Check out my blog about PHP, HTML and CSS: http://blog.pepa.info/

Favorite Forums
Favorite Tags
Member Avatar for jeconje

Can anyone help me on how to store checkbox values in my database? I have a site which is a student registration form and I need to store his/her interest/s in my database. Interest/s are my checkboxes which contains sports, music, entertainment and adventure. Please help me! Thanks!

Member Avatar for jeconje
0
250
Member Avatar for soapyillusion

Hello all, Im trying to do this tutorial on cakePHP website for 1.3 It asks me to use the cake bake function to automically create models based on the tables I made. (using .cake bake all) The bake functionality it self works great, but it presents one problem. cakePHP creates …

Member Avatar for petr.pavel
0
86
Member Avatar for zack_falcon

Okay, so I'm doing an e-commerce website for my school project. Basic run down of the cycle is that the user logs in, views items, adds the items that he likes to his shopping cart, and checks out the items at the shopping cart. Now, for the the add to …

Member Avatar for zack_falcon
0
94
Member Avatar for xxreenaxx1

I am stuck on inserting the data into mysql via php. Its a foreach method and I am just stuck [CODE=php]include '../Database/take_an_exam.php'; $intNum = 1; $intnumber = 1; while( $info = mysql_fetch_array( $sqll )){ echo "<input type='hidden' name=\"Que_ID\" value=\"{$info['Que_ID']}\" /> "; echo " $intNum, {$info['Que_Question']} <br />\n"; $intNum++; for ($i …

Member Avatar for petr.pavel
0
3K
Member Avatar for jacob21

Hi, I am uploading a file(text,doc) in php.its working fine. I want to send this uploaded file as attached file to admin.my mail function is working fine.but i don,t know how to attach that uploaded file. need help. Thanks

Member Avatar for makman99
0
118
Member Avatar for andrewliu

Hello, I was thinking what would be a best way to create another column if a list is too long? Say I have a <ul> tag and doing a while loop output <li> tags. Would it be good to just use like a while loop and set the condition to …

Member Avatar for petr.pavel
0
204
Member Avatar for AntiQuark

I am trying to create a regular expression that can parse both variables ($src and $src1) and get the result of Prop, Nam and Tra. (Ignoring any information after). [ICODE] <?php $src = "{{Data#Prop=11a|Nam=33a|Tra=46b}}"; $src1 = "{{Data#Prop=11a|Nam=33a|Tra=46b|extra=384v}}"; preg_match_all('/\{\{Data#Prop\=([a-z 0-9]*)\|Nam\=([a-z 0-9]*)\|Tra=([a-z 0-9]*)????\}\}/Umis', $src, $st); ?>[/ICODE] For both $src and $src1 the …

Member Avatar for petr.pavel
0
108
Member Avatar for lit108

I have a script which parses xml feeds, the url's to the feeds that are being parsed are in a table on my database. Below is the query for storing the url's in an array [CODE] $getUrls = "SELECT * FROM sscape_blogroll"; $result = mysql_query($getUrls); $urls = array(); while($row = …

Member Avatar for petr.pavel
0
94
Member Avatar for vijiglad

hi, please help.. I need php code to upload file from one FTP to another FTP.. thanks/regards vijay

Member Avatar for petr.pavel
0
79
Member Avatar for xxreenaxx1

I am stuck on inserting the data into mysql via php. Its a foreach method and I am just stuck [CODE=php]include '../Database/take_an_exam.php'; $intNum = 1; $intnumber = 1; while( $info = mysql_fetch_array( $sqll )){ echo "<input type='hidden' name=\"Que_ID\" value=\"{$info['Que_ID']}\" /> "; echo " $intNum, {$info['Que_Question']} <br />\n"; $intNum++; for ($i …

Member Avatar for petr.pavel
0
137
Member Avatar for jacob.irwin

Earlier today I created simple database (user and login fields), login, and registration PHPs. Now I need help going about the following enhancement: In a nutshell: I am trying to create a registration form like facebook's with php code (and link it a mysql database)... 1.) My updated registration.php has …

Member Avatar for petr.pavel
-2
157
Member Avatar for anirban1087

Hi, I am working on a form which is as follows - +---------------+----------------+--------------+-----------------+---------------+ |Item_Code |Item_Name |Quantity |Rate |Amount | |[ COMBO BOX ] |[ COMBO BOX ] |[ USER INPUT ]|[ Auto Fill after| [ CALCULATED ]| |Generate Field2|Generate Field 1| |selecting f1/f2 | | +---------------+----------------+--------------+-----------------+---------------+ The user can either …

Member Avatar for petr.pavel
0
81
Member Avatar for mexabet

I'm currently developing a domain whois lookup script in PHP. I want it to display a snapshot of the homepage of the searched website. Moreover, I would like to get this script to display Google PageRank. Please, does anyone know how to incorporate these features into my script? I would …

Member Avatar for sarajohnmich
0
143
Member Avatar for ryy705

Hello, I call the imagettfbbox function like so `imagettfbbox($font_size, 0, 'monofont.ttf', $code)` but its generating the following error: 'imagettfbbox() [function.imagettfbbox]: Could not find/open font' monofont.ttf is in the same folder. And the code executes fine on the server. It just won't work on my computer. This leads me to believe …

Member Avatar for mcscreech
0
1K
Member Avatar for maydhyam

Hello, Quick question...For the email code in the PHP script to work, do I have to make any server settings? or make any accomodation for the type of server it is being run on? If so, then please guide me... The application is located on a Linux server.

Member Avatar for jprahst32
0
147
Member Avatar for Punkis448

Hi all, I have a problem with my php and mysql project. I use an auctions software, named phpauction for my project. I import into my database with utf8 encodingm and I can see the greek letters inside the fields. The problem is that when i go to the site …

Member Avatar for Punkis448
0
1K
Member Avatar for bear24

Hi all, I am currently doing on this project and i am struck at this section - which is deleting multiple rows from mysql with checkbox. The code i am using is [CODE]<?php $host="localhost"; // Host name $username="root"; // Mysql username $password="root"; // Mysql password $db_name="advert"; // Database name $tbl_name="test_mysql"; …

Member Avatar for bear24
0
127
Member Avatar for namratashukla

i want to design a database for cricket game where players will be selecting their players and while live cricket is goin on i want all user data base to get updated when the specefic player in his team hits.so i just want to know how to do this updation …

Member Avatar for nikesh.yadav
0
106
Member Avatar for welbyobeng

I have two file one called show.php and one is show.tpl. On show.php it has this code //----------------------------------------- // Fetch Media //----------------------------------------- $db->query("SELECT files.*, categories.*, users.id, users.username FROM categories, files LEFT JOIN users ON files.mid=users.id WHERE $search_addon files.category_id=categories.category_id AND files.type != 'plug' AND $v $ss ORDER BY files.featured DESC, files.$sort …

Member Avatar for petr.pavel
0
129
Member Avatar for Venom Rush

Hi all I'm trying to get a jquery progress bar working. What I'd like to know is if there is a specific command I need to include in my php or something I need to add to my php.ini file in order to report back to the progress bar. The …

Member Avatar for Venom Rush
0
140
Member Avatar for asyieen

actually, i'm a newbie in php...i'd like to ask you guys.....how to display back all the data from the database for these coding....here's the coding.... [code=php]($_POST ['action'] == 'pointofcontact'){ $projectid = $_POST['projectid']; $poc = ''; //echo "Pastikan pilihan anda betul!!<br><br>"; for ($i=1; $i <= 3; $i++){ $poc = 'poc' . …

Member Avatar for petr.pavel
0
101
Member Avatar for lukus89

Hi All, i'm new here but hoping someone can give me some much needed help! :) I'm new to PHP Completely, the script i currently use to pull pages for this website is something i borrowed from a freind. I Kinda understand this one script, but the rest is unknown …

Member Avatar for langsor
0
138
Member Avatar for pabz_sarquilla

Hi - Can someone please help me? I have a html table generated by php mysql and have a header to download it to excel. My problem is, I have this cell/table data that displays .10 in html and when I exported it in excel it displays as 0.1. The …

Member Avatar for pabz_sarquilla
0
2K
Member Avatar for god_1896

hi all; i have a problem on my code, it does not display the city after I click the selected city. intead i got an error. please check the line of my code. this code works fine. [table]echo '<td><a href="index.php?menu=hotel&amp;select='.$value->id.'">'.str_replace("&","&amp;",$value->name).'</a></td>';[/table] but this part of code here is the the problem. …

Member Avatar for petr.pavel
0
114
Member Avatar for sureshrajagopal

Is it possible to drag and drop file and folders like windows application using php

Member Avatar for petr.pavel
0
40
Member Avatar for god_1896

hi all; what is wrong with in this code, please correct it thanks [code] <?php $value=""; $city=""; echo $result=city::getDisplayName($value->id==$city); ?>[/code]

Member Avatar for petr.pavel
0
89
Member Avatar for khanbaba

Hi Can anyone please help me sort this problem out I create store procedure in mysql and I want to call this in php. The store procedure is executing ok in mysql but when I call this into php I get fatal error: call to a member function prepare() on …

Member Avatar for petr.pavel
0
114
Member Avatar for kwesiaryee

Hi there, I desperately need help with this. I need to develop a code to upload an image to mysql database. The upload have to be done with a foreign key attached to the upload. eg.(image_id, image(blob), fileType, date_entered and your_id(foreign key). please can any one help me with this, …

Member Avatar for petr.pavel
0
99
Member Avatar for petr.pavel

Hi there, I have read a few articles about WordPress plug-ins and themes but I can't figure out how to create a completely new page that uses theme. Let's say that my blog is set up to display post detail with the following url: [url]http://myblog.com/2008/06/29/this-is-title[/url] I want the comments listing …

0
51
Member Avatar for helraizer

Hey folks, I have made an image-based shoutbox and now users can view older and newer message on the shoutbox depending on the $_GET['page'] - pagination - that works. However, since it's image based and can be linked in forums etc. on the Internet I only want it to save …

Member Avatar for helraizer
0
94