Forum: PHP Aug 4th, 2009 |
| Replies: 6 Views: 213 yes its good. but sometimes it gets crashed.
thats why i want some other good editor. |
Forum: PHP Aug 4th, 2009 |
| Replies: 6 Views: 213 which is the best php editor for linux ubunto?
i m using komodo right now but it is very slow.
pls suggest something? |
Forum: PHP Jun 16th, 2009 |
| Replies: 2 Views: 194 can anyone tell me difference between scripting type language and any other language?
thanks in advance |
Forum: PHP Jun 16th, 2009 |
| Replies: 3 Views: 343 here is the simple solution:
while ($row =mysql_query($result))
{
if(!empty($row['brandName'])
{
$carBrand =$row['brandName'];
}
if(!empty($row['model'])
{ |
Forum: PHP Jun 16th, 2009 |
| Replies: 16 Views: 675 sometimes it happens when your mysql query goes in infinite loop.
carefully check all the queries. |
Forum: PHP Jun 11th, 2009 |
| Replies: 17 Views: 1,331 yes there is no need of such code.
when you click on enter in textbox forms is automatically submitted. |
Forum: PHP Jun 11th, 2009 |
| Replies: 8 Views: 572 1.
<?php
2.
$query= mysql_query(" SELECT * FROM office
3.
WHERE officeID='" . $_GET['officeID'] . "'");
4.
5.
... |
Forum: PHP Jun 11th, 2009 |
| Replies: 22 Views: 961 tulipputih if your problem is solved then mark this forum as solved. |
Forum: PHP Jun 10th, 2009 |
| Replies: 14 Views: 848 thanks for the reply atli.
pls tell me which is better 3 tier archtecture and mvc? and how?
which structure you are using in your projects? |
Forum: PHP Jun 10th, 2009 |
| Replies: 22 Views: 961 it will print the data from the database.
i am sure. |
Forum: PHP Jun 10th, 2009 |
| Replies: 22 Views: 961 try this:
while ($row= mysql_fetch_array($result))
{
$lessonID = $row["lessonID"];
$subject = $row["subject"];
$learningArea= $row["learningArea"];
$noofstudent= $row["noofstudents"];... |
Forum: PHP Jun 10th, 2009 |
| Replies: 22 Views: 961 I think the problem is here
$myquery = "select * from lesson where subject like '%".$q."%' AND learningArea like '%".$r."%' AND ability like '%".$s."%'";
it should be:
$myquery = "select *... |
Forum: PHP Jun 9th, 2009 |
| Replies: 13 Views: 691 just install wamp server.
its a combination of apache,mysql,php.
very easy to install.
have fun. |
Forum: PHP Jun 9th, 2009 |
| Replies: 14 Views: 848 Basically i m using smarty in my projects which keeps presentation logic different from application logic. that is a 2 tier architecture.
Now in 3 tier architecture i need three layers. business,... |
Forum: PHP Jun 8th, 2009 |
| Replies: 14 Views: 848 that was just a simple example. i want to show u.
ok..
i want to apply above example using 3 tier architecture.
pls modify above code with 3 tier implementation.
nd pls tell me about each layer? |
Forum: PHP Jun 8th, 2009 |
| Replies: 9 Views: 398 this seems to very complex
here is the simple solution:
$sql="SELECT *
FROM user as a, resutls as b,excercises as c where a.usr_id= b.res_usr_id and b.res_exc_id=c.exc_id";
i hope it... |
Forum: PHP Jun 8th, 2009 |
| Replies: 14 Views: 848 lets take a simple example:
classperson.php
Class Person{
Protected $Name, $Age;
Public Function __Construct($Name, $Age){
$this->SetName($Name); |
Forum: PHP Jun 8th, 2009 |
| Replies: 14 Views: 848 thanks for the reply Atli.
actually i didnot understand your code at all.
it seems very complex to me.
can you provide me simple example? |
Forum: PHP Jun 6th, 2009 |
| Replies: 14 Views: 848 Can someone present me an example which implements the three tier architecture in PHP. Let's say I have a class student with the fields ID and Name. I want to enter the student ID and Name through a... |
Forum: PHP Jun 5th, 2009 |
| Replies: 3 Views: 308 if you are using text box.
then textbox has a property callled disabled
e.g:
<input type="text" name="email id="emailid disabled="disabled">
now we cant edit this textbox.
i hope it works.. |
Forum: PHP Jun 2nd, 2009 |
| Replies: 7 Views: 531 i think the problem is with this statement.
$result = mysql_query("SELECT cgpa.NAME, cgpa.STATUS, cgpa.RESULTS, cgpa.MATRIX FROM cgpa,cgpa1 WHERE cgpa1.NAME = '$thename' AND... |
Forum: PHP Jun 1st, 2009 |
| Replies: 15 Views: 789 |
Forum: PHP Jun 1st, 2009 |
| Replies: 4 Views: 452 you can achive this by using explode function
suppose you have info. in array like
$array[0]
now by using explode function:
now $exploded[0] will contain status=1
i hope this helps you. |
Forum: PHP Jun 1st, 2009 |
| Replies: 10 Views: 799 i have done lot of googleing bt didn't find anything.
ok if you people not want to help others. then whats the benfit of
daniweb? |
Forum: PHP May 30th, 2009 |
| Replies: 10 Views: 799 guys i know about 3 architecture.
i m using smarty in my projects to keep presentation logic different from application logic. but that is 2 tier-architecture.
now i want to do work on 3 tier... |
Forum: PHP May 29th, 2009 |
| Replies: 7 Views: 531 $theacacaname=mysql_query("SELECT NAME FROM cgpa WHERE NAME = 'mei yen'");
i think you are fetching the value from database.
you should write as:
... |
Forum: PHP May 29th, 2009 |
| Replies: 7 Views: 531 i think there is a semicolon problem
try this:
if it still does not work then you should try this query in phpmyadmin. |
Forum: PHP May 29th, 2009 |
| Replies: 7 Views: 531 you can't use
i think i will be like
but why you want to use mysql_num_rows() in title? |
Forum: PHP May 29th, 2009 |
| Replies: 10 Views: 799 can we achieve 3-tier architecture with out frameworks in php?
pls help. its interview question? |
Forum: PHP May 29th, 2009 |
| Replies: 6 Views: 496 hi rime.
you should instal joomla 1.5.
first disable all the default articles .
then go to the article manager and then create new article
don't forget to select section and category.
if u... |
Forum: PHP May 22nd, 2009 |
| Replies: 5 Views: 316 there are two ways through we can do paypal intergration
one is IPN(instance payment notification) and other is API.
u can find working classes of both above methods in
.
just go through... |
Forum: PHP May 22nd, 2009 |
| Replies: 5 Views: 316 which type of payment u want to use
is it paypal? |
Forum: PHP May 22nd, 2009 |
| Replies: 1 Views: 189 hi everyone.
please tell me difference between
mysql_connect & mysql_pconnect?
and which is better and how? |
Forum: PHP May 22nd, 2009 |
| Replies: 5 Views: 280 |
Forum: PHP May 21st, 2009 |
| Replies: 5 Views: 280 just tell me can we achieve 3-tier architecture with out frameworks in php? |
Forum: PHP May 21st, 2009 |
| Replies: 5 Views: 280 |
Forum: PHP May 21st, 2009 |
| Replies: 5 Views: 280 hi everyone.
i just want to know about 3 tier architecture.
can we achieve 3 tier architecture without frameworks.
if yes how?
give me a little example of it..
thanks in advance. |
Forum: PHP Apr 10th, 2009 |
| Replies: 13 Views: 555 come on man i have already told you i cant use sessions here bec i am
in admin panel here session is always same as there is only one user which is admin.
r u getting to the point or not? |
Forum: PHP Apr 10th, 2009 |
| Replies: 13 Views: 555 its still not working tux..
i hv tried it.
also i cant use sessions here bec. i am in admin panel.
and also i cant Use $_POST bec. here i am not posting any form.
i want a id which i can... |
Forum: PHP Apr 10th, 2009 |
| Replies: 13 Views: 555 no man. u r again wrong..
i m using smarty... so there is no need to define <?php between <a href>.................. |