Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~10.8K People Reached
Favorite Tags
Member Avatar for cane23

i have an issue with the include function. i want to use the include function on a file that is in another directory. can anyone offer any assistance on how i go about doing this??

Member Avatar for as.bhanuprakash
0
85
Member Avatar for cane23

i am having some problems in a 3 column layout. the left column contain the links of the various PHP files that i want to execute, however i want them to be executed in the middle column. i am using dreamweaver and using the 3 column fixed template however it …

Member Avatar for karol33
0
61
Member Avatar for cane23

i have a piece of code that finds the sum of the credits of the courses that were chosen in the multiple drop down list. my code works fine when there is a value that was selected and i can easily assign the variable to the session variable. however i …

Member Avatar for liamfriel
0
81
Member Avatar for cane23

can anyone offer some help on this matter i have 5 session arrays and i want to merge all of them. however these session arrays are take from several multiple select list. while the code that i have done so far works fine, it has one small problem. in the …

Member Avatar for as.bhanuprakash
0
83
Member Avatar for cane23

hey i am trying to execute a query statement here is my code below [CODE] $sel="SELECT course_name,course_code FROM courses WHERE course_name='$diff'"; if ($result2=mysql_query($sel)) {echo"nice"; } else { echo "shit"; } while ($row2 = mysql_fetch_row($result2)) { echo"row[0] : row[1] <br>"; }[/CODE] please note that the $diff variable is an array while …

Member Avatar for jstrain@gpc.edu
0
93
Member Avatar for cane23

can anyone offer some help here i have a string that contains course codes. i separate the string into the individual course codes using the explode function. however i want to run a query on each of the course codes that was present in the string and store the result …

Member Avatar for pritaeas
0
114
Member Avatar for cane23

