39,316 Topics

Member Avatar for
Member Avatar for keroppi89

ello.. i cannot display the video or audio that i already upload in database..why and how should i do??

Member Avatar for veedeoo
0
1K
Member Avatar for nguoixanh

Hello everyone, I'm newbie and I need some helpful for my problem: [CODE] class pages { var $total_pages = NULL; var $scroll_pages = NULL; ... function page_link (...) { if ($this -> total_pages <= $this -> scroll_pages) { ... } } } [/CODE] Sorry I don't understand the code above …

Member Avatar for almostbob
0
144
Member Avatar for limonzmn

I had created a php page but the server is so old that it doesnt support php. I want a page with a simple leftnav and I need to add a photogallery with thumbnails... anyone have any advice for me? Or maybe some good tools?

Member Avatar for veedeoo
0
73
Member Avatar for GreaseJunkie

Hi guys, Happy New Year! I'm trying to setup a voting site where the button under the contest entry just says "Vote For Me" and my form will collect the data from that button and store it into MySQL. I'm having trouble naming that image/vote button so the form will …

Member Avatar for phorce
0
139
Member Avatar for geneh23

Hey everyone! I have an issue with the my checkuser.php..which is my login check that redirects certain users to a certain page, due to if they logged in as an admin or a regular user..I have a test site on my local server that works fine when I log in …

Member Avatar for geneh23
0
216
Member Avatar for Mojtabarahimi

Hi guys I used the joomla cms for web development. Actually i install the roknewsrotator module and use it for Persian language that it decode with UTF-8. i don't know why the News rotators module want to show some news in UTF-8 language, at the end of the sentences it …

Member Avatar for diafol
0
594
Member Avatar for flashmanvc

In my web application I need to be able to allow the user to transfer files (word documents and pictures) from their computer to the server and I have been unable to google an answer. PHP, Apache and MySQL. The problem is mainly I am unsure how to compose the …

Member Avatar for flashmanvc
0
217
Member Avatar for MargateSteve

