39,316 Topics

Member Avatar for
Member Avatar for anthonyjpv

Hi! Im changing my database engine from MyISAM to InnoDB its because I learned online that if I were to use FK's that its more likely that I have to use InnoDB my question is: if I have a one-to-many relationship tables: ie. one PK in table 1 can have: …

Member Avatar for baig772
0
75
Member Avatar for simirnov

Hi all, I do not know PHP at expert level. I have an admin panel which has index file coded in OOP which does not open the admin_home.php. When i give admin username and password to login, it logs in and takes me no where and shows the same log …

Member Avatar for baig772
0
62
Member Avatar for mohamedasif18

Hi all, I hav a code that takes my table rows and displays as checkboxes in a registration form, When the form submits user checked values will be saved separated by comma's(,) in one column . In future the user need to edit his details means how to show that …

Member Avatar for mohamedasif18
0
1K
Member Avatar for vaultdweller123

Hey guys anyone here know how to set-up virtual host on nginx? ive tried the manuals but doesn't work for me

Member Avatar for vaultdweller123
0
437
Member Avatar for adityamadhira

Hi I am retrieving values from database for edit profile... I have one query ..... i.e. Based on department Id in database i am showing selected value in drop down box.... but while inserting how to insert department id. $data = @mysql_query("select * from Department"); $array = array(); while ($row …

Member Avatar for vaultdweller123
0
158
Member Avatar for Trizocy

Greetings everyone, im new here so i hope anyone could help me with this: I have bought a script that are encoded is something that i cant change or read, and i have ask the owner how to put a {user} at the end of every hyperlink so are going …

Member Avatar for jkon
0
144
Member Avatar for njenge
Member Avatar for accra

Am trying to validate these variables with an if statement,but it not working,any help will do. [CODE] if($navtype == "xxxx") { $com_name = $_POST['com_name']; $loc = $_POST['loc']; $name_mech = $_POST['name_mech']; $vtype = $_POST['vtype']; $s_veration = $_POST['s_veration']; $remnder_ver = $_POST['remnder_ver']; $vreg = $_POST['vreg']; $last_startdate = $_POST['dy']."-".$_POST['dm']."-".$_POST['dd']; $mileage = $_POST['mileage']; $current_mileage = …

Member Avatar for simplypixie
0
113
Member Avatar for Martin C++

Question in title. I need it for my PHP site to know which theme is active and I dont want to use database for it. I think it should be possible, cause wordpress doesnt have this stored in database either (I think).

Member Avatar for NinjaMediaD
0
70
Member Avatar for Killuminati11

Hello! i am looking for coders to help with making a online mafia game, i myself cannot do it yet but am trying to learn, and have realized how much money can be made once you get active players!!! i am willing to put a lot of time into this …

Member Avatar for Killuminati11
0
75
Member Avatar for tokick4

Hello, First let me start of by saying that I am new to javascript and ajax, but I thing I need them to accomplish what I am trying to do and here it is. I have there search forms, 1 search owner, 2 search contractor, 3 search properity. Then I …

Member Avatar for jstfsklh211
0
205
Member Avatar for loudube

I have the code shown below that nicely fills a Combobox but I have no idea how to have it on a form so that the user can select an item and the resulting $_POST would be availabe to another page the same way it would be if the Combobox …

Member Avatar for diafol
0
86
Member Avatar for Webville312

Hello, all. I am doing a project, which supports users such as Administrators, teachers and students. Since I will not always be available when they are registering, I want a user to create for themselves an account. However, the challenge is that, I do not want a user to register …

Member Avatar for Webville312
0
155
Member Avatar for Artix123

Hi I am working on web for some group, but i have problem my code is [ICODE]<?php session_start(); $username = $_POST['username']; $password = $_POST['password']; if ($username&&$password) { $connect = mysql_connect("http://mysql.ic.cz/phpmyadmin/","USERNAME","PASSWORD") or die("Nemůžu se pÅ™ipojit"); mysql_select_db("vy_promm") or die("Nemůžu najít databázi"); $query = mysql_query("SELECT * FROM uživatelé WHERE username='$username'"); $numrows = mysql_num_rows($query); …

Member Avatar for diafol
0
101
Member Avatar for nzaman
Member Avatar for Arjun_Sarankulu

I have html page(Main_Frame.html) which contain two frames. 1)abc.php 2)xyz.php How can i auto refresh abc.php without refreshing the whole.

Member Avatar for diafol
0
89
Member Avatar for sujan.dasmahapa

I want to create a button on a php pafe like a form now after pressing this button i should load an image. Now the I have done this. when the image is appearing it's on the other page than where the button was. I want to have the button …

Member Avatar for pritaeas
0
205
Member Avatar for lifetalk

Hey guys... Needed some help in PHP .. Basically.. say.. I have 2 or more input fields and one text area. Now, I want some sort of a php script that would use POST to extract submitted data from the inputfield1, inputfield2, and text-area. The textarea is going to have …

Member Avatar for baig772
0
187
Member Avatar for cherrya

Anyone can help me how to get data from one page to other page? here code : [CODE] <form action="" method="post"> <input type="hidden" name="id" value="<?php echo $id; ?>"/> <div> <p><strong>ID:</strong> <?php echo $id; ?></p> <strong>Nik: </strong><font class="important">*</font><input type="text" name="nik" value="<?php echo $nik; ?>" /><br/><br/> <strong>Name: </strong><font class="important">*</font><input type="text" name="firstname" value="<?php …

Member Avatar for baig772
0
585
Member Avatar for anthonyjpv

Hi! I need to know if theres a function that is simmilar to mysql_insert_id function where it gets the last inserted id but the thing is my id is not auto increment i tried doing the select statement but not working my scenario is: i am updating a record from …

Member Avatar for pritaeas
0
86
Member Avatar for dancks

I was given this assignment: Create an html form. Include at least two text boxes, at least one of which must be numeric, a set of at least three radio buttons, a submit button and a reset button. Upload to your account. Make sure the permissions are correct. Name it …

Member Avatar for baig772
0
354
Member Avatar for kinuthias

Somebody please help me come up with a code that helps a motorist troubleshoot a problem in his car.A non mobile application will also be a good one.

Member Avatar for diafol
0
39
Member Avatar for baruchM

I have a directory named action at the same level as my basic script. I want to include a file called Upload which is in the action directory in my script. I keep getting errors saying the script can't find my file, but my script looks identical to the book. …

Member Avatar for vaultdweller123
0
172
Member Avatar for showman13

Good Afternoon, I'm struggling with something that should be simple (where I have most trouble - simple things) Basically what I'm trying to do is when someone places an order on hold, I want to leave it on hold indefinitely unless someone else wants to place the same items on …

Member Avatar for showman13
0
240
Member Avatar for doctorphp

Hi, I am having a problem with a Facebook app. I am following the Facebook Developer tutorial and am using the following code. [url]http://developers.facebook.com/docs/appsonfacebook/tutorial/[/url] [code]<?php $app_id = "MY_APP_ID"; $canvas_page = "MY_APP_CANVASURL"; $auth_url = "http://www.facebook.com/dialog/oauth?cl… . $app_id . "&scope=email, user_about_me, publish_stream, publish_actions, manage_notifications&redirect_uri=" . urlencode($canvas_page); $signed_request = $_REQUEST["signed_request"]; list($encoded_sig, $payload) = …

Member Avatar for doctorphp
0
124
Member Avatar for Danny159

Hey... Can anyone help me fix this error please... [CODE]Parse error: syntax error, unexpected T_STRING in /mailer.php(45) : eval()'d code on line 1[/CODE] Line 45 is [CODE]eval("\$body = \"$body\";");[/CODE] But im not sure how to fix it :/ Dan

Member Avatar for Danny159
0
78
Member Avatar for welkam

Hello i am quite new to jQuery. I am trying to insert search results in to page without reloading it, but unsuccessful. Here is the code i am using: [CODE] $(document).ready(function(){ $("a").click(function(event){ $.get( "search.php", { query: "intel" }, function(data) { $('#content').html(data); } ); }); });[/CODE] i am using example form …

Member Avatar for mi.mac.rules
0
160
Member Avatar for Stickie

[CODE=php] <?php include('variables/variables.php'); ?> <div id="header"> <?php include ('includes/db-zelf.php'); // define your database connection credentials mysql_connect( $db_host, $db_user, $db_password ) or die(mysql_error()); mysql_select_db( $db_database ) or die(mysql_error()); /* KUBAGES */ $Luchtvr = mysql_query("SELECT * FROM Luchtvrachtpalletten WHERE ID='1'") or die(mysql_error()); while($Luchtvra = mysql_fetch_array( $Luchtvr )) { $kuubid = $Luchtvra['ID']; $kuubvol …

Member Avatar for Stickie
0
158
Member Avatar for danielagaba

Hi, I have a table populated by an sql query joining various tables. in every row i have a dropdown populated by another sql query and button (which for testing sakes) echos the value of the dropdown selected. My problem is for the first row of my table, whatever dropdown …

Member Avatar for danielagaba
0
171
Member Avatar for sankar113

The End.