i have a multiple select drop down menu and i want to implode all the selections that were chosen. can any one offer some assistance on how to do this please. this is what i have so far [CODE] <?php function form() { $hostname = "localhost"; $username = "root"; $password …

Member Avatar for conord
0
85
Member Avatar for cane23

i am having a small problem. I am having some problem getting variables from the first form into another form to be processed. in other words i am processing the same data i got from the first form twice but i want a break between the two blocks that processes …

Member Avatar for cane23
0
110
Member Avatar for cane23

i have a multiple select drop down menu where i select some courses however my problem is that i was to store the selected courses in an array for further use. i have tried creating an array but is is coming up empty. Can someone help me out here here …

Member Avatar for rajabhaskar525
0
83
Member Avatar for cane23

if its not to much i just trouble can anyone offer any ideas as to how to investigate a string. i have 2 numbers first number=806000842 second number=05234578 as u can see the two numbers are of different length with the first being 9 characters and the second being 8 …

Member Avatar for OS_dev
0
85
Member Avatar for cane23

i am having some problems posting some values into a form when i click edit. i have checked to make sure that the variables contain the values that i want however they are not posting back to the form. here is my code below. [CODE]if ($_GET['mode'] == 'edit') { $c=$_GET['id']; …

Member Avatar for pbcomput
0
125
Member Avatar for studioceasar

Hi All, I can't understand why I am getting The following error message: check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 I've poured through my code and I can't find a solution to the issue. Any suggestions …

Member Avatar for studioceasar
0
103
Member Avatar for cane23

i having some serious problems in getting the information out of a query. i have put up sufficient flags to know if the database is containing any information and to determine which path the code is taking. however i just cant get the information out here is the code [CODE]if …

Member Avatar for Wraithmanilian
0
81
Member Avatar for cane23

for some reason i am getting an error with my query statements here is my code [CODE]if ($_GET['mode'] == 'edit') { $c=$_GET['coursecode']; echo"$c"; // editing an existing entity // check for value of id if (!$_GET['coursecode']) { echo "error: no coursecode specified, <a href=\"{$_SERVER['PHP_SELF']}\">click here to continue</a>"; exit; } if …

Member Avatar for saiprem
0
95
Member Avatar for cane23

i am having some problems using the get function. i aim using it in a href location. while the information is displayed in the url i am just having some problems extracting the required information. here is my code below this is the code for my href location [CODE]echo"<tr><td>$row[0]</td><td>$row[1]</td><td><a href='myform.php?,mode=edit;coursecode=$row[0]'>edit</a></td</tr>";[/CODE] …

Member Avatar for CFROG
0
252
Member Avatar for BluMess

Hey, I've come to a bit of a problem - I'm updating a website for users to upload their own games, animations ("toons") and artwork. The trouble is, I've made separate tables for each one, each with very similar structure What I want to do is show, say, the first …

Member Avatar for cane23
0
100
Member Avatar for cane23

i have a small problem deleting from the data base that i have created using a form. this is the error that i am getting on the webpage Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right …

Member Avatar for MrYrm
0
137
Member Avatar for cane23

i m having some trouble trying to find the sum of an queried variable however this variable is inside a loop and it is not summing it is just returning the value at that instant in time this is the code below [CODE]@$code= $_POST['coursecode_1']; if( is_array($code)) { //$sum= array(); while …

Member Avatar for cane23
0
89
Member Avatar for cane23

i want to store the result of an mysql_fetch_array function in an array for future use. here is my code [LIST=1] [*]$sql= "SELECT parameters FROM rules WHERE type='prerequisite' "; [*] //$result=mysql_query($sql); [*] if ($result=mysql_query($sql)) [*] echo '<p>nice</p>'; [*] else [*] echo 'good shit'; [*] [*]//$row = mysql_fetch_row($result) [*]// [*]while ( …

Member Avatar for cane23
0
8K
Member Avatar for cane23

i want some assistance on the usage of the switch case function. i have a form that allows the uses to select multiple courses, once these courses are selected and submit is pressed i want the courses to be validated via the information in the database eg 1. controls and …

Member Avatar for chrishea
0
92
Member Avatar for cane23

hi all i am using phpmyadmin and i have 10 tables in my database. my problem is that i have two tables(tbl1&2) and their respective primary keys i want to reference to the same primary key of another table (tbl3). however the primary key of tbl4 is also referenced to …

Member Avatar for kvprajapati
0
60
Member Avatar for cane23

its a simple piece of code but i seem to be having problems this is the code below [LIST=1] [*]$comp_tot="76"; [*] if ($credits = $comp_tot) [*] [*] //$sub=$credits_3; [*] $tot="76"; [*] $ans_1= $tot-$credits; [*] echo"<p>$ans_1</p>"; [*] echo "there"; [/LIST] this code is working however i dont want the condition to …

Member Avatar for vaultdweller123
0
66
Member Avatar for cane23

i have a form that uses the post function however i am having some troble getting information from the drop down menus. and also i am having some trouble doing some form validation. the code for both files is shown below. <html><title>Create a new Prequisite Rule </title> <body> <form action="insert_rule.php" …

Member Avatar for CJesusSaves
0
132
Member Avatar for cane23

i am trying to use the explode function to take a variable as the string under consideratiom but its not working. can some one help me on this one please?? thanks [code] <?php $hostname = "localhost"; $username = "root"; $password = "hayden"; $database = "ecng3020"; $con = mysql_connect("$hostname","$username","$password"); if (!$con) …

Member Avatar for nav33n
0
81
Member Avatar for cane23

i am trying to run this code but i am not getting anything from the mysql_fetch_assoc($result) it is just blank can anyone help me thanks in advance [CODE]<html> <body> <?php $host="localhost"; // Host name $username="root"; // Mysql username $password="hayden"; // Mysql password $db_name="ecng3020"; // Database name $tbl_name="students"; // Table name …

Member Avatar for vaultdweller123
0
119
Member Avatar for cane23

i am trying to create a login page so the staff will be directed to one place while the students will be directed to another. this code is still in the making hence no location function was included as yet. can any one help me with this code please [code] …

Member Avatar for cwarn23
0
97