I am trying to create a soccer results matrix from an existing database (tables and current query are at the bottom of the post) and am not sure where to start with it. It is a bit hard to explain (unless you are a soccer fan where these results matrix's …

Member Avatar for MargateSteve
0
209
Member Avatar for lastgame2007

please take a look at my code, what i want to happen is this, 1st, i want to pass the ID of the selected student from the other page, which can be updated or removed in the process... which i can't , do it.. anyone can help me with this! …

Member Avatar for diafol
0
132
Member Avatar for erik216

As I don't know how many column for table So I only can write a stupid script when the value is not null. Then show the value Does anyone have a good idea for write a simple script to implement this request. [CODE]foreach ($pl_width_arr as $pl_width_arr[$pl]){ if ($pl_width_arr[$pl]['family_code'] == $family_code_eng) …

Member Avatar for diafol
0
133
Member Avatar for glut

Hey, I have a question on fwrite. I know that fwrite can write things to your server, for instance, but when I put try to write C:\foo.txt, will this actually save it to my server, or to the clients computer? If not, then is there any way that I can …

Member Avatar for diafol
0
114
Member Avatar for Virangya

hi, my $.post code returns a whole page i want to get only content inside a id from that . this is my code it alerts null. what's wrong with it..? [CODE] $(document).ready(function(){ var url_select_file = "index.php"; $.post(url_select_file, { component: "tinymce_details", action: "selecticondata" }, function(data){ //alert(data); alert($(data).find('#ContentPane').html()); } ); [/CODE]

Member Avatar for link_umer
0
1K
Member Avatar for Hendo

I'm trying to make a simple login page to grant access to my form pages. I don't want anything fancy, just a simple name and password match to grant access. What I have grants access no matter what is typed in, and I don't understand why. Any help would be …

Member Avatar for EnjoyYourMeal
0
243
Member Avatar for violaceous

I have a function (myError) that causes a message to pop up whenever you do anything... either, confirming your actions "Email has been deleted!" or telling you that something didn't work "You don't have enough money for that item!" Problem is, I'm trying to re-design my layout, and the error …

Member Avatar for violaceous
0
149
Member Avatar for champmanking

I am trying to code a comment system where I can leave comments on all pages. Every page has its own id. I would like a comment box where I can add and see other comments already posted. This is my code thus far: db table [CODE]`id` INT AUTO_INCREMENT, `page_id` …

Member Avatar for EvolutionFallen
0
262
Member Avatar for accra

[ICODE]Hi there, Am trying to filter results from my db, when i select a value i get no result and no error.I feel its my sql query, this is my code and form. Or if any one have a simple script that can do the same,i will be grateful, thanks. …

Member Avatar for accra
0
153
Member Avatar for Virangya

hi, i'm working on this new system which give the option for the user to choose which system method his/her system will work on, eg: file system or database system. when installing the system they can choose the option file or database, assume that user chosed db system, later on …

Member Avatar for diafol
0
204
Member Avatar for SandyT9

i dont know, is it the right place to post this thread..pardon me if it is not Actually an working on the research project on the matlab and done with all the coding with logics and its working fine, now at the final stage i need to generate the output …

Member Avatar for cereal
0
72
Member Avatar for Virangya

hi, when i insert date time into my database it insert server time not local time how can i change this? even i tried ; [CODE]$currntdate = date("F j, Y, g:i a");[/CODE] which didn't work either.. thanx in advance.

Member Avatar for Virangya
0
126
Member Avatar for dean8710

hey guys, does anybody has the sample of, how to insert smiley/icon in the message board (php or javascript) i have the simple one: [CODE]//character typed $typed_chars = array('X(', '8)', 'oO'); //to_be_replace $icon_set = array("<img src=\"../smiley/smiley 1/fire24.png\">", "<img src=\"../smiley/smiley 1/icon_cool24.png\">", "<img src=\"../smiley/smiley 1/startle24.png\">"); //convert $message = str_replace($typed_chars, $icon_set, $message);[/CODE] I …

Member Avatar for dean8710
0
153
Member Avatar for anthonyjpv

Hi! Im new to php web development. I am developing an online shopping system where theres an admin page that allows him to add, edit, delete category and products. to cut the story short, what I want to know is, is it safe to save the table for admin username …

Member Avatar for chrishea
0
149
Member Avatar for daniel36

in my code the for loop syntax is not rigt can any one tell me[CODE]for($i=0; $i<$count; i++) { if($i==0) { $txt.="product:Licence_key"; } $txt.=$product[$i]." :".$plicense_key[$i]; }[/CODE]

Member Avatar for EnjoyYourMeal
0
77
Member Avatar for Cidco71

[24-Dec-2011 04:05:07] PHP Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\inetpub\wwwroot\install\install.php on line 49 here is line's 48 thru 65 [CODE] 48 $content = "<?php \n". 49 " \n". 50 "/* Database Host Name */ \n". 51 "\$db_host = '" . $post_details['db_host'] . "'; \n". 52 " \n". 53 "/* …

Member Avatar for diafol
0
92
Member Avatar for daniel36

Is it possible to insert multiple values from text into multiple columns seprated by comma.for example i have a table products in which columns are product_name,product_description,lisencekey1, lisencekey2 ,..................and with entering the multiple lisencekeys(only) seprated by comma should be inserted in this fields.

Member Avatar for diafol
0
154
Member Avatar for AaronLLF

On a new site I'm making, sessions are not working. They were working previously, and stopped without a single change of the code. Once a login goes through the verification, it runs: [CODE]$_SESSION['uid'] = getIdFromEmail($email);[/CODE] getIdFromEmail is a function I built to get the user's ID from their email address. …

Member Avatar for simplypixie
0
255
Member Avatar for daniel36

can anybody tell me what format of date 1311048886 is? how we insert and select in database.

Member Avatar for simplypixie
0
74
Member Avatar for deyesborn

Please someone should help me before I faint. I have been working with this login script and am getting this error on a server: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/utimate/public_html/PhpPractice1/index.php on line 32. When I test it with wampserver, I will get this …

Member Avatar for accra
0
458
Member Avatar for kalaban

hello guys im new here so please be kind with me, please be patience cause Im new in PHP. now here's my problem I really miss-up my code. I want to create a form with 4 dropdownlist (diagnosis, cause, medicine, and treatment) this drop-downs are dynamic taking there items from …

Member Avatar for kalaban
1
496
Member Avatar for ferrari77

I've simplified it quite a bit but it's still not working. PHP: [CODE] <?php $a = array('data' => 'Hello'); echo json_encode($a); ?> [/CODE] Here's the JQuery Code: [CODE] function getCityAndState(data, location) { var jsonString = {"zipCode": data}; var outR = outputResults alert("JSON String:" + jsonString.zipCode); if (location === "living") { …

Member Avatar for Airshow
0
127
Member Avatar for geneh23

Hey everyone, I recently make a simple test site on my local server to login as an admin and redirect to an admin based page as well as to log in as a user for the regular user page..When I made the test site..it seems to work fine but when …

Member Avatar for geneh23
0
217

The